Hi, everyone!
I wish to call a Perl subroutine from JavaScript.
I already do this with routines that are in <a href=""> tags and <input type="button" onClick=""> calls. However, the routine that I wish to call is part of a process logic flow, i.e., an event that is fired due to some logical conclusion as part of the business logic that is being implemented via JavaScript...the event is not as a result of a user's input on a form.
To be more specific, this is part of an Online Testing environment. The user takes a test online, and submits it. JavaScript is used to "grade" the test. If the user passes the test, I wish to update the database that the test has been passed. The update is initiated via the grading process done in JavaScript...not a user's mouse click of any kind.
Any words of insight will be most appreciated.
Thanks for your attention!
Jim
I wish to call a Perl subroutine from JavaScript.
I already do this with routines that are in <a href=""> tags and <input type="button" onClick=""> calls. However, the routine that I wish to call is part of a process logic flow, i.e., an event that is fired due to some logical conclusion as part of the business logic that is being implemented via JavaScript...the event is not as a result of a user's input on a form.
To be more specific, this is part of an Online Testing environment. The user takes a test online, and submits it. JavaScript is used to "grade" the test. If the user passes the test, I wish to update the database that the test has been passed. The update is initiated via the grading process done in JavaScript...not a user's mouse click of any kind.
Any words of insight will be most appreciated.
Thanks for your attention!
Jim