Jump to content

_get in javascript?


karimali831

Recommended Posts

Hello!

 

With this code:

 

new Ajax.Updater('ULLIST_0', top.location = '?site=standings1&ladderID=24&start=21', {

 

I want to be able to use ladderID=$_GET['ladderID'] like in PHP, can I do this with js?

also can't I use variable e.g.

 

top.location = $variable, which will suit me much better.

 

thanks for help!

Link to comment
https://forums.phpfreaks.com/topic/235761-_get-in-javascript/
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.