my HTML:
<li class="accept accepted" name="javascript_required" style="display: block; " id="accept">
<div id="accept-text" style="display: block; ">
Contract was Accepted
</div>
<a href="/view/close_contract/89?status=2" rel="facebox">Accept This Controct</a></li>
then my jQuery that i’m trying in the webkit console:
$j('li#accept').remove('a');
the above command reterns
Object
> 0: HTMLLIElement
> context: HTMLDocument
length: 1
> prevObject: Object
selector: "li#accept"
> __proto__: Object
After entering the command, the anchor remains in the DOM =(
Use this instead: