stb74 Posted December 6, 2006 Share Posted December 6, 2006 I have a javascript menu that generates the menus from mysql tables.Menu displays league tables.Premier League Division 1 Division 2I want to be able to use the same file for each link so If I click on Division 1 it opens tables.php as well as Division 2 it will open tables.php.What I need is that when I click on Division 1, I set a variable and pass it into the tables.php file. Quote Link to comment https://forums.phpfreaks.com/topic/29660-javascript-menu/ Share on other sites More sharing options...
fenway Posted December 16, 2006 Share Posted December 16, 2006 I assume you're setting a .location? If so, just pass whatever you want on the query string. Quote Link to comment https://forums.phpfreaks.com/topic/29660-javascript-menu/#findComment-142164 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.