locked
window.open() Error with multiple Query String RRS feed

  • Question

  • Hi

     

    I am trying to pass Query String on java script window.open(), in an existing app. However, it is not displaying the Query String value

     

    Any one can help me to fix it?

     

    The syntex is as:

    <script type = "text/javascript">
      <!--  
     function openWin()
       {  
      
       window.open('WarehouseEntityCreator.aspx?QtramsactionType=" + lblTransectionType + "&QuserID=" + lblUserId + "&QcomponentCode=" + lblComponentID + "&QcomponentCode=" + lblComponentID+ "&QentityType=" + lblEntityType+ "&QenState=" + lblEntityState+','CreateWindow','toolbar=0,menubar=0,scrollbars=1,height=400,width=750');
      self.focus();
        }
        -->
    </script>

     

    Thursday, August 14, 2008 5:28 PM

Answers

  •  

    Hi, This problem is fixed long before.

    The problem was that the previous page was also opened at the first time with java script originally.

    I don't remember the code now, but it is working.

    Tuesday, September 30, 2008 8:30 PM

All replies

  • Hi!

    Did you ever find a solution to your issue?  I'm facing the same issue, but haven't found a solution yet.
    Wednesday, September 17, 2008 4:01 PM
  • Neither posts above provide another detail for anyone to be able to attempt a reproduction.  The initial post fails to encode the values being concatented.

     

    More info is needed.

     

    Tuesday, September 30, 2008 9:34 AM
  •  

    Hi, This problem is fixed long before.

    The problem was that the previous page was also opened at the first time with java script originally.

    I don't remember the code now, but it is working.

    Tuesday, September 30, 2008 8:30 PM