OZONE Asylum
Forums
Stupid Basic HTML
Ok...onClick and <button> problems
This page's ID:
23122
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have no idea whatsoever if that validates or not. Functionally, it would work well. For me, it's a philosophy thing. I like to keep my JS seperate from my XHTML seperate from my CSS. In fact, if it were me, I'd simply assign it a class = "close" with no onclick attribute. Then, I'd have a function (called onload) which would dynamically assign to it an onclick attribute, assigning to it the appropriate function.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »