Anyone? Or should i just call the setcontent method again?

On Oct 17, 5:57 pm, asantos <[email protected]> wrote:
> I have an InfoWindow array in a Google Maps. Each of those InfoWindows
> has this content:
>
> "This is some text. <span class="temp">This is temporal text.</span>"
>
> Then, via jQuery (after some action of the user) i hide the "temp"
> span for all InfoWindows:
>
> $('.temp').css('display','none');
>
> It works ok for spans that are on plain html; but when it comes to the
> InfoWindow, the CSS doesn't change.
>
> This is what I tried as a solution but it didn't work neither::
>
> $('.temp').css('display','none');
> $.each(info_window,function(index,value){
>     info_window[index].setContent(info_window[index].getContent());
>
> });
>
> Any ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to