I
ismaili.amin
Hi freinds,
How to execute a _javascript forcefully. Meaning, I dont want to set an
attribute for that. Till not what I am doing is like this,
On page load...
button.attributes.add("onclick","_javascript which loads another page
in parent")
and there is a requireed field validator on a text box.
Now what happens is like this...
It gives error for required field validator, if the entry is not made
in the text box, but, it also reloads the page given in the
_javascript. Ideally what should happen is, if the validation is OK,
then only it should reload to other page.
I dont want to use _javascript code for validation. So please tell me
how to do that..
THANKS IN ADVANCE
How to execute a _javascript forcefully. Meaning, I dont want to set an
attribute for that. Till not what I am doing is like this,
On page load...
button.attributes.add("onclick","_javascript which loads another page
in parent")
and there is a requireed field validator on a text box.
Now what happens is like this...
It gives error for required field validator, if the entry is not made
in the text box, but, it also reloads the page given in the
_javascript. Ideally what should happen is, if the validation is OK,
then only it should reload to other page.
I dont want to use _javascript code for validation. So please tell me
how to do that..
THANKS IN ADVANCE