Talk:JavaScript: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (removing Javascript instead of JavaScript "discussion")
(suggest moving "scripting of Java applets" to the developer article)
Line 10: Line 10:
We should *not* merge these two articles. See [[Talk:JavaScript is not Java | here]] for reasons why. --[[User:Mozcerize|Mozcerize]] 04:01, 29 Mar 2005 (PST)
We should *not* merge these two articles. See [[Talk:JavaScript is not Java | here]] for reasons why. --[[User:Mozcerize|Mozcerize]] 04:01, 29 Mar 2005 (PST)


== Javascript Buttons ==
===Including Scripting of Java Applets===
 
I don't think this is the appropriate place for this info. I suggest moving it to the development JavaScript article. [[User:Mozcerize|Mozcerize]] 01:20, 13 September 2005 (PDT)
I created a "?" button two different ways:
 
Button A:
<button onClick="listPriceHelp()" style="background-color: red"><font color=white><b>?</b></font></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 --[[User:Asqueella|asqueella]] 20:18, 14 Apr 2005 (PDT)
 
Then what is the "Discussion" board for?
: For discussing potentially controversial changes to the article. --[[User:Asqueella|asqueella]]

Revision as of 08:20, 13 September 2005

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)

Including Scripting of Java Applets

I don't think this is the appropriate place for this info. I suggest moving it to the development JavaScript article. Mozcerize 01:20, 13 September 2005 (PDT)