Your jQuery is not working because the elements do not exist in the
DOM when you are running the jQuery code.  Move your jQuery code out
of the $(document).ready(function(){}) and into the click listener for
your infowindow.

On Apr 18, 4:11 am, thebit <[email protected]> wrote:
> > The contents of the infowindow (<input>, <a> tags etc.) don't exist in
> > the DOM until _after_ the infowindow has been opened.
> > So you can't attach jquery actions to them ahead of time, such as $
> > ('input.alertMe').click(...)
>
> So, How I should to do?
> 1) Please, can you post a little example or say me in which way I can
> open a jQuery Window?
> I understand I cannot utilise the syntax "$
> ('input.alertMe').click(...)".
> 2) In your opinion, it'better tu utilise "domready" instead of the
> native Infowindow?
>
> thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to