// Open Modal function openModal(){ $('#myModal').modal('show'); } $(document).ready(function () { // Open Modal after Login if(window.location.href.indexOf("?fp") > -1) { openModal(); } }); -->