javascriptjqueryjeditableeditablegrid

I included jeditable in my existing webpage, $.editable is coming undefined


I included jeditable in my existing webpage.

$.editable is undefined.

I am not able to call or use the editable function to edit fields

What is the proper way to include jQuery plugins like this?


Solution

  • Actually i was facing issue adding many jquery plugins.
    Problem is that I am working with Salesforce page, aura framework, so when adding script, the script is added in the head

    I do not know how to control the loading order here, to jeditable.js gets loaded but because of some order mismatch it is not properly attached

    That's why the error

    Solution:
    Now I am using $.getScript("address of jeditable uploaded to salesforce server")
    and this is working fine