...

View Full Version : Getting posted parameter from headers



Lleoun
03-09-2009, 01:19 PM
Hi all,

Firebug's console is showing when visiting my test.html page Headers, Post and Response.
In the Post tab it is showing: "id 9"

I need to create a new page and get that 9 in it so I can use it. I don't mind jQuery, Ajax or Javascript but I need that 9.

I know that with php I just need $_REQUEST["id"]; but I cannot use php.

Thanks a lot in advance!!

Lleoun
03-09-2009, 03:09 PM
Just a note: I'm not passing anything through the url.
My test.html is passing the 9 like the code below shows.
final.html needs to catch this 9 in a variable.
Thanks again!




<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var page = "9";
var theurl = "final.html";
$("#sidebar").load(theurl,{"id":page});
});
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum