Learning from jQuery
Callum Macrae
Language: English
Pages: 116
ISBN: 1449335195
Format: PDF / Kindle (mobi) / ePub
- Enhance your jQuery code by using object constructors and prototypes
- Reduce overhead and gain more control by handling events with JavaScript
- Work with the Dom much faster with JavaScript than you can with jQuery
- Send a few Ajax requests without having to load the entire jQuery library
- Understand the importance of JavaScript code standards, comments, code reuse, and anti-patterns
- Enlist JavaScript resources, such as a good IDE, a syntax checker, and version control
Node.js for PHP Developers: Porting PHP to Node.js
Getting Better: Why Global Development Is Succeeding--And How We Can Improve the World Even More
Introduction to Programming Using Python
Software and System Development using Virtual Platforms
Explorer var req = new ActiveXObject('Microsoft.XMLHTTP'); 35 } var url = '/ajax/?foo=bar'; req.open('GET', url, true); req.onreadystatechange = function () { if (req.readyState === 4 && req.status === 200) { console.log(req.responseText); } else if (req.readyState === 4) { throw new Error('XHR Request failed: ' + req.status); } }; req.send(); That sends a GET request to /ajax/?foo=bar, and then if the request succeeds, logs the output to the console. If it fails, it throws an error. There
time() is: