Originally Posted by Phaaze
So basically your saying to use external JS to hide any errors? Thats a rather shady behavior...
|
No, putting your javascript in an external file keeps it separate from your HTML. Thats not hiding errors, thats how your supposed to do it. You should separate your behavior from your presentation.
http://thinkingandmaking.com/entries/63
Plus, they should have a backup to javascript. Some computer user could have disabled javascript by accident, or by choice. That bars them from using the calender element. I'm not going to be too harsh on the xhtmltype for this since its a premade script.
What about things like this in the code?
Code:
<ul style="text-indent: 0px; list-style: none; margin: 0px; padding: 0px;">
Code:
<div id="main" style="float:left;">
Code:
<div class="contentHeader" style="margin-top: 10px;">