vinouspleasure has asked for the wisdom of the Perl Monks concerning the following question:
and so on. Here's the changePage function:<a href="" onClick="changePage(2); return false;">[2]</a>, <a href="" + onClick="changePage(3); return false;">[3]</a>
Is there a way for me to invoke the js changePage function directly and pass in a parameter?function changePage(page){ document.thisForm.theCurrentPage.value=page; document.thisForm.submit(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling a javascript function from perl
by Anonymous Monk on Dec 25, 2008 at 06:09 UTC | |
by vinouspleasure (Initiate) on Dec 25, 2008 at 06:33 UTC | |
by Anonymous Monk on Dec 25, 2008 at 08:58 UTC | |
|
Re: calling a javascript function from perl
by petr999 (Acolyte) on Dec 25, 2008 at 15:08 UTC | |
|
Re: calling a javascript function from perl
by imrags (Monk) on Dec 26, 2008 at 04:45 UTC |