mswitzer
01-20-2005, 12:12 AM
I have a question, and feel extremely STUPID, because I used to be an extremely good scripter, but haven't created anything in three years, and have not familiarized my self with the W3C DOM.
Now I am creating a new site (XHTML Strict - yes it validates), which requires pop up windows. Problem is, nothing I put into onclick attributes in my anchor tags triggers anything. Not even onclick="self.close()"
Now my question is -
Do all events need to be set up to be captured to prompt event handlers etc in script, not in xhtml?
Why doesn't <a href="blah" onclick="self.close()">blah</a> work?
Am I just an idiot?
No, don't answer that last one... :thumbsup:
Now I am creating a new site (XHTML Strict - yes it validates), which requires pop up windows. Problem is, nothing I put into onclick attributes in my anchor tags triggers anything. Not even onclick="self.close()"
Now my question is -
Do all events need to be set up to be captured to prompt event handlers etc in script, not in xhtml?
Why doesn't <a href="blah" onclick="self.close()">blah</a> work?
Am I just an idiot?
No, don't answer that last one... :thumbsup: