I have gone insane trying to figure out how to make this work. Code looks roughly like: function onDropDownChanged() { $(“#updatePanel”).load( “myUrl”, { id: $(“#myDropDown option:selected”).val() }, onPanelLoaded ); } function onPanelLoaded() { $(“#theTextInput”).focus(); } $(document).ready(function() { $(“#myDropDown”).change(onDropDownChanged); } The first time the change handler is fired, it does the ajax update, and the text […]
Category: javascript-events
Problem with (X) button in window
How to disable (X) button in window. I tried with some properties like titlebar=no/0 in window.open but it is not working fine. Can anybody help me with this query. Thanks in advance