onblur to refresh the contents
Hi,
I have a problem in javascript, where entering a value in the textbox during onblur I am doing a refresh to bring in the
updated records from the DB , before the on blur refresh is completed if the user clicks the search button during the first click nothing is happening
as the refresh is still going on. During the second click when the on blur refresh is completed it will open a popup.
The problem here is I am unable to disable/inactivate the search button untill the refresh is completed as well as I dont have any control over the
refresh time as well. This is like already an event is in progress and wehere are invoking another event which is not having
any effect. In such case how i can handle this scenario?
Thanks.