Mintouch Wiki - Code for saving the current page

I have a wiki built with Mindtouch . I created a page that has an HTML table. There is a button that, when clicked, calls a javascript function that adds a new row to the table on the page.

My question is about how to save the current page (now that the table has one more row than originally). Ideally, the user should click the save button and the current page should be saved. When you leave the page and return to it, the added row no longer exists.

Note that I am not talking about saving the page while it is in edit mode.

Thanks in advance!

+2


source to share


1 answer


You can use javascript for this. Hope this link helps http://developer.mindtouch.com/DekiScript/Tutorials/Using_JEM_to_send_PUT%2f%2fPOST%2f%2fDELETE_requests_to_a_RESTful_API



+1


source







All Articles