-
Recent posts
My Pinterest feed
Category Archives: JavaScript
JavaScript Decision Tree tool
My goal has been to make a JavaScript Decision Tree tool as a new content module for our next site redesign. It needs to work such that the same piece of JavaScript can be utilised without modification for any decision … Continue reading
Posted in Coding, JavaScript
34 Comments
IE: How to properly destroy your ‘select’ elements with innerHTML!
I know that some people, myself included, say that you’re not supposed to use innerHTML. And yet for expediency’s sake, I find myself using innerHTML. Problem I’ve got an AJAX request to a JSP page which in turn performs an … Continue reading
Posted in Coding, JavaScript
1 Comment
How I discovered ‘cloneNode’
So I was trying to copy all the <option></option> elements from one <select></select> element to another. I had a drop-down list of countries, and I wanted users to be able to select more than one country, so had a ‘Add … Continue reading
Posted in Coding, JavaScript
Leave a comment
JS vs. IE; round two.
So I learned (the hard way) that IE doesn’t like it when you create JS variables with the same name as the id of an element in the code. Thanks, Stuart.
Posted in Coding, JavaScript
1 Comment
Irksome: Internet Explorer vs. JavaScript
So I’m coding a form and I want the user to be able to add more rows to it, if they wish. So when the user activates a control, I use JS to create some ‘input’ elements (including some radio … Continue reading
Posted in Coding, JavaScript, User Interface, Web Standards
6 Comments
Charts and graphs and stuff
It’s funny how things come in droves. A good friend of mine has, over the years, written a few applications that require graphing. He has written them as VB applications and when I’ve suggested he make them as web-apps, one … Continue reading →