Google Groups Home
Help | Sign in
Message from discussion read openinfowindowHTML
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
geocodezip@gmail.com  
View profile
 More options May 9, 4:51 pm
From: "geocode...@gmail.com" <geocode...@gmail.com>
Date: Fri, 9 May 2008 13:51:44 -0700 (PDT)
Local: Fri, May 9 2008 4:51 pm
Subject: Re: read openinfowindowHTML
On May 9, 1:05 pm, dms <diegui...@gmail.com> wrote:

> Hi there.
> anyone can tellme how to get the input value???

> here is the code

> GEvent.addListener(marker, "click", function() {
>                 var html = "<label>What:<br /><input id='what' type='text'
> value=''></label> <button onclick=saveMarker()>save marker</button> ";
>                 marker.openInfoWindowHtml(html);
>         });

> function saveMarker(){
>     alert(document.getElementById('what').value) // doesnt works.

> }

Link?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google