sample code pasted from editable example page not working on live.datatables.net
sample code pasted from editable example page not working on live.datatables.net
pubstatvoidmain
Posts: 4Questions: 0Answers: 0
I took the code from
http://datatables.net/release-datatables/examples/api/editable.html
and pasted into in the live site
http://live.datatables.net/ocukes/2
but the table cells are not editable.
I even changed the url to point directly at the page
http://datatables.net/release-datatables/examples/examples_support/editable_ajax.php
but still it doesnt work?
Can anyone help?
thanks!
http://datatables.net/release-datatables/examples/api/editable.html
and pasted into in the live site
http://live.datatables.net/ocukes/2
but the table cells are not editable.
I even changed the url to point directly at the page
http://datatables.net/release-datatables/examples/examples_support/editable_ajax.php
but still it doesnt work?
Can anyone help?
thanks!
This discussion has been closed.
Replies
Reason for that is you are missing this line of code:
[code][/code]
Here is updated test case:
http://live.datatables.net/ocukes/3
Cheers.
I've updated your live example with it and it now works:
http://live.datatables.net/ocukes/4/edit#preview
Note that the url you pointed at the example page is for saving the changes, you'll need to write your own - have a look at the jeditable website (http://www.appelsiini.net/projects/jeditable) for what gets sent to the server.
Steph