9 replies
by nikki96
Make the link have a parameter and use script to fill in the value from it.
Link text
The page at myUrl has a script, either client-side or server-side, that takes the value of ticket from the url and populates the field with it.
How that is done depends on how the page is made (i.e. is it generated via ASP, ColdFusion, etc or is it a static page), if users' browsers support Javascript, and what browsers need supported.
If you need more info, checkyour server-side script language of choice or client-side javascript for a queryString and how to parse it.
by drhue
by blaine moore
Depends on how you generate the page. If it is a straight HTML page, then use javascript:
function getArgs()
{
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split(",");
for(var i=0; i
by blaine moore
by blaine moore
Sorry, didn't finish typing and hit enter. Should read:
function getArgs()
{
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split(",");
for(var i=0; i
by drhue
Poster rated this answer.
by blaine moore
Depends on how you generate the page. If it is a straight HTML page, then use javascript:
function getArgs()
{
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split(",");
for(var i=0; i
by drhue
Poster rated this answer.
by drhue
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending