Looks like if we just add the following to the "var wrap =" logic it
should start to work (haven't tested cross-browser but it's a start):

!tags.indexOf("<area") &&
[ 1, "<map>", "</map>" ] ||



On Aug 31, 12:43 pm, aHeckman <aaron.heckm...@gmail.com> wrote:
> It seems like this is a bug in jQuery.clean. It's trying to use
> innerHTML to append "<area/>" to a div, which won't work (at least in
> FF3.5.1 which I tested on).
>
> On Aug 29, 6:30 pm, Philippe <philippe....@gmail.com> wrote:
>
> > The append() function doesn't seem to work with map elements.
>
> > My map element :
>
> > <map name="myMap" id="myMap">
>
> > </map>
>
> > My jquery code :
>
> > $("#myMap").append('<area shape="rect" coords="0,0,200,200" />');
>
> > What is the problem? Am I doing anything wrong?
>
> > Phil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to