raisputin has asked for the wisdom of the Perl Monks concerning the following question:
I am thinking that the basic code for what I need to do is in jQuery, so why rewrite it since it is nice and works. I would like to add some perl to it though.
I was thinking something like:
... <script type=text/javascript> ... $('#dialog').dialog({ autoOpen: false, width: 600, buttons: {"Ok": function() { <%perl> insert my perl code here as needed. <%/perl> }, "Cancel": function() { <%perl> insert my perl code here as needed. <%/perl> } } }); ... </script> ...
Or maybe there is a way better way to do this that I am just not considereing because I am a newb? :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: jQuery, Mason, perl??
by Your Mother (Archbishop) on Jul 14, 2009 at 18:25 UTC | |
|
Re: jQuery, Mason, perl??
by trwww (Priest) on Jul 14, 2009 at 18:56 UTC | |
by raisputin (Scribe) on Jul 14, 2009 at 19:45 UTC | |
by raisputin (Scribe) on Jul 14, 2009 at 20:13 UTC |