nainil@eliteral
08-17-2005, 05:00 PM
Hi,
I am yet a newbiee in JavaScript. I have this logic in mind. I do not know how to put it into action in JavaScript. If someone could help me..
1. First time the form is opened, Declare flag=true; Store this value of flag in the form during form load.
>>>> Then I press the submit button to save the form and it's values.
2. The second time the form is opened, it should check....... if flag=true, do this
<BODY style="margin:10px" onload="setTimeout('chkSubmit()',10000);" class="tabviewer">
and set flag=false.
3. Now when I open the same form again, Now since the flag=false it should just do
<BODY style="margin:10px" class="tabviewer">
Please help.
Thank you.
Nainil Chheda.
I am yet a newbiee in JavaScript. I have this logic in mind. I do not know how to put it into action in JavaScript. If someone could help me..
1. First time the form is opened, Declare flag=true; Store this value of flag in the form during form load.
>>>> Then I press the submit button to save the form and it's values.
2. The second time the form is opened, it should check....... if flag=true, do this
<BODY style="margin:10px" onload="setTimeout('chkSubmit()',10000);" class="tabviewer">
and set flag=false.
3. Now when I open the same form again, Now since the flag=false it should just do
<BODY style="margin:10px" class="tabviewer">
Please help.
Thank you.
Nainil Chheda.