Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Using CGI::Ajax for multiple form buttons/divs simultaneously

by Polyglot (Chaplain)
on Mar 20, 2018 at 12:04 UTC ( [id://1211312]=note: print w/replies, xml ) Need Help??


in reply to Re: Using CGI::Ajax for multiple form buttons/divs simultaneously
in thread Using CGI::Ajax for multiple form buttons/divs simultaneously

I've made significant progress in the last hour, and I just wanted to thank you for giving me one of the most important clues so far--that of returning multiple values from the subroutine. I am still struggling, however, with the AJAX apparently not reading all of the form variables upon callback to the Perl script, which means I am not able to access the correct data to put into the div. The div is being updated with the correct translation/version, but it is doing so with the default record number (1) instead of the currently selected record from the menu (a separate div, one which is not invoked with the comparison div).

I have been attempting to pass this information via a hidden form field, but it seems to be lost in transit using AJAX on an unrelated div. Am I expecting the wrong thing?

Blessings,

~Polyglot~

  • Comment on Re^2: Using CGI::Ajax for multiple form buttons/divs simultaneously

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (9)
As of 2024-04-23 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found