PDA

View Full Version : Opening page in java


saeed
01-02-2003, 12:12 PM
I had created a form (form.html) and wishing that when a user hits submit button next page will be open in the same window (success.html).

Please reply me soon.

Regards,
Saeed Qadir.

piz
01-02-2003, 12:50 PM
In Java?
With JavaScript you mean i think.

Well that can be done with HTML - no necessary to use JavaScript or Java.

<form action="succss.html">
...
<input type="submit">
</form>

So the success.html will open and all the values of the form-elements will be available on the new page - but not for Client Side languages like JavaScript.

Saludo
piz