I have one html who call one iframe with ajax content via thinkbox The link in ths html is that: <a id="not_mail" href="enviarmail.php?option=email&nid=11967&height=245&width=640" title="Send this newsl" class="thickbox"></a>
My problem is when i click in this link all the iframe is loaded but when it finish i get this error in ff $.validator has no properties So i click out of the thinkbox and it close, withount reload the page i press again in the link, and now the content appear If i test the script alone it work perfect, but not calling the thickbox Any1 have an idea why i getting this error? Thanks in advance The enviarmail.php script show the next html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-ES" lang="es-ES"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script src="js/jquery-latest.pack.js" type="text/javascript"></script> <script src="js/jquery.form.js" type="text/javascript"></script> <script src="js/metadata.js" type="text/javascript"></script> <script src="js/jquery.validate.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $.validator.setDefaults({ debug: true }); $().ready(function() { var v = $("#enviarmail_form").validate({ submitHandler: function(form) { jQuery(form).ajaxSubmit({ dataType: "json", after: function(result) { if(result.status) { v.showErrors(result.data); v.focusInvalid(); } } }); } }); }); jQuery("#reset").click(function() { v.resetForm(); }); }); </script> </head> <body> <form action="enviarmail.php" name="enviarmail_form" id="enviarmail_form" method="post"> <label for="envio_emails">Correo/s electrónico/s</label> <input name="envio_emails" id="envio_emails" value="[EMAIL PROTECTED], [EMAIL PROTECTED]" class="{required:true,minLength:10}" type="text" /> *********** *********** </form> </body> </html> -- Estoy usando la versión gratuita de SPAMfighter para usuarios privados. Ha eliminado 2160 correos spam hasta la fecha. Los usuarios de pago no tienen este mensaje en sus correos. Obtenga SPAMfighter gratis aquí: http://www.spamfighter.com/les