Perl ---- use Sajax; sub populate { return 'Hey'; } Sajax::rs_init(); Sajax::rs_register("populate", \&populate); ... JS outputed by Perl ------------------- function do_populate() { x_populate(do_populate_cb); } function do_populate_cb(N1) { document.write(N1); document.write('I\'ts Me'); } HTML outputed by Perl --------------------- ... ...

You selected:

...