Hi, I am using jQuery 1.2 with form plugin. Am new to jQuery, so bear with me if the doubt sounds silly. I was trying out the first example in the form plugin
My Html code goes something like this <head> <script src="./js/jquery-1.2.js" type="text/javascript"></script> <script src="./js/jquery.form.js" type="text/javascript"></script> <script src="./js/common.js" type="text/javascript"></script> </head> .....Rest of the code containing form data And my common.js reads jQuery(document).ready(function() { var options = { target: '#output1', // target element(s) to be updated with server response beforeSubmit: showRequest, // pre-submit callback success: showResponse // post-submit callback // other available options: //url: url // override for form's 'action' attribute //type: type // 'get' or 'post', override for form's 'method' attribute //dataType: null // 'xml', 'script', or 'json' (expected server response type) //clearForm: true // clear all form fields after successful submit //resetForm: true // reset the form after successful submit // $.ajax options can be used here too, for example: //timeout: 3000 }; // bind form using 'ajaxForm' jQuery('form').ajaxForm(options); }); Now I am not able to run this succesfully. With FireFox, I get an error "jQuery("form").ajaxForm is not a function" Can someone point to me the mistake I'm doing. I've double checked the paths to the js files. Any help will be greatly appreciated. Regards Sathya -- View this message in context: http://www.nabble.com/jQuery-form-plugin-error-with-examples.-tp15371332s27240p15371332.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.