Javascript alert message problem

L

Laurent Bugnion

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
 
L

Laurent Bugnion

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top