CARVIEW |
Earn Rewards, Reputation, and Badges
Redeem the reputation points you've earned from participating in O'Reilly Answers for O'Reilly ebooks, videos, courses, and conferences.
Learn more »
Recommended for You
Topics: javascript
javascript Feed
javascript Open Questions Feed
javascript Email
Open Questions via Email

Please sign in or register to post.

Please sign in or register to post.
-
What is the best way to parse an HTML file with javascript / jquery?
Asked by alanwunsche : 30 October 2010 - 08:10 PM
Answered by alanwunsche : Yesterday, 01:11 PM
I've had some success... I went ahead and parsed the html I received here: <script type="text/javascript"> $.get("https://rankings.swimming.ca/index.php?page=... full answer >
-
How to use the Module Pattern in JavaScript
By chco: 28 October 2010 - 03:37 PM
This excerpt from Javascript Patterns explains how to write modules in Javascript to help you structure your code and make it easier to maintain.The module pattern is widely used b...
-
How to use JSON (JavaScript Object Notation)
By chco: 24 October 2010 - 02:16 PM
The following excerpt is from Javascript Patterns. The author explains the use of JSON, gives a few words of advice, and provides a handful of examples.Let’s take a look at JSON, which sta...
-
When to Use the Array Literal Notation in JavaScript
By chco: 19 October 2010 - 05:06 AM
Below we have an excerpt from Javascript Patterns. In this excerpt the author explains the use of the array literal notation and how you should use it.Arrays in Javascript, as most...
-
How to use Object Literals in JavaScript
By chco: 12 October 2010 - 06:57 PM
In the following excerpt from Javascript Patterns the author speaks to the use of object literals, their proper application, and offers a few examples. When you think about objects in Ja...
-
How to use for Loops in JavaScript
By chco: 10 October 2010 - 06:07 PM
The following excerpt from Javascript Patterns explains the different ways to use for loops in Javascript and recommends the best pattern to optimize your code.In for loops you ite...
-
Jquery load and superfish
Asked by Graham Millman : 10 October 2010 - 09:07 AM
Answered by David_McFarland: Oct 11 2010 06:14 PM
You're encountering this problem because of the order in which the Javascript executes on the page. When you call the Superfish function, a bunch of code is attached to the navigation me... full answer >
-
Display text in separate page using Javascript button
Asked by Pharaoh8721 : 26 September 2010 - 06:38 PM
Answered by arjonesiii: Sep 27 2010 07:37 AM
Here's an example. Paste the code below into a new text document and save it as Page1.htm. Then browse to the page you saved and click the button. It will open a second window containing the text ... full answer >
-
Why You Should Use the Var Keyword in JavaScript
By chco: 19 September 2010 - 01:29 PM
Many self-taught Javascript programmers believe that the var keyword is optional because they do not observe different behavior when they omit it. On the contrary, omitting the var keyw...
-
Test-Driven Development with the Closure Testing Framework
By chco: 18 September 2010 - 06:52 AM
This excerpt from Closure: The Definitive Guide will show you how to use test-driven development to examine code that validates an email address. This example lends itself to a technique known as test...
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
|