So, if you're building a unknown sized form, and want to iterate through the inputs in order to change them all in some way (i.e. add an onchange function), be careful with the ID's of them. IE will interpret any inputs whose ID is "length" and mess up the otherwise (and other browser) safe document.fields.length in your for loop and mess up big time.
f'rinstance: var fields = document.getElementsByTagName('input'); for (var i = fields.length; i >= 0; i--) { var field = fields[i-1]; field.onchange = changeFunction; }
IE interprets fields.length as the input whose ID is "length" and therefore makes 'i' into an [object HTMLInputElement] and the iteration breaks with effectively a null pointer. So. Change the ID of the input from "length" to "legnth" and all is well again.
Took an hour or two to sort out so I thought a share might ensure I don't forget it again.
Maybe its time to move my postings on from the vestas campaign, but although the main thrust of the fight has tailed off, it's still a family affair for me and more information never hurt anyone.
So... the bbc re-visited the original set of people it interviewed at the time of the sit in.
Ventnor Blog has coverage and quite a few comments about the repercussions of a protestor who climbed over a fence and inside a blade at the plant in the IOW. Also covered in the IWCP which also has the recent removal of the camp at the marine gate here.
Ventnor Blog also has coverage of an Island group showing support for them. the ecologist mentions them in relation to ensuring that green jobs are also good jobs. socialist party has coverage from the trip to Brighton Labour conference, but very few other mentions of it. business green notes that all major players are to "focus all future wind-energy investments in North America". Caroline Lucas MP says re-instatement should occur. The daily green talks about wind being a "disruptive technology." TUC remarks that vestas may be the way forward?
In watching the much acclaimed and recently returned Shooting Stars last night, I was hit by the idea that the programme is a bizarre mixture of slapstick and abstract comedy. So the term 'slapstract' was born.
both blogged on the makezine.
Meanwhile, it seems police have stormed the Vestas marine gate blockade and allowed the company to move out the remaining blades from the now closed factory. Workers are still saying that this is not the end of the fight, but another bargaining chip has been lost.