Uncaught TypeError: Cannot read property 'replace' of undefined

Uncaught TypeError: Cannot read property 'replace' of undefined

USGBDevUSGBDev Posts: 2Questions: 1Answers: 0

Support Request: ugimev

I am receiving the error : "Uncaught TypeError: Cannot read property 'replace' of undefined" when I go to save a new value in a table with the inline editor. Am unsure as to what the issue is.

Attached is my code: http://jsfiddle.net/j02vo7rh/1/

Answers

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75

    http://d.pr/i/9lX7

    You aren't loading any DataTables files... you aren't even using jQuery... >.<

    Try using the JSBin allan setup for DataTables related stuff

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75
    edited November 2015

    I get a totally different error:

    Uncaught TypeError: undefined is not a function

    Dont you need to use an editor JS library?

    is this your code? or did someone else code it? Are you a Developer?.. I would think youd know you need to load a few more libraries buddy.. o.O

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    I also am getting a similar error as the Editor library has not been loaded on the example page (but Editor is being used).

    Are you able to give us a link to your original page that shows the issue - that will hopefully help resolve the issue. Another piece of information that would be useful is to know what line of code the error you are seeing is occurring on and what file it is in.

    Allan

This discussion has been closed.