Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Влад Якуб
Added: Oct 2, 2019 4:00 PM
Modified: Nov 7, 2019 8:53 AM
Views: 3
Tags: no tags
  1. 'js' => '
  2.             if ($("pr-question-main input").length == 1) {
  3.                 var name = $(" pr-question-main input").attr("name");
  4.                 $(" pr-question-main input").attr("name", name.substring(0, name.length - 1) + "1")
  5.                 $(" pr-question-main input").val("1");
  6.                 $("#next").trigger("click");
  7.             }
  8.                 ',
  9.  
  10.