Category Archives: JavaScript

Making linking between anchors in an IFrame work in Chrome and Firefox 11+

About a year ago I wrote the post Making linking between anchors in an IFrame work in Firefox 4 and above which detailed a workaround for making anchor tags in IFrame’s function as expected. Unfortunately this fix stopped working as … Continue reading

Posted in Chrome, Firefox, JavaScript | 36 Comments

Making linking between anchors in an IFrame work in Firefox 4 and above

Update: For Firefox versions 11 and up see the update code. In Firefox 4 a security fix was added which prevents linking between anchors within an IFrame that does not have scroll bars. This change breaks the scenario where you … Continue reading

Posted in JavaScript | 27 Comments

Chutzpah – A JavaScript Test Runner Released

I just released to CodePlex and the Visual Studio Gallery a new project called Chutzpah (hutz·pah). Chutzpah is an open source JavaScript unit test runner which helps you integrate JavaScript unit testing into your website. It enables you to run … Continue reading

Posted in Chutzpah, JavaScript, Open Source, Testing | 9 Comments

Visually view all events attached to DOM elements

I recently found this tool called Visual Event which helps you view and inspect all events attached to DOM elements on a web page.  I have wanted a tool like this for a long time.  Often when programming with many … Continue reading

Posted in HTML, JavaScript | Leave a comment

A simple JavaScript stubbing function

Stop! If you are looking for a full featured JavaScript stubbing/mocking library you will be thoroughly disappointed by this post. There are many really good and full featured frameworks for this such as QMock , JSMock and my current personal … Continue reading

Posted in JavaScript, Testing | 5 Comments