<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">><br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">> >It should be the case that Javascript merely enhances the user<br>> >experience - e.g. adding a popup calendar, rather than someone having to<br>> >type in 2010/01/21 or provides e.g client side validation (i..e no need<br>> >to click submit and wait for the server to respond).<br>><br>> >In an ideal world, PHP does everything (validation, data presenting etc)<br>> >and then Javascript perhaps makes the page more interactive - but if JS<br>> >is turned off everything continues to be usable.<br>><br>> >David.<br>><br>> Hi David<br>><br>> This is
how I see it. I just need to mindful of the "if JS is turned off<br>> everything continues to be usable."<br>> I have seen some very nice and well presented content using JS which you<br>> can't do with PHP, hence my question.<br>><br>> Mo<br><br><br>>Mo - yes - depending on your circumstances it may be acceptable to make <br>>Javascript a requirement for using the site. Certainly many of the <br>>applications we produce will not work without Javascript. Hence "In an <br>>ideal world..." as it's not always worthwhile catering for 1% of <br>>potential users - especially if it's to be a corporate style application <br>>where people don't really get to choose their platform.<br><br>>You can obviously have a <noscript> good luck </noscript> (or whatever <br>>it is) in place.<br><br>>David.<br><br>Hi David<br><br>I will use both, as you say depending on the circumstances. Some people like a website to be
<br>quite interactive which is where I would use JS. But will always use PHP to do the "real" work.<br>I just felt that I was letting the PHP side down by using JS!<br><br>Mo<br><br><br><br>Mo <br><br><br></div></div>
</div><br>
</body></html>