Is it possible to make two .click method calls in javascript
问题 I have the following javascript code: function ClickButtons() { document.getElementById('Button1').click(); document.getElementById('Button2').click(); } only Button2 seems to be clicked. If I reverse the order of the statements then only Button1 (which would be called 2nd then) seems to work. FYI (don't think this is impacting this issue, here for futher information): The button clicks are doing ajax/partial page updates (they call data services and populate data on the page) EDIT: The