Hi, inline comments ..

On Sun, 24 Feb 2008 03:02:46 pm Breton Slivka wrote:
>
> > i understand that javascript is needed to pass information from a form to
> > a data base for storage or retrieval of data.
>
> Incorrect- Javascript is absolutely not needed for this. In fact, I
> would actively discourage this usage, because it makes forms
> inaccessable to clients without javascript. (Even though I do quite
> like javascript most of the time)

Not all the time, I hope. If you have a submit listener on a form, those 
without JS will obviously ignore it and you can catch them for validation on 
the server side. The great majority of your browsers will process the JS 
submit listener and do client side validation. You can still catch them on 
the server side as well, if the listener allows the form to be submitted, 
using the same script as the first case, just that you are saving some 
un-necessary page loads (among other benefits).

>
> > i also understand there are more uses for javascript than my above
> > remark, but, again, my limited understanding of javascript draws a blank
> > for other uses.
>
> Javascript is basically a tool to allow website authors to add browser
> features that are not built in to the browser. That's how I see it
> anyway. That's not exactly how most people use it, or think of it.
>
> > i don't understand why someone would code a page and use javascript that
> > would make the page not available without it.

Think about the intended audience of the site in question. Can you think of a 
developer that would want to use this tool, particularly one who can install 
and run a PHP app, that wouldn't have JS enabled and if not, wouldn't know 
how to enable it?
If they were making a site for pensioners to update their home insurance, for 
sure it's the wrong way to do things but in this case it's absolutely 
appropriate.

My concern is more about the "scoring with girls" comment which points to 
someone who really needs assistance accessing some natural light rather than 
better html. :)

Cheers
J

>
> It's not strictly the usage of javascript that makes the page
> inaccessable, it's the page's dependance on it. If you think of
> javascript like I do- A tool for adding features- then the page still
> needs to be able to work without those features. The reasons for
> someone making a page that doesn't work without javascript are
> complicated, but it basically boils down to how the author thinks
> about what a webpage is, and how it works.




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to