Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $(".editable").editable( $('form').attr('action'), function(value, settings, parent_id) {
- console.log(parent_id);
- console.log(value);
- //console.log(settings);
- indicator : "<img src='img/indicator.gif'>",
- type : 'textarea',
- submitdata: function(){ return { parent_id: this.parentNode.getAttribute('id')} },
- select : true,
- submit : 'OK',
- cancel : 'cancel',
- cssclass : "editable"
- return(value);
- });
- });
Add Comment
Please, Sign In to add comment