back       next

querystring using javascript

hi everyone
i ve a problem regarding querystrings which is as follows.

i m making a popup window and onclick of a href that window pops up and i m sending my querystring along with that.

now i want to use that query string in that popup page but i m unable to do that it is giving a 'object expected error'.

the code is as follows:

window.open("interfacepop.asp?hotelid="+window.document.form1.hotelid.value,"interface","scrollbars=1, menubar=0, toolbar=0, top=90, height=350, width=400");

the code that i m using in the pop up.
window.document.form1.action = "interfacepop.asp?submit=Y&hotelid="

<?php
=request.querystring("hotelid")
?>
;

But this not working, please anyone can help me ...

Thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.