By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,434 Members | 2,884 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,434 IT Pros & Developers. It's quick & easy.

Invalid postback or call back when im using ajax and javascript

P: 1
Hi
im using ajax and javascript for autosuggest box in my application there im getting one error when i select any one in autosuggest box and click on other button its showing Invalid postback or callback argument. how to handl im put my focusleave function in my
Expand|Select|Wrap|Line Numbers
  1.     function Districtleavefocus()
  2.     {
  3.        document.getElementById('<%=lstDistrict.ClientID %>').style.visibility = 'hidden';
  4.     }
  5.  
[HTML]<input class="lgrninputs" id="txtDistrictName" onkeyup="DistrictSearchWord();"
onchange="Districtleavefocus();" runat="server" type="text" maxlength="40"
style="width: 135px;" autocomplete="off" unselectable="off" onfocus="Districtleavefocus();"/><br />[/HTML]
Jan 22 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
What's the value of lstDistrict.ClientID?

Why are you calling the leavefocus function onfocus?
Jan 22 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.