[Javascript] changing the action of a form

Danik Sygrove Danik at thomtech.co.nz
Thu Jun 19 16:59:28 CDT 2003


Hi Janine, the syntax is document.form.action = pageString

HTH,
Danik

-----Original Message-----
From: Janine Marriott [mailto:bill.marriott at optusnet.com.au]
Sent: Thursday, 19 June 2003 10:07 p.m.
To: [JavaScript List]
Subject: [Javascript] changing the action of a form



Hi Everyone,

Does anyone know a way to change the action value of a form on the fly with
javascript.

I would have thought that document.formname.action.value = " new value"

would have done it but document.formname.action is not an object.

TIA

Bill


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


More information about the Javascript mailing list