I have an external jQuery library that creates a popup.
Example: (This is rendered to page from custom control) My external javascript does something such as.
<script>
$(function() {
$( "#dialog" ).dialog({
autoOpen: false,
show: {
effect: "blind",
duration: 1000
},
hide: {
effect: "explode",
duration: 1000
}
});
$( "#opener" ).click(function() {
$( "#dialog" ).dialog( "open" );
});
});
</script>
Now I would like to add additional behavior after the first one finish executing
<script>
$( "#opener" ).click(function() {
// Add additional stuff here
});
});
</script>
Any ideas how to achieve this ?