lamy Posted January 13, 2006 Posted January 13, 2006 i have several buttons which i use to trigger some javascript functions, how do i keep it from posting back? Quote slow down when you need to hurry, stop when you need to move on, look back when you need to forget, or you might slip and leave sanity
bri189a Posted January 15, 2006 Posted January 15, 2006 like so: <a href="whatever.aspx" onclick="MyFunction(); return false;">Text</a> The return false keeps anything else from happening. Quote
lamy Posted January 17, 2006 Author Posted January 17, 2006 thanks bri189a, ill give it a try Quote slow down when you need to hurry, stop when you need to move on, look back when you need to forget, or you might slip and leave sanity
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.