For some reason, I can't seem to include more than one expression within a function. For instance:
function emailForm() { ..etc.. } $(document).ready(function() { // format the form $(document).click(emailForm); //activate validation $("#sendmail").click( function() { validate(); return false; }).end(); }); The last expression (eg (#sendmail").click etc works well, but the first expression - click(emailForm) - isn't firing at all. I've tested it independing of the rest of the code and in isolation it works. -- View this message in context: http://www.nabble.com/Simple-form-setup-tf2187171.html#a6073035 Sent from the JQuery forum at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/