Categories

Unclosed <P> before <form> breaks form submit in IE when using jQuery

If you are facing issues with form submits using jQuery in IE because of unclosed <P> tags.

Try this:

var form = $(document).find(“form”);

var frm = form.parent().html();

if(frm.toLowerCase().indexOf(‘form’) > -1 && frm.toLowerCase().indexOf(‘/form’) == -1) {
var frmTag = frm.substring(frm.toLowerCase().indexOf(‘<form’), frm.toLowerCase().indexOf(‘>’)+1);
var rest [...]

jQuery.append() Behaviour

jQuery.append() behaves a differently in different situations. It sometimes moves the contents from the DOM to the new location where it is appended and sometimes it clones it (keeping a copy of the dom element in its original location). I stumbled upon this when trying to fix an issue with <form> submit. The content I was [...]

Time Tracking System (updated)

Filling up the timesheet never interested me and the thought of remembering what I did through out the day and putting time against each one of them was a pain. I always wished if there is an easier way to do it or in a way automate this redundant task. There are many tools available to [...]

Firefox Plugins: My recommendations

Today, a dear friend of mine asked me to send the list of plugins I use in Firefox along with details on what they do. I thought I should post it here for others as well.

So, here are some of the plugins I frequently use. Please feel free to post your recommendations as well.

1. Firebug

A nice [...]

Flex 4 and New Text Engine

Flash player’s support for left to right text has been limited ever since the beginning. But Flash player 10′s new Text Engine is going to change all that. Flash Text Engine (FTE)  is the set of new classes that are part of Flash Player 10 which supports low-level text functionality. The Flash Text Engine has [...]