Possible Duplicate:
Get query string values in JavaScript
how can i get the get variable in javascript?
i want to pass it in jquery function.
function updateTabs(){
//var number=$_GET['number']; how can i do this?
alert(number);
$( "#tabs" ).tabs({ selected: number });
}
Refer this Link . OR Try this
Write:
Then
$_GET['number']