<script type="text/javascript"> $(document).ready(function(){ $(".demo button, .open-demo-btn").first().click(); }); </script>