Talk:JavaScript

From MozillaZine Knowledge Base
Revision as of 22:37, 19 April 2005 by Asqueella (talk | contribs) (removing Javascript instead of JavaScript "discussion")
Jump to navigationJump to search

Wording of article

I'm not a big fan of the rewording of this article: I think it is now harder for non-technical users to understand what JavaScript does. We should compromise somewhere between the under-technical and the over-technical. --Mozcerize 04:01, 29 Mar 2005 (PST)

I think that in this case less technical would also mean less accurate. If you want to make it perceptible for commoners, add a dumbed down rephrase. Note that I plan on expanding this article. —Fatalis
I would like to notice that we don't need an encyclopedic article here. Wikipedia's article is a great source for this kind information. This page should instead focus on what JavaScript means to end-users, for developers we can add a link to Development_resources#JavaScript.
For users simpler, not technically accurate description is better -- users don't care about ECMAScript or it being prototype-based, most probably don't even understand what it means. --asqueella

Including JavaScript is not Java article

We should *not* merge these two articles. See here for reasons why. --Mozcerize 04:01, 29 Mar 2005 (PST)

Javascript Buttons

I created a "?" button two different ways:

Button A: <button onClick="listPriceHelp()" style="background-color: red">?</button> Button B: <input type=button value=? style="background-color:red; color:white; font-weight:bold;" onClick="listPriceHelp()">


function listPriceHelp() {

 alert("If you can buy the product at a higher price\nsomewhere else enter that price here\nwill show this price with a line through it.\n\nLeave blank to display nothing.");

}


In IE it sends the Alert and you hit OK and it comes back with both Button A & Button B. In Firefox 1.0.2 it with Button B it works find. With Button A it pops up the Alert and then Submits my form. I have added a "return false;" and it still does it.

Any thoughts on what's up?

Thanks

This is not the right place to ask questions about JavaScript. Try some forums --asqueella 20:18, 14 Apr 2005 (PDT)

Then what is the "Discussion" board for?

For discussing potentially controversial changes to the article. --asqueella