Odessa_Technologies
asked on
how to stop page postback
i'm adding an attribute button click and calling a JavaScript function. but each time i click on the button script is working but page is posting back.
I know to stop post back we use JavaScript.
I know to stop post back we use JavaScript.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Odessa_Technologies,
Why a 'B' grade, whilst I don't have an issue with receiving other than an 'A' when it is warranted I don't understand why this didn't qualify.
TimCottee
Why a 'B' grade, whilst I don't have an issue with receiving other than an 'A' when it is warranted I don't understand why this didn't qualify.
TimCottee
add return false in that function ...
and in your attribute button click event add return before your javascript function .
Javascript : return your functionnamer(); like this