Jump to content

Need som help redirecting with js..


Fenhopi

Recommended Posts

Hi, I'm trying to redirect my users to their profile, but can't figure out how to put the function into the link. sethighlightedValue(); is a function that returns the users username. Is there anyway else to do this?

 

Here's what I got:

case RETURN:

	 window.location = "profile.php?user="setHighlightedValue();
		this.setHighlightedValue();
		bubble = false;
		break;

Link to comment
https://forums.phpfreaks.com/topic/221011-need-som-help-redirecting-with-js/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.