Hello,
please look here: http://thebit.altervista.org/maps/testMapAndJQuery.html
My intention is to pass some datas/variables to the #window because
then, in thid dialog window I must to call a functione and to pass the
variable.
Look the source code, that's more clair.
Eg.: I have a function
/////////////////////
function test(param)
{
alert(param);
}
\\\\\\\\\\\\\\\\\\\\\\\
and then I have
///////////////////////
// Dom
$(document).ready(function()
{
// show the windows
$('#window').dialog(
{
// black bg
modal: true,
autoOpen: false,
buttons:
{
'Cancel': function()
{
$(this).dialog("close");
},
'Confirm': function()
{
test(varToPassExample); // it's the var
passed from "domready"
addListener but I don't know how to pass it.
$(this).dialog("close");
}
}
});
}
\\\\\\\\\\\\\\\\\\\\\\\\\\
--
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.