Can I load a new URL based on a dropdown list
Posted: Fri Mar 29, 2019 12:08 pm
If you look here http://www.penninescouts.org.uk/events.html, you can select a different calendar view (actually a different URL) depending on the result of a pulldown list from the dropdown above. It uses some HTML code to update a document frame.
<script>
$(document).ready(function() {
$('#combo_1').change(function () {
$(this).next('iframe').attr('src', this.value);
});
});
</script>
How would I do something similar in WYSIWYG?
Alan
<script>
$(document).ready(function() {
$('#combo_1').change(function () {
$(this).next('iframe').attr('src', this.value);
});
});
</script>
How would I do something similar in WYSIWYG?
Alan