Displaying 1 result from an estimated 1 matches for "getcreateelement".
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
...>
</tbody>
</table>
# javascript (based on AjaxScaffold code)
updateResources: function(request, type) {
var resForm = request.responseText;
var id = this.getId(request,type);
new Insertion.Top(this.getTableBodyElement(type), resForm);
var resElement = this.getCreateElement(type, id);
Element.show(resElement);
TableBodyUtil.highlight(resElement,this.getTableBodyElement(type));
}
Many thanks in advance,
Sean