search for: removepar

Displaying 2 results from an estimated 2 matches for "removepar".

Did you mean: removena
2006 Jun 13
1
Element.remove parent div
...t;/a> </div> However I would like to just create a function since I''ll be removing multiple DIVs and updating the sortable order. I just can''t get some version of Element.remove to target the parent DIV. I''ve tried several versions of this but no luck. function removeParent() { var parentBlurb = document.getElementById().parentNode; Element.remove(parentBlurb); updateOrder(); } then... <div class="blurb" id="drag_1"> <a onclick="removeParent();" class="remove"></a> </div> I just can''t get t...
2007 Apr 01
1
Ajax response not evaluating?
...pdate("message-1411", "<b>Join the conversation!</b> To save tutorials, <b><a href=\"/login\">login</a></b> or <b><a href=\"/register\">register</a></b> for free. <a href=\"#\" onClick=\"removeParent(this);\"><img src=\"/images/close.gif\"></a>"); new Effect.Appear("message-1411",{duration:1.5}); Element.hide("t-1411-indicator"); Now, I can stick this code into my console and run it.. and it will perform all correct actions with no fail...