Specifically, when a user is over editable text, besides the yellow background, I want to display next to it a "delete" link. One of the things I've tried is this:
<script language="_javascript_">
new Ajax.InPlaceEditor('answer_<%= answer['id'] %>_view', 'update_answer',
{rows:2,cols:40,loadTextURL:"getAnswer"},onMouseover:"Element.show('delete')";);
</script>
I'm am a newbie a _javascript_, so examples are appreciated.
Thanks,
Steve
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
