in reply to Re: cgi popup_menu when radio is selected
in thread cgi popup_menu when radio is selected

Just an opposite. I have nothing against js. If it's not too complicated for you may I ask you at least roughly to show how to use it for this case.
  • Comment on Re^2: cgi popup_menu when radio is selected

Replies are listed 'Best First'.
Re^3: cgi popup_menu when radio is selected
by Popcorn Dave (Abbot) on Feb 05, 2008 at 00:31 UTC
    As ww said, you need to read up on JavaScript, but the basic would be to trigger an event when you check that radio button and use a JavaScript command to open a new window - assuming that's what you're after and proceed from there.

    I think to achieve what you seem to be after that you're better off looking to Ajax as opposed to JavaScript because there are toolkits that I believe that will do that very quickly and then it's just a matter of gluing the code together with the requisite Perl modules. I'd suggest looking at the Dojo toolkit or script.aculo.us toolkit.

    Good luck!


    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code

Re^3: cgi popup_menu when radio is selected
by ww (Archbishop) on Feb 04, 2008 at 21:25 UTC
    As someone else recently (and wisely) observed,
    "Drop a coin in the COC (Crank Out Code) machine."
    Or, on your own, read up on js and or the modules suggested above.
      "Drop a coin in the COC (Crank Out Code) machine."
      I don't get it
        pay some javascript guy to write it for you