kcates
03-29-06, 10:56 PM
I'm not a javascript programmer, so let's see if I can explain what I'm trying to do...
I have a miva script that will send a canned email message, but it needs to know which message to send, identified by a number.
There is a web page where the user will enter the email address and some other information, and that contains a form that will pass the data to the miva script. Let's call this the data entry page.
The user gets to the data entry page by clicking on a link that might look like this - "www.whatever.com/whatever.html?arg=1", so the link will identify the message that will ultimately be sent by the script.
I assume that when the data entry page is loaded by the browser, I can use javascript to access the argument (not sure exactly how)?
But I then need to get that argument value into one of the form variables.
Is this do-able, or am I totally confused...?
Thanks!
Ken
I have a miva script that will send a canned email message, but it needs to know which message to send, identified by a number.
There is a web page where the user will enter the email address and some other information, and that contains a form that will pass the data to the miva script. Let's call this the data entry page.
The user gets to the data entry page by clicking on a link that might look like this - "www.whatever.com/whatever.html?arg=1", so the link will identify the message that will ultimately be sent by the script.
I assume that when the data entry page is loaded by the browser, I can use javascript to access the argument (not sure exactly how)?
But I then need to get that argument value into one of the form variables.
Is this do-able, or am I totally confused...?
Thanks!
Ken