[Javascript] Odd behaviour?

David Dorward david at dorward.me.uk
Mon Sep 4 04:06:46 CDT 2006


On Mon, Sep 04, 2006 at 09:13:05AM +0700, Peter Lauri wrote:
> I make an AJAX request and on the server side this is generated (I push it
> into a database to detect problem before outputting it in the script that is
> requested with get):
> 
> <table>
> <p style='float: right;'>

Invalid. <p> elements may not be children of <table> elements, and
this is an area where browsers act differently in their attempts to
compensate for the error.

> <a href='javascript:teamToDoHideInfoBox(1, 6);''>Close</a></p>

http://www.jibbering.com/faq/#FAQ4_24 and you have a rogue quote there
too.


-- 
David Dorward                                      http://dorward.me.uk




More information about the Javascript mailing list