Category: Javascript
I decided to create a collapsible/expandable navigation script as one of my first forays into jQuery, and ran into an interesting issue with the way I was using the wrap() function, and the way Internet Explorer interpreted it. I was adding some anchor tags via wrap() , like so:...
At one of our LUG meetings, NYbill noted that I had more or less been a no-show lately on the forums, IRC and everywhere else. I even missed a LUG meeting! So, I wanted to give everybody a little sneak peek on something that I've been working on... Take a look at the teaser for Hike ADK (and...
I browse with an Firefox extension called NoScript , because it's one of the only ways to secure yourself against most of the nasty things that lurk on the internet. Right now, it's almost a silver bullet for web security: it is rather hard to automatically compromise someone's PC without...
I've encountered this problem before while writing Javascript, and was recently reminded what a pain it can be to debug. Hopefully these tips will prevent you some strife in your own coding. Anatomy of the Error This error occurs when you try and access an object's property, usually with dot...
The Google Analytics folks recently announced the ability to track downloads of documents with their service. The method provided involved adding a onclick attribute to the anchor tag of whatever document you would like to track. Every time someone clicks the link to download/view the file,...
Recently, a lot of .gov and .edu web sites have been the target of SQL Injection attacks that seed their database with Javascript that does all sorts of nasty things, including targeting an old RealPlayer vulnerability. For all the gory details on this particular incident, I recommend reading...
What I know about JSON can be summed up easily, placed on a post-it note, and stuck to your monitor as a (somewhat) helpful reminder. What I know about JSON is this: JSON is the velvet rope of JavaScript. One of the reasons I can sum things up so concisely is because I have no idea how...