Jump to content

using onblur,onchange,onkeypress


Recommended Posts

Can onblur or onchange, and onkeypress be used at the time on the same html tag to call a one javascript function

 

" <select id=\"select_id$info_id"."_$detailed_id"."_$i"."\" style=\"display:none\"  onkeypress=\"Test(event,'txt$info_id"."_$detailed_id"."_$next','select_id$info_id"."_$detailed_id"."_$i','txt$info_id"."_$detailed_id"."_$previous')\"

onchange=\"showNext(this.value,'txt$info_id"."_$detailed_id"."_$next','select_id$info_id"."_$detailed_id"."_$i','txt$info_id"."_$detailed_id"."_$previous')\"

name=\"select_id$info_id"."_$detailed_id"."_$i\" 

<option value=\"0\">-- Select one --</option>";

----

<option value =\"9\"> value</option>

</select>

}

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/156910-using-onbluronchangeonkeypress/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.