Forum Moderators: open
having a bit of a problem with this..
i have a list of links that have been dynamically created, and i want it so that, when i click on one of them, it runs a little JS script, and then removes the link i clicked from the page..
shouldnt be too hard i thought..
wrong...!
using the this keyword returns a very unhelpful, object.window - not really what im after..
im sure there must be an easy way around this.. maybe using the event model stuff, but that i can seem to get to work as i want either..
any ideas..?
cheers all
nat
</head>
<body>
<div id="container">
<a href="#foo" onclick="removeLink(this);">Hide me</a>
</div>
</body>
</html>