S
Scott
Hello,
I have to admit, I'm not very proficient with javascript, and I'm
hoping someone in this group can help.
What I have is some SHTML pages that I need to be able to dissect and
print parts of the query string. I'm using Apache SSI to display the
shtml pages, but as far as I can tell, SSI doesn't have any way to
split apart a variable like this, so that's why I'm turning to
javascript.
For example, let's save I have the following URL:
page.shtml?foo=1234&bar=5678
Can someone show me some simple javascript that I could insert inside
of page.shtml that would print the value of "foo" and "bar".
Also, I'd like to know how to take these values and potentially insert
them into some form fields.
Thank you for your help!
Scott
I have to admit, I'm not very proficient with javascript, and I'm
hoping someone in this group can help.
What I have is some SHTML pages that I need to be able to dissect and
print parts of the query string. I'm using Apache SSI to display the
shtml pages, but as far as I can tell, SSI doesn't have any way to
split apart a variable like this, so that's why I'm turning to
javascript.
For example, let's save I have the following URL:
page.shtml?foo=1234&bar=5678
Can someone show me some simple javascript that I could insert inside
of page.shtml that would print the value of "foo" and "bar".
Also, I'd like to know how to take these values and potentially insert
them into some form fields.
Thank you for your help!
Scott