TextBox onblur event not getting called when using MasterPage in jQuery

Last Reply 4 months ago By dharmendr

Posted 4 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

You are viewing reply posted by: dharmendr 4 months ago.
Posted 4 months ago

Hi nauna,

Are you using master page ?

If yes then replace

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

 with

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