javascript - Object has no method, error in script w/jQuery -
javascript - Object has no method, error in script w/jQuery -
i have
function student(){ var that=this; that.savechanges=function(){ //..... } function init(){ that.savechanges1(); } init(); } <script type="text/javascript"> $(document).ready(function () { var student=new student(); }); </script>
with jquery-1.4.4.min.js, not save changes, because made error, rest of application work. jquery-1.7.1.min.js error object # has no method 'savechanges1' , rest of application not work. or that.savechanges1 not function [break on error]
(77 out of range 4)
what should work jquery-1.4.4.min.js?
i think should seek not create errors in javascript... it's blows up, @ to the lowest degree warns doesn't work! perhaps should seek running javascript or selenium tests , perhaps jslint check create sure don't break of javascript functionality!
javascript jquery
Comments
Post a Comment