Mungbeans schrieb: try this:
function submitLoginForm() { //validation is working so I know that the load form function worked // when this do, then is submitted if ( ($("#username").val()=="" ) || ($("#passwd").val()=="" )) { alert ("Please complete the username and password fields."); return false; } else { //THIS IS THE PART CAUSING TROUBLE // what is to do, #username and #passwd are valid // what make we now with this??? ;) } -- Viele Grüße, Olaf ------------------------------- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de ------------------------------- _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/