setTimeout in select box change event
asp.net
Solution
From MSDN:
The JavaScript setTimeout method is used with the _doPostBack method to ensure that the user action completes before the postback occurs.
Problem
When I have autopostback set to true on a select box, why is the 'setTimeout' necessary in the onchange event? Why isn't __doPostBack just called directly? ``` onchange="javascript:setTimeout('__doPostBack(\'ctl00$myselect\',\'\')', 0)" ```