[Javascript] get link to execute script rather than load page

Lau lau at goldenweb.com.au
Wed Feb 6 20:20:49 CST 2002


Hey Jeff,

Thanks for the great article!
You have caused me to think seriously about non-javascript users.

Can you tell me what sort of browsers/users do not have javascript enabled?
Do webtv browsers have javascript?
Roughly what percentage of browsers/users don't have javascript enabled?
(I'm designing my site for Netscape 4.0 and IE 4.0 and above because I
thought the percentage of users using older browsers was pretty small.)

Are there any government regulations that require government web sites to be
non-javascript capable?

Maybe you could write a follow on article on why I should bother to handle
non-javascript browsers?

In your article your wrote:
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> If you're trying to submit a form from a link, stop, go directly to jail,
> do not collect $200.00.
> Besides the numerous expected behaviors of forms that you're breaking
> (we're talking about usability here) by not using a submit button of some
variety,
> you're needlessly neutering the form for non-JavaScript enabled users.
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

I'm guilty of this behaviour. Apart from "neutering the form for
non-JavaScript enabled users", what are the "numerous expected behaviors of
forms" that this behaviour breaks?

Once again thanks for the great article.
 Looking forward to your reply.

Peace
Lau


----- Original Message -----
From: "Jeff Howden" <jeff at c4webdesign.com>
To: <javascript at LaTech.edu>
Sent: Thursday, February 07, 2002 7:24 AM
Subject: RE: [Javascript] get link to execute script rather than load page


> lau,
>
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > From: Lau
> >
> > How do I get a link to execute some script rather than
> > load another page? (no I don't want to use a button)
> >
> > The best I can get is:
> >
> > <A HREF='#' onclick='Javascript: OpenNewWindow()'>
> >
> > However, this scrolls the page back up to the top -
> > which I don't want to happen.
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
>
> i wrote an article just for you.
>
> http://evolt.org/article/javascript/17/20938/
>
> good luck,
>
> .jeff
>
> http://evolt.org/
> jeff at members.evolt.org
> http://members.evolt.org/jeff/
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list