Is there anyway to reload part of the page, similar to how the LOAD()
function works, when a dropdown menu is change?
I can't use simple AJAX, as the part of the page I'd like to be reloaded
contains a div tag that gets filled by a javascript function when the page
is loaded. I'd like to be able to fill the target div by the javascript
function with properties that change based on the value of the dropdown
menu. Here is part of my code. The code uses the gmaps.js library. The page
also contains the dropdown menu.
// Javascript code:
<script type="text/javascript">
$(document).ready(function(){
map = new GMaps({
div: '#map',
lat: {{=lattitude}},
lng: {{=longitude}},
enableNewStyle: true
});
});
</script>
// target div:
<div id="map"></div>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.