Javascript alert message problem

  • Thread starter Thread starter Tony Girgenti
  • Start date Start date
Hi,
Two things:
1. I still won't leave that "millions of users" audience

I am not sure if you're stubborn on purpose, or if you really don't
understand what I say.

You advised the OP to abandon JScript and learn only JavaScript. In
other words, you recommended to stop developing for IE and develop only
for Mozilla-based browsers.

My recommendation is to not develop for one browser in particular, but
to use standard constructs and feature detection to make code compatible
with all major browsers.

Noone asks you to leave any audience. By using standards you can win
both worlds easily. Why would you want to do anything else?
2. Firefox is anyway more secure as compared to IE. Well, at least I have
more faith in it :-)

Once again, noone asked you to leave anything aside. Besides, your
personal preference is totally irrelevant, as you don't develop websites
for yourself but for users, who may have other preferences.

If you were a cook and only baked chocolate pies because that's what you
prefer, you wouldn't have many customers.

HTH,
Laurent
 
Hi,
Should be the second part. :-)

That's my guess too ;-)

btw, still wondering why go for JScript when JavaScript should be just
enough... Or again, I'm really not understanding something :D

JScript is Microsoft's implementation of ECMAScript. You use JScript
when you program a script which runs in Internet Explorer.

JavaScript is Microsoft's implementation of ECMAScript. You use
JavaScript when you program a script which runs in Mozilla-based
browsers (Firefox, Netscape, Mozilla...).

If you program only JavaScript, but no JScript, it's the same as saying
that you want to program only in Mozilla-based browsers, and
deliberately ignore IE.

What I am saying is that it's easy enough to have good script working in
both browsers. So I don't see the need to ignore IE.

HTH,
Laurent
 
Back
Top