Tick "Auto close quotes" in preferences of your favourite IDE :)
Alexei
On 11/02/2009 16:58, ctx2002 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.
> >
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---