Start Learning ECMAScript 5 - ES3 And Then Learn ES5?
May 19, 2010I am a begginer in JavaScript,
Do I start learning(today) ECMAScript 5 or ES3 and then learn ES5?
I am a begginer in JavaScript,
Do I start learning(today) ECMAScript 5 or ES3 and then learn ES5?
Is it better to learn html, javascript, php, then mysql if you want to start ur site? Is it better to learn it in that order?
View 3 Replies View RelatedDoes the "semicolon insertion" really affect you if you format code as
function x (y)
{
// ...
}
instead of:
function x (y) {
// ...
}
The jslint page complains about lines ending in ) due to the nebulous
idea of "semicolon insertion". I have not reviewed the ECMAScript pdf
in great detail to try to pin this pretty-printing issue down. In
general, I find that code formatted in the "K&R" style (opening brace
on same line as if, while, function) confusing and difficult to read
compared with placing curly braces on separate lines.
On another subject, the difference between inner functions defined
explicitly versus defined using function expressions seems like a good
one for a FAQ. Under what circumstances does it make a real
difference whether you use function expression versus function
statement versus Function object?
I'm looking to learn Javascript.
My knowledge of it is currently very limited, so I would like to learn it properly.. from scratch.
Could anyone recommend me Javascript resources?
Strange question i know, but i am trying to read javascript ( not necessarily clever enough to program), so that i can at least understand other scripts when incorporating them on my site as i feel this is important.
Would it be ok to go straight to v1.5 or as there are differences between the versions, start at say 1.2 and learn the differences between the upgrades.
I suppose i am hoping that i only need to start at 1.5 to make things easier.
I want to learn javascript.
View 1 Replies View RelatedI have found this nice background rotator:
Code:
<style>
body
{
/*Remove below line to make bgimage NOT fixed*/
background-color:black;
background-attachment:fixed;
background-repeat: no-repeat;
[Code]...
when i run it, i have to wait the 9000 timer to c the first image, and i need the page to start with an image and then start the rotation, i have assigned background-image by css, and tried also to use document.body.background, but when i do this the rotator doesnt work.
The ECMAScript Technical Committee is now working on the fourth
edition, the first implementation of which is JScript.NET. It
includes a compiler, allowing you to create standalone JScript
executables.
The fourth edition of ECMAScript will provide new features like
typed variables, and classes. More information can be found at:
Can any explain the relationship between JavaScript and ECMAScript?
View 4 Replies View RelatedI noticed the recent move to standards compliant JavaScripting. All my code (XHTML and CSS) is coded to standards, so I don't want to start learning outdated material that wont sit right on with web standards.
What is the difference between JavaScript, ECMAScript and the DOM ?
I found a cheap JavaScript book at a bookstore (in the bargain bin) that looked quite good despite the low price. Will I most likely be learning invalid techniques if I use this book as a starting point?
I feel lost with all these different terms that seemingly mean the same thing: JavaScript.
I want to learn it, but I don't want to waste my time either. What is the best way to learn standards compliant JavaScript? Can I continue with what I have already (I have the JavaScript bible and another book I forget the title at this time) then slightly alter my knowledge to be standards compliant, or is it a whole new ball game?
I'm experienced with PHP and I'm familiar with JS syntax but still a beginner.
Now I want to learn AJAX And JS and I've looked at jQuery but it doesn't look like JS to me, I mean I'm sure it is but it looks to me like jQuery has a syntax of it's own and I want to learn not just a framework but also the underlying language.
So now my question is; what framework will be the best choice when that is my goal?
I am student of BS Computer Science first semester. Html and Javascript are included in my first semester course. I wonder what is the best way to practice codes/scripts. Most of the time when I find code in my notes. I write it first time by seeing from notes, then second without seeing and third time without seeing but it consumes by lot of time. I use notepad.
View 2 Replies View RelatedSorry I couldn't find appropriate group for
SVG and ECMAScript. Since SVG is in XML format
and ECMAScript is very similar to JavaScript.
What's why I post in these two groups.
In the O'Reilly SVG book, in chapter 11
Animating and Scripting SVG. It mentions
some very basic functions like
var circle = event.getTarget();
var obj = svgDocument.getElementById("idName");
I got error message said these are no a function
in Firefox and batik-squiggle.jar
When I used SVGView plug-in (made by Adobe) for IE .
I typed:
var svgObject = evt.target;
var svgDoc = svgObject.getOwnerDocument();
var svgElement = svgDoc.getElementById(idName);
var svgStyle = svgElement.getStyle();
svgStyle.setProperty('stroke-width', 3);
These lines are working fine for SVGViwe Plug-in by
not work for Firefox and batik.
They complained that getOwnerDocument is not a function.
I tried to change getSVGDocument but no luck.
Is that O'Reilly book too old? Its first editoin is 2002.
How can I make getElementById() working in Firefox and Batik?
Is there some examles or some documents?
I'm testing out the Opera browser to see what to expect from the upcomming Wii browser. But whenever I try to play this javascript game (www.kirl.nl/javaSnake.html), I get the following error:
"ECMAScript interpreter stack overflow.
Script terminated."
How does Opera handle Javascript diffrently, is there possibly a site wich lists the diffrences between the browsers and how they handle code?
Any specific Opera quirks you know of?
Does anyone have and good resources(free possibly) for learning javascript?
View 1 Replies View RelatedI learn OOP in javascript. and a few articles say that we can create a static prop/meth to an object just like a predefined object. But i think it just a prop/meth assingned to a constructor. Or is there really static meth/pro in javascript?.
View 1 Replies View Relatedhow long did it take you to kearn Javascript to the point that you felt comfortable and confident! I am finding that I seem to be having a harder time with it than others! I have been learnig javascript for 4 years now and still find myself having trouble grasping the big picture?
I would think after so long one would know their way around the language what ever it maybe! I guess basically I would like to know if it is normal to be so confused about javascript?
In JavaScript 1.5, objects can use special getter and setter functions
[1] for properties. However, these only seem to be implemented in Gecko
and, AFAICT, don't seem to be part of ECMAScript.
Is there an alternative syntax I can use that is standardised in
ECMAScript and also (preferably) interoperably implemented in several
browsers? Or, do I have to use ordinary getFoo() and setFoo() functions. Code:
What is the best book to learn ,PHP,Javascript,DHTML, and AJAX?
View 1 Replies View RelatedAnyone have a javascript book recommendation. I'm experienced in development in ASP.NET and VB.NET, but have little knowledge of javascript.
View 2 Replies View RelatedI'm in the process of learning JavaScript. I picked up a "JavaScript for dummies" book at the library and it wasn't going too well. It was poorly written and made it difficult to understand things in the later chapter.
What is the best online resource to learning JavaScript? Preferrably one that is good at explaining format ( I often find myself wondering if certain aspects in my script need ()'s or a "=" sign).
For example, HTML has tags and that is what forms the mark up. I know JavaScript has multiple aspects (functions, objects), but I want an online resourcethat properly explains the format of these aspects.
Can someone tell me how to learn JS? Can you recommend me some books or video tutorials? What is the best?
View 2 Replies View RelatedI have no js experience or coding experience of any kind other than the last few hours of reading a book called 'object-oriented javascript', and all was well until loops. firstly, this is how he teaches the while loop...
var i = 0;
while (i <10)
{i++;}
which results in 9 we move on to for loops...
var res ='';
for( var i = 0; i <10; i++)
{res += 'sometext' ;}
which repeats, but I'd like to be able to make that into a sequence of numbers... 123456789.
I am currently learning jQuery from the book Learning jQuery 1.3 and I have run across a block of code that is not working for me in FF or Safari.
Here it is copied straight from the book (page 64)
I tested the next step that accomplishes the same thing with different code but I would like to understand why this is not working.
I was wondering how to make URL...by Karl, work with an unordered lis instead of divs. I tried the below but did not work. I think what I have done here ('.links:visible');looks plain wrong (I can't put a class or an Id in there right??)[code]
View 3 Replies View RelatedProblem: I have a piece of HTML-content, with <hr/> as section breaks. I want to replace the <hr/> with a new <div>. Thus, original: <div>Test test test<hr/>Test test test</div> Result: <div>Test test test </div<div>Test test test</div> With $('hr').replaceWith('</div><div>') it does not work, because the replacement is not valid HTML.
I want to create columns, with <hr/> the column-divider. Perhaps there is also a better solution. The editor is creating the content and inserting HR's where a new column should start.