Solved

Capture URL variable

Posted on 2006-12-01
3
347 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS style formatting? 2 61
Help with mod_substitute 18 77
Printing customized headers and footers using html and bootstrap 3 79
HTML editor custom button 3 88
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

739 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