Solved

Capture URL variable

Posted on 2006-12-01
3
345 Views
Last Modified: 2008-02-01
I would like to capture the 'iid' variable being passed with the url link to come to my site and then use it as a hidden variable in my form on the page.

e.g. http://mysite.com/index.html?iid=v1 is the incoming URL

but I cannot use javascript.

How can I get the 'v1' value into my form?

Thanks!
0
Comment
Question by:kkbenj
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 18055610
kkbenj,

You can't do it just with html.  Either a server language (i.e. ASP, PHP, Perl) or javascript must be used.  Server language is best and easiest but it doesn't look like the page is generated by server code.  If you server supports a language and you want to make a change to the page and add some server script then let us know which language and we can provide an example.

HTML on its own can't do it.  Let me know if you have any questions or need more information.

b0lsc0tt
0
 

Author Comment

by:kkbenj
ID: 18055628
I was afraid of that.  Thanks for responding so quickly.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 18055756
Your welcome!  I'm glad that I could help.  Thank you for the grade, the points and the fun question.

bol
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question