$(document).ready(function(){ $('#quiz_submit_button').click(function(){ // check they answered everything if ($('input[@type="radio"]:checked').size() != $('.question').size()) { alert('Please answer every question.'); return false; }; return true; }); });
by simon baird
Friday, July 18, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment