Friday, 27 September 2013

jquery ui dialog within infoWindow

jquery ui dialog within infoWindow

Is it possible to use ui dialog within an infoWindow or an infoBox ?
This code doesn't work:
google.maps.event.addListener(marker,"click", function()
{
html = "$('#dialog-click').dialog({...})";
ib.setContent(html);
ib.open(map,marker);
}
<div id="dialog-click">
<label for="name">Name:</label>
<input type='text' id='name' />
<label for="firstname">Firstname:</label>
<input type='text' id='firstname' />
</div>

No comments:

Post a Comment