1 Reply Latest reply on May 19, 2010 10:31 AM by dlandfan1



      Hi all,

      I'm using a jump menu on a page and it is working great as long as I don't touch the code! BUT when I hit GO I would like the link to open in a new window, so instead of 'parent'...I changed it to 'blank'.  well when I do this I get an error saying the object blank is undefined!  help please?


      here is my code....  the auto generated stuff....

      <script type="text/javascript">
      function MM_jumpMenuGo(objId,targ,restore){ //v9.0
        var selObj = null;  with (document) {
        if (getElementById) selObj = getElementById(objId);
        if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
        if (restore) selObj.selectedIndex=0; }


      and here is the action on the go button....

      <input type="button" name="go_button" id= "go_button" value="Go" onClick="MM_jumpMenuGo('jumpMenu','parent',0)">


      here is the error I get....

      'blank' is undefined


      so when you click GO how can I get the linked documents to open in a new window??


      Thank you so much for your help!!