in reply to Re^3: Using CGI::Ajax for multiple form buttons/divs simultaneously
in thread Using CGI::Ajax for multiple form buttons/divs simultaneously
I have noticed that every implementation of AJAX that I have laid eyes upon has one feature in common:
print $pjx->build_html( $cgi, \&main, {-charset=>'UTF-8', -expires=>'- +1d'} );
Is there some way of connecting the AJAX to more than one subroutine, rather than having only the "&main" option?
Something more diversifiable may be what I need. For example, if I can succeed at having more than one option here, I could also incorporate the AJAX into the login side of the script which, for now, I have left without AJAX. Understanding this, in fact, may be key to helping me solve what I am doing now with multiple divs.
I have been making more attempts to get AJAX working with multiple divs, but have yet to see success. Sometimes, "brute force" trial-and-error seems the only thing I can do, especially having never used the tool, in this case AJAX, before.
Blessings,
~Polyglot~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Using CGI::Ajax for multiple form buttons/divs simultaneously
by dsheroh (Monsignor) on Mar 20, 2018 at 08:32 UTC |