In Jeditable, how do I make it so that when I click the div to edit, the text box content has initial value that is processed?

Posted by TIMEX on Stack Overflow See other posts from Stack Overflow or by TIMEX
Published on 2010-12-26T09:49:58Z Indexed on 2010/12/26 9:54 UTC
Read the original article Hit count: 194

Filed under:
|
|
|
|

When the user clicks on the div, jeditable will make a text box. However, I want the initial text to be done with function stripTags(), instead of what's on the page.

The reason is that I'm using some URL techniques to turn plain text links into URLs. When the user clicks on the div, jeditable is turning them into <a href=>..</a>

Is there a "beforeSubmit" option in jeditable?

http://www.appelsiini.net/projects/jeditable

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery