On Dec 8, 2007 8:23 AM, Mario Moura <[EMAIL PROTECTED]> wrote: > Hi All > > Same question. > > > my form is something like > > <form method="post" id="myForm" class="cssform" action="../submitajax.php"> > <input type="hidden" value="<?php print $user->uid; ?>" name="uid"/> > <input type="hidden" class="ts" value="" name="ts"/> > <input type="hidden" value="100000" name="MAX_FILE_SIZE"/> > <input type="text" id="product" name="product" /> > <input type="text" id="quant" name="quant" /> > <input type="text" id="invoice" name="invoice" /> > <textarea id="descr" name="descr" rows="5" cols="35"></textarea> > <input type="file" name="file"/> > <input type="hidden" name="mimetype" value="html" id="uploadResponseType"> > <input id="submit" type="submit" value="Next Step" /> > </form>
This is likely the cause of your problem: <input id="submit" type="submit" value="Next Step" /> Do not use ids (or names) that collide with JavaScript functions names. Do something like this instead: <input id="mysubmit" type="submit" value="Next Step" /> Mike