Solved

Capture URL variable

Posted on 2006-12-01
3
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

627 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