Should be easy to spot using firebug. Or firebug lite in IE On Wed, Feb 11, 2009 at 4:58 PM, ctx2002 <[email protected]> wrote: > > thought this is helpful to other developers too. > > I am developing a jquery script. > I am use this $("<a>").html("<img alt='example' src='example.jpg></ > img>") > to dynamically adding a "img" tag inside "a" tag. (note, > src='example,jpg has no closing single quote ). > > in firefox, "img" tag showed up, but in IE and opera "img" tag did not > show up, > so i have spent 2-3 hours try to find out why? > then finally found out that "closing single quote problem". > > my question is, are there any tools to prevent this type of error? > or any good practices to prevent this type of error. > > >
-- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
