Jquery form plugin, getting "$ is not defined" error after submission but everything still works
Hello all,
I have recently started using the jQuery form plugin to do AJAX form submissions. The plug-in is great, it's easy to use with excellent documentation. However I have run into a problem with it. When I do an .ajaxSubmit call, everything submits properly but I am getting a "$ is not defined " error in Firebug after the submission. I know this error happens when a reference to the jQuery library is not found , however that does not seem to be the case since all the jquery functions work. Even with the plug-ins most basic use this happens :
- <form method="POST" enctype="multipart/form-data" name="test" id="test" action="<?php echo $_SERVER['SCRIPT_NAME']."?".$_SERVER['QUERY_STRING'];?>">
- <input type = "submit" value = "SUMBIT TEST" />
- </form>
- $("#test").submit(function(){
- $(this).ajaxSubmit();
- return false;
- });
Has anyone experienced this type of problem with this plug-in or anywhere else? Again its not causing an error, but the "$ is not defined" message is popping up in Firebug's console. Any advice or suggestions as to what could be causing this would be very much appreciated, thanks!