SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Dec 2008
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    error in window.open

    window.open("test.aspx?mode=A+&PG=MAIN+&FC=E+&CODE="+ encodeURIComponent(value1)"+ &menu=" + encodeURIComponent(value2) ,'','scrollbars=no,resizable=yes,width=800,height=500');

    i amusing the above in javascripting
    but getting some error

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2007
    Posts
    345
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try
    Code:
    window.open("test.aspx?mode=A+&PG=MAIN+&FC=E+&CODE=" 
       + encodeURIComponent(value1) 
       + "&menu=" + encodeURIComponent(value2), 
       '', 'scrollbars=no,resizable=yes,width=800,height=500');


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
  •