Hi All, Im using in_place_edit in my application ,for acheving this i have used a plugin (super_inplace_controls). My rails version is 2.3.8
Insted of displaying the value and on click to provide the form for editing. It is displaying me the whole code in the page. as 0<form action="/setting/new_value/1" class="in_place_editor_form" id="disposition_weight_lower_1_form" method="post" onsubmit="jQuery.ajax({beforeSend:function(request) {jQuery("#loader_disposition_weight_lower_1").show(); jQuery("#disposition_weight_lower_1_form").hide();}, complete:function(request) {jQuery("#loader_disposition_weight_lower_1").hide();}, data:jQuery.param(jQuery(this).serializeArray()) + '&authenticity_token=' + encodeURIComponent('GNaJDLKf +YYfq7VJlCM0JG9n0R1ffzLNrZTPzJvJJ28='), dataType:'script', type:'post', url:'/configurations/set_disposition_weight_lower/1'}); return false;" style="display:none"><div style="margin:0;padding: 0;display:inline"><input name="authenticity_token" type="hidden" value="GNaJDLKf+YYfq7VJlCM0JG9n0R1ffzLNrZTPzJvJJ28=" /></div><input class="inplace_text_field" id="disposition_weight_lower" name="disposition_weight[lower]" size="30" type="text" value="0" / ><input class="inplace_submit" name="commit" type="submit" value="OK" / ><a class="inplace_cancel" href="#" onclick="jQuery("#disposition_weight_lower_1").show(); jQuery("#disposition_weight_lower_1_form").hide();; return false;">Cancel</a></form><div class="inplace_loader" id="loader_disposition_weight_lower_1" style="display:none"><img alt="Spinner" src="/images/spinner.gif?1275917204" / >&nbsp;&nbsp;<span>Saving...</span></div><br></br> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.