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
You mentioned something about Dreamweaver...I'll take a few guesses here, using imperfect information. (I've not used dreamweaver in years, and, thankfully, I've done a good job of wiping the details from my memory.) What doctype are you using? If you are using XHTML and your code reads: [code] <button onClick="closeWindow()" type="button">... [/code] ...then it could be barking because, indeed, "onClick" does not exist. [url=http://www.w3.org/TR/xhtml1/#h-4.2]Attributes in XHTML must be in lowercase.[/url] [code] <button onclick="closeWindow()" type="button">... [/code] Secondly, as DL said, do you actually have a funtion closeWindow() defined?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »