SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    Born to Code rainadaman's Avatar
    Join Date
    Feb 2005
    Location
    india
    Posts
    793
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Request.QueryString("id") not working in javascript;

    hey guys,

    Request.QueryString("id") not working in javascript;
    this is the code that I am using ...

    Code:
    //I have tried
    var pageType=Request.QueryString("page_type");
    alert(pageType);
    
    //also
    var pageId = Request.QueryString("page_id").Item(1);
    alert(pageId);
    
    //also
    var pageId = new String( Request.QueryString("page_id") )
    alert(pageId);
    none of these is working ...
    where I am wrong...

    Regards,
    RainaDaman
    I was born intelligent,
    But Google ruined me.

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,629
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Ian Anderson
    www.siteguru.co.uk


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •