jEditable, undefined settings when using callback function

I'm using jEditable and instead of using ajax to save, I just want to use the callback function to put the contents into a hidden form elements, the problem is using the callback function I receive this error:

Uncaught TypeError: Cannot read property 'settings' of undefined

This is the code I'm using:

     $('.editable').editable(function(value, settings) { 
      }, { 
         submit  : 'OK'

Any ideas what the problem could be? Thank you!


I had simillar problem with dblckick event.

Jquery.validate plugin (v 1.7) was throwing this error.

Fixed by installing new version of Jquery.validate (v 1.9).

I had exactly the same error message. But in that case I used the plugin ajaxupload for jEditable in my Javascript and called it like that:


On updating jQuery I made only one file containing all the minified stuff to reduce the web to a single request. Then I recognized, that the plugin ajaxupload just was missing.

I was getting this error because I was making a call to $("#element").rules() before a call to $("#form").validate() on the form DOM element. There error was the same using both jQuery Validate version 1.7 and 1.9 (I upgraded per the above suggestion before getting it to work).

Need Your Help

How to display the file path from the input file tag?

javascript html file-upload

I have a screen as shown in the below image. Once a file is selected, I need to display the selected file name with complete path in the "Import Files".alt text

Ban Internet Explorer IE script

javascript internet-explorer internet-explorer-6

I know some sites like bans IE6. It works when the page detects IE6 browser, it would trigger a DIV to let the user know the first time he accesses the website. Then the user closes, that