Archive for the ‘jQuery’ Category

HTML Forms and Inputs… This one will throw you for a loop.

Friday, June 11th, 2010

While working on an internal project fitted specifically for Firefox (currently in version 3.6.3,) I was confronted with an issue unlike anything I have encountered previously. The summary goes like this: Any form elements with the name attribute specified is appended to the parent <form>’s list of attributes.

While this may seem simple enough, let’s look at some of the implications of such a thing. (more…)

Javascript Element Events

Monday, June 7th, 2010

While building a jQuery plug-in this past week which requests table heading and data information which in turn dynamically generates a table with in-place on the fly editing, I encountered some unexpected and unwanted behaviour in Firefox 3.6.3.

I have an onClick event bound to every <td> within the table’s <tbody> element. In turn, when clicking on any one of these cells, an edit method is called which replaces the static contents with an interactive element such as a text input, drop-down, or auto-complete field. Below this interactive element is placed an absolutely positioned <div> containing a list of actions relative to the cell you are now editing such as save and cancel- Each with their own onClick events bound to particular actions.
(more…)