J
Joshua Beall
Hi All,
Here's what I want to have: a link that when people click on it, another bit
of text pops up right below it saying "Click here to continue." Here's what
I've got:
<a href='#'
onClick="document.getElementById('continueLink').firstChild.data='Are you
sure? Click here to continue.';">
Delete
</a>
<a ID='continueLink' href='next.php' style="margin: 10px 20px;">
</a>
Now IE complains about firstChild.data being null or not an object. I can
fix this by puting at the text content of the <a> tag, but then you
see an underscore there (actually an underlined non breaking space) even
before they've clicked.
How should I be going about this?
Thanks for any pointers,
-Josh
Here's what I want to have: a link that when people click on it, another bit
of text pops up right below it saying "Click here to continue." Here's what
I've got:
<a href='#'
onClick="document.getElementById('continueLink').firstChild.data='Are you
sure? Click here to continue.';">
Delete
</a>
<a ID='continueLink' href='next.php' style="margin: 10px 20px;">
</a>
Now IE complains about firstChild.data being null or not an object. I can
fix this by puting at the text content of the <a> tag, but then you
see an underscore there (actually an underlined non breaking space) even
before they've clicked.
How should I be going about this?
Thanks for any pointers,
-Josh