Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi guys,
my problem is when i call an event from javascript then the data of textbox gets blank. can anyone help ??

Dev..
Posted
Comments
Al Moje 6-Jan-12 4:19am    
Could you show us your code?
Prasad_Kulkarni 6-Jan-12 4:26am    
post your code to get proper feedback..

1 solution

You never call an event. You can only handle a event in your code. Not event but an event handler is called by your browser. You can call the handler function, bit this is no different from calling of any other function.

So, 1) event name can be misspelled; 2) the call of event handler could be misspelled; 3) an exception can be thrown in event handler before some processing you expect happens, or something else is wrong is written in your method; 4) an even is never fired because you did not understand the condition of firing this event and you never tried to fire this event through user actions.

Without you code (what code!? you did not even tell us what kind of event is that), nobody can tell you what exactly was wrong, but is should be one or more items listed above.

Good luck,
—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900