performance - How to use the variable that I create in jquery -


var appthour = $('select[name="ctl00$m$g_20abfee5_53b6_4db3_b243_ae9b79cab374$ctl00$ctl05$ctl09$ctl00$ctl00$ctl04$ctl00$ctl00$datetimefield$datetimefielddatehours"]').val(); var endhour = $('select[name="ctl00$m$g_20abfee5_53b6_4db3_b243_ae9b79cab374$ctl00$ctl05$ctl11$ctl00$ctl00$ctl04$ctl00$ctl00$datetimefield$datetimefielddatehours"]').val();   $('appthour').blur(function() {     $('endhour').val($(this).val()); }); 

this doesn't seem work. tried , still doesn't work.

$appthour.blur(function() {     $endhour.val($(this).val()); }); 

thanks

actually appthour , endhour elements. do

appthour.blur(function() { endhour.val($(this).val()); } 

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -