Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: cgi popup_menu when radio is selected

by Popcorn Dave (Abbot)
on Feb 04, 2008 at 20:37 UTC ( #666095=note: print w/replies, xml ) Need Help??


in reply to cgi popup_menu when radio is selected

Is there some reason you don't want to use JavaScript? If you don't use JS, then probably your only other option is AJAX. You might have a look at CGI::Ajax or some of the other Ajax modules on CPAN if that doesn't fit the bill.


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

  • Comment on Re: cgi popup_menu when radio is selected

Replies are listed 'Best First'.
Re^2: cgi popup_menu when radio is selected
by vit (Friar) on Feb 04, 2008 at 20:43 UTC
    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.
      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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://666095]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2019-04-20 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (110 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!