Hi, I've inherited a project with some Prototype connections I do not understand.
To wit, I'd like to modify the following javascript function so that I can append to the link element, not replace the content: function add_fields(link, association, content) { var new_id = new Date().getTime(); var regexp = new RegExp("new_" + association, "g") $(link).up().insert({ after: content.replace(regexp, new_id) }); } Any suggestions? Thanks, Grar -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.