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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bookmarks using perl

Status
Not open for further replies.

kobe

Programmer
Feb 5, 2001
5
US
Hello !

I have web page that has some radio buttons on it and when the user clicks on it it runs a perl script and gets a value for each button clicked( no problem). But after I have the value of the button I want to jump to a hypertext link (bookmark) within the same page. Is this possible? What is the command to do this?

Thanks
Kobe :)
 
Hmmm... This may be a bad hack for your problem, but it'll work:

When the user clicks the button, make it re-load the page with a deal like:

<a href = &quot;
This should do it, you can get a good tutorail about sections and stuff at on html if you don't know that (I'd imagine you do). I don't know if you can do it without following a hyper link. If it's a large page with pics and stuff, they should be cached, so the second time it should load much faster...

Good Luck
MWB.
As always, I hope that helped!

Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
MWB:

Thanks for your response but if I reload the page i'll lose the info on the form thats already been entered won't I? I guess i'll have to use plain old hypertext bookmarks. But thanks so much for your response.

Kobe :)
 
MWB:

Please disreguard my last message it's worked just fine!
Thanks Again

Kobe
 
Javascript would be much more efficient for this purpose than using perl and rewriting the page.

I LOVE perl, but I use Javascript for things like this too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top