JavaScript 22 August 2018 Type hints for JavaScript in Visual Studio Code You've got some javascript you want to refactor so you open Visual Studio Code and get cracking. But since you've decided to write it in
JavaScript 2 March 2017 Extending Javascript prototypes Browsers have varying support for different features in javascript, some support more functions, others support less. I'm not going to be so crass as to
jQuery 11 September 2016 Introducing jQuery.dirty Having previously blogged about checking if a form has been modified [https://simonreynolds.ie/checking-on-client-side-if-form-has-been-modified] I needed something slightly different I came across dirrty [http:
DateTime 6 August 2015 Going on a date with javascript First things first, the Date object in javascript is misnamed, it represents a date and a time. It should be DateTime instead but that's nowhere
JavaScript 30 July 2015 Javascript and weakly defined types (Part 2: Electric Boogaloo) Javascript and its lack of strong typing continues to cause headaches. Today's one is caused by the following bit of madness if (true) { alert("true
Internet Explorer 20 November 2014 Internet Explorer and button events Filing this one under "Strange decisions that Internet Explorer makes", IE will assume that when a user hits enter in a textbox, they want to
JavaScript 16 October 2014 Javascript, isNaN and parsing A word of warning with javascript and the magic of the isNaN function If we have an element such as Then if myelement has a
C# 28 September 2014 Parsing numbers in C based languages In some C based languages such as C++, Java or Javascript any leading zeros at the start of a number will cause that number to
JavaScript 28 September 2014 Javascript and weakly defined types Javascript is a weakly typed language, a variable can be equal to another if they have the same value even if they are different types.
Browser Link 24 July 2014 window.onbeforeunload not running After recently upgrading to Visual Studio 2013 I noticed that a page which uses the window.onbeforeunload event wasn't calling the method I wrote. Checking
JavaScript 10 June 2014 Checking on client side if form has been modified I'm editing a record in a web application and I accidentally click on something I shouldn't have. The page navigates away and when I hit