dynamically adding removeCaller function in js
<p>why doesn't my javascript function work?</p>

<pre><code>function removeCaller(param) {
    this.parentNode.removeChid(this);
}

caller = document.getElementById("a");
param = document.getElementById("b");
caller.removeCaller(param);
</code></pre>
