Hi All,
I am using the In-Place editor and I am having issues with after the
update is completed, the updated text does not reload?
I know the update is occuring because my database entry is updated, and
if refresh the page, the update text is there, but i would like to see
the updated text appear after the user clicks save.
Here is what i have:
************************************
<span id="tobeedited4">
<%
var rs = getRSwhere("designers","ID=1");
Response.write(StringValue(unescape(rs.fields("http").value)));
rs.close();
%></span>
<script>
new Ajax.InPlaceEditor($('tobeedited4'), 'update.asp',
{ajaxOptions: {method: 'get'},
callback: function(form, value) { return 'updateString=' +
escape(value)}
});
</script>
**************************************
Im new to all this. But im close
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---