Newbie with a simple question

Discussion in 'Javascript' started by Dick Rosser, Nov 28, 2003.

  1. Dick Rosser

    Dick Rosser Guest

    Could I wast someones time please with a simple question.
    How do I incorporate (b) into (a) so that the url called comes
    in the popup?
    Many thanks in advance

    (a)
    <form name="form">
    <select name="links">
    <option value="#" selected>View Options
    <option value="../post.htm">Page 1
    <option value="../adoption.htm">Page 2
    </select>&nbsp;&nbsp; <input type="button" name="go" value="Go!"
    onClick="window.location=document.form.links.options[document.form.links.sel
    ectedIndex].value"> </form>

    (b)
    onClick="window.open('toolbar=no,width=300,height=270,left=10,top=10,
    status=no,scrollbars=no, resize=no');return false">
     
    Dick Rosser, Nov 28, 2003
    #1
    1. Advertising

  2. On Fri, 28 Nov 2003 17:17:01 -0000, "Dick Rosser"
    <> wrote:

    >Could I wast someones time please with a simple question.
    >How do I incorporate (b) into (a) so that the url called comes
    >in the popup?
    >Many thanks in advance
    >
    >(a)
    ><form name="form">
    ><select name="links">
    ><option value="#" selected>View Options
    ><option value="../post.htm">Page 1
    ><option value="../adoption.htm">Page 2
    ></select>&nbsp;&nbsp; <input type="button" name="go" value="Go!"
    >onClick="window.location=document.form.links.options[document.form.links.sel
    >ectedIndex].value"> </form>
    >
    >(b)
    >onClick="window.open('toolbar=no,width=300,height=270,left=10,top=10,
    >status=no,scrollbars=no, resize=no');return false">


    2.4 Why was my post not answered?
    http://jibbering.com/faq/#FAQ2_4

    The window.open method is typically called with 3 parameters. After
    reading the documentation the answer to your question should be
    obvious.
    http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp.

    Regards,
    Steve
     
    Steve van Dongen, Nov 29, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    585
  2. Kevin Spencer

    Re: Simple Simple question!!!

    Kevin Spencer, Jun 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    694
    Kevin Spencer
    Jun 25, 2004
  3. Daniel Frey

    Simple Question - Simple Answer?

    Daniel Frey, Dec 28, 2004, in forum: XML
    Replies:
    4
    Views:
    871
    Daniel Frey
    Jan 12, 2005
  4. Oli

    simple simple question

    Oli, Jan 26, 2004, in forum: ASP General
    Replies:
    10
    Views:
    390
    Roland Hall
    Jan 26, 2004
  5. Jerry C.
    Replies:
    8
    Views:
    276
    Uri Guttman
    Nov 23, 2003
Loading...

Share This Page