TextBox onblur event not getting called when using MasterPage in jQuery

Last Reply 6 months ago By dharmendr

Posted 6 months ago

hello,

 

i just used this code and i notice webmethod is not firing in textbox blur

https://www.aspforums.net/Threads/301101/Bind-Label-based-on-TextBox-value-using-jQuery-AJAX-in-ASPNet/Replies/3#Replies

 

please check

Posted 6 months ago

Hi nauna,

Are you using master page ?

If yes then replace

$('#txtSearch').on('blur', function () {

 with

$('[id*=txtSearch]').on('blur', function () {