I would like to be able to pass the link element ( not the URL) in an achor...
Essentially:
or PREFERABLY :Code:<p > i am content... <a href="#" onClick="foo(this); ">Show</a></p>
When I do this, the value of "this" is only the URL and not an ELEMENT object, whose attributes I can then modify via foo(). Is there a way I can actually access the <A> element and not just it's URL?Code:<p > i am content... <a href="javascript:foo(this); ">Show</a><p>
As always all insight is greatly appreciated.






With only one problem... It works perfectly with CSS/ js on; it works as expected with js and CSS off; of course, it's a moot point with images/css/js off; but it's buggy when js is ON but CSS is off... ( Actually I just checked it again.. it works when CSS is OFF , but not if CSS is on but the style sheet is missing.. apparently That's two different things)
Bookmarks