Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: jQuery issue with Dancer2

by stevieb (Canon)
on Sep 23, 2016 at 00:31 UTC ( #1172392=note: print w/replies, xml ) Need Help??


in reply to Re: jQuery issue with Dancer2
in thread jQuery issue with Dancer2

Thanks Your Mother, no rudeness spotted :)

The Dancer part doesn't really matter, as I know that I'm receiving what I expect from the Perl Dancer part. It's how I'm handling the JS. In the get_aux() js call, when I alert() I get the expected result (from Perl). But in the creation of the button (the call that calls the get_aux() in the function above it in my OP), the alert() states undefined.

I'm reading up on use of 'callbacks' et-al right now.

What *is* rude, is me looking for JS help on Perlmonks ;)

Replies are listed 'Best First'.
Re^3: jQuery issue with Dancer2
by Your Mother (Archbishop) on Sep 23, 2016 at 00:52 UTC

    Oh, I love the occasional JS question, especially jQuery. I have said before, I really think it touches the same sweet spot Perl does in terseness + expressiveness. If you have runnable code somewhere (github gist?) I would probably play with it tomorrow.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-05-24 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?