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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -