I agree with Sid, Firebug would be the best way to go. You've got HTML
inside javascript which could reside in a number of different file
types. Unless you've got an IDE that code colours encapsulated quoted
strings within other strings (can't think of one), you'll just have to
debug on the output side.

Curious to know how it worked in Firefox though.

On Feb 11, 9:25 pm, Sid Bachtiar <[email protected]> wrote:
> No, but you can inspect the area where you expect to see the missing
> element, which would reveal the problem.
>
>
>
> On Wed, Feb 11, 2009 at 9:21 PM, anru chen <[email protected]> wrote:
>
> > how?
>
> > will firebug give any error message?
>
> > regards
>
> > On Wed, Feb 11, 2009 at 5:45 PM, Sid Bachtiar <[email protected]> 
> > wrote:
>
> >> 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
>
> --
> Blue Horn Ltd - System Developmenthttp://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]
-~----------~----~----~----~------~----~------~--~---

Reply via email to