Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textbox value on another page

Status
Not open for further replies.

thompom

Technical User
Dec 4, 2006
395
GB
hi,

i want to put a value in a textbox on a page that i have no control of.

when a user clicks a link on my site i would like this textbox...

Code:
<input type="text" name="dealerCode" maxlength="30" size="7" tabindex="10" value="" id="DealerCode" class="dealercode">

...to have a value that i choose.
is this possible if the new page does not have a request.querystring and the value of the textbox is ""

just thought i would ask - after all the times ive seen stuff on this forum that i didnt think was possible

by the way the url of the page
 
well it worked first time, but that sessionId could be an issue.
 
thank nicklieb - tried adding ?dealercode=123 to the link in my first post but did nothing however,as you say, when you add it to the referred link it puts it in the box

that session string is a prob though any ideas how to tack it on after the page has been referred?
 
the only way im thinking this could work is to put the page in a frame then when the page is loaded it gets all the session info then refreshes the page with querystring added to the end?
 
this issue that you're going to have is the java bean session ID.

a new one is created each time you hit that page, each session is per unique user, you get a session time out error after a period of time.

I could be worth contact the website owners and asking them if there is a way to hotlink into the application, there may well be.

not that useful i'm afraid, but can't really see a way around it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top