What style do you use for creating a "class"? * Cinema Guy 17:56 Add Comment Edit Question There are a few ways to get class-like behavior in javascript, the most common seem to be prototype based like this: function Ve... Read More
How can I enable disabled radio buttons? * Cinema Guy 15:33 Add Comment Edit Question The following code works great in IE, but not in FF or Safari. I can't for the life of me work out why. The code is supposed ... Read More
Graphing JavaScript Library * Cinema Guy 15:06 Add Comment Edit Question I'm creating a web application on Google App Engine for fun and I'd like to include graphs so users can see some stats. Are... Read More
What's the difference in closure style * Cinema Guy 13:53 Add Comment Edit Question There are two popular closure styles in javascript. The first I call anonymous constructor : new function() { var code... ... Read More
Getting the text from a drop-down box * Cinema Guy 06:36 Add Comment Edit Question This gets the value of whatever is selected in my dropdown menu. document.getElementById('newSkill').value I cannot ... Read More
How to specify javascript to run when ModalPopupExtender is shown * Cinema Guy 16:37 Add Comment Edit Question The ASP.NET AJAX ModalPopupExtender has OnCancelScript and OnOkScript properties, but it doesn't seem to have an OnShowScript p... Read More
Length of Javascript Object (ie. Associative Array) * Cinema Guy 12:42 Add Comment Edit Question If I have a javascript associative array say: var myArray = new Object(); myArray["firstname"] = "Gareth"; m... Read More
How Do I Post and then redirect to an external URL from ASP.Net? * Cinema Guy 12:13 Add Comment Edit Question ASP.Net server side controls postback to their own page. This makes cases where you want to redirect a user to an external page, b... Read More
How to set up a CSS switcher * Cinema Guy 11:31 Add Comment Edit Question I'm working on a website which will switch to a new style on a set date. The site's built in semantic HTML and CSS, so the ... Read More
Wrapping lists into columns * Cinema Guy 09:30 Add Comment Edit Question I'm using ColdFusion to populate a template that includes HTML lists ( <ul> 's). Most of these aren't that lon... Read More
Javascript keyboard events primer? (or rather: help me with my custom dropdown) * Cinema Guy 08:58 Add Comment Edit Question I need help finishing my custom built ajax [div] based dynamic dropdown. Basically, I have an [input] box which; onkeyup, runs a... Read More
Http Auth in a Firefox 3 bookmarklet * Cinema Guy 02:08 Add Comment Edit Question Im trying to create a bookmarklet for posting del.icio.us bookmarks to a seperate account. I tested it from the command line l... Read More
Best Debugging Tools for JavaScript/xulrunner Development * Cinema Guy 21:41 Add Comment Edit Question In the past few months I began my first serious JavaScript development, as I began developing XUL applications. I use Notepad++ as... Read More
How can I turn a string of HTML into a DOM object in a Firefox extension? * Cinema Guy 12:08 Add Comment Edit Question I'm downloading a web page (tag soup HTML) with XMLHttpRequest and I want to take the output and turn it into a DOM object that... Read More
Call ASP.NET Function From Javascript? * Cinema Guy 10:16 Add Comment Edit Question I'm writing a web page in ASP.NET. I have some Javascript, and I have a submit button with an onClick event. Is it possible ... Read More
Javascript troubleshooting tools in IE * Cinema Guy 06:56 Add Comment Edit Question I use Firebug and the Mozilla JS console heavily, but every now and then I run into an IE-only Javascript bug, which are really har... Read More
MAC addresses in JavaScript * Cinema Guy 06:43 Add Comment Edit Question I know that we can get the MAC address of a user via IE (ActiveX objects). Is there a way to do the same thing in all browsers... Read More
Capturing TAB key in text box * Cinema Guy 06:27 Add Comment Edit Question Here on Stack Overflow, I would like to be able to use the Tab key within the WMD editor text box to tab over four spaces. The way... Read More
CSS background color in JavaScript * Cinema Guy 05:23 Add Comment Edit Question How can I set the CSS background color of an HTML element via JavaScript? Answer In general, CSS properties are converted to Java... Read More
How can I make the browser see CSS and Javascript changes? * Cinema Guy 02:38 Add Comment Edit Question CSS and Javascript files don't change very often, so I want them to be cached by the web browser. But I also want the web brows... Read More