Its been 6 months since I am working on this project and just when I thought I am done with it, I realize that I have been using Pixels in my stylesheets all the while and this doesn’t support the browser based “text size” settings (Internet Explorer). So, when the user changes the ‘text size’ [...]
There are number of articles on internet that talk about the fix for the innerHTML issues in IE. some are
http://support.microsoft.com/kb/276228
http://domscripting.com/blog/display/99
None of these work when you try to insert javascript into the <script> tags. Thats because all these solutions talk about using a wrapper <div> for the content and it won’t work if you are trying [...]
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 = frm.substring(frm.toLowerCase().indexOf(‘>’)+1);
form.parent().remove();
form.before(frmTag);
form.prepend(rest);
}