Firefox cache issue I have FF 3.6.2 on Windows 7 and FF 3.5.9 on Vista. My app would detect if the user is currently connected to the Internet, if yes, show [ function button a ] otherwise not to show it. The server side code works just fine with IE7 or 8 but it fails with FF. Also session is reset upon loading of the page, so, ... 26 May 2010 19:09
Add onClick functionality using Javascript Howdy, How can I reference a function and include a parameter from a javascript? I need to include two inputs, xmlDoc and location, for my saveFile function. Without those inputs, my saveFile wont work. var myButton = document.getElementsByName(saveButton)[0]; myButton.onclick = saveFile(xmlDoc,location)... 7 Jun 2010 14:17
Find all event listeners on a link, including delegatedlisteners? On Wed, 26 May 2010 11:09:22 -0700, Matt Kruse wrote: What is the best way to find out what happens when I click a link, what function calls are fired, and on what elements they are attached to as listeners? May not get you everything, but as an idea try this: Turn on profiling, click a button, then tu... 26 May 2010 14:41
Find all event listeners on a link, including delegated listeners? I'm trying to reverse-engineer a page (Facebook, in particular) and figure out what happens when a certain link is clicked. For this exercise, I only care about Firefox. What is the best way to find out what happens when I click a link, what function calls are fired, and on what elements they are attached to as ... 28 May 2010 02:50
Executing JS code @ location.href I'm not sure if this is of any utility, but it seems that you can run JS code -apparently at the global scope- by doing this: location.href="javascript: alert(document.body.innerHTML);" and the page won't be navigated away (as long as the result is === undefined). I've tried -evilnessly- to use it to bypass the... 26 May 2010 21:21
HTML tags in textarea Hi, I have a textarea in my page and its value comes from the database. The text in the database table contains some html tags like <br />. However, when the page is rendered I see <br /> instead of line breaks and view source shows "<br />". I tries to do a replace in the js code that assigns the value to t... 26 May 2010 12:26
JS code metrics Does anybody here know of a tool which can count the number of source files and lines of code used in a project, and will parse JS files as well as the more commonly supported languages (C, C++, Java, Python, Perl, etc)? I've been using SLOCCount [0] since 2005, and it's a nice toy, but it hasn't been maintained si... 1 Jun 2010 06:28
FAQ Topic - Internationalisation and Multinationalisation injavascript. (2010-03-23) On Tue, 25 May 2010 18:56:35 +0200, Thomas 'PointedEars' Lahn wrote: Eric Bednarz wrote: Thomas 'PointedEars' Lahn <PointedEars(a)web.de> writes: Netscape Navigator 2.0, the first Web browser to support client-side scripting, which was _JavaScript_ 1.0, was released in 1996-03. http://en.w... 25 May 2010 15:44
Video: Ryan Dahl: Node.js http://developer.yahoo.com/yui/theater/video.php?v=dahl-node Enjoy, -- Jorge. ... 27 May 2010 21:27
FAQ Topic - Internationalisation and Multinationalisation in javascript. (2010-03-23) John G Harris wrote: We don't want a new name for what Netscape produced. JavaScript does that perfectly well. (And also LiveScript). The name "LiveScript" never made it into production, neither did "Mocha": <http://www.infoworld.com/d/developer-world/javascript-creator-ponders-past- future-704> | Eich:... 29 May 2010 11:21 |