i have a javascript function show() { alert("hello"); } which runs on asp button onclick event when i click on OK button of alert message box showing hello,,postback occurs,,is dere any way i cant prevent this postback
i have tried this but its nt working
sumit
2009-11-23 17:16:37
ohh my mistake,,its working,,thnx for ur reply
sumit
2009-11-23 17:20:41
+3
A:
Yes, you can do show(); return false; in the button's onclick handler.
Vinz
2009-11-23 17:16:51