Hey my webpage is having a checkbox where students have to select the modules they wish to select. Is it possible that I can update the total module credits selected live on the webpage when the student clicks on a checkbox? Or when the student clicks submit can I show a message like please select 60 credits?
From stackoverflow
-
Create a javascript function that reads the checkboxes and displays the total. Then set the onclick event of each checkbox to call that method.
-
Check out the jQuery Calculation plugin. It does exactly what you need.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.