What steps will reproduce the problem?
1. Having separate javascript animate function on separate element
2. Using a button tag inside the modal causes page to refresh and undo other javascript events.
What is the expected output? What do you see instead?
I have created a site-bar that when the minimize button on the bar is clicked the bar minimizes and the modal opens. A form is displayed asking the user if they would like to permanently close the bar. Upon hitting the "submit" button the main page refreshes and displays the site-bar again.
What version of the product are you using? On what operating system?
Version 2 Windows Vista
Please provide any additional information below.
I am not sure if the problem is with nyroModal or the site-bar but I don't want the page to reload after using the submit button in any case. It doesn't reload when using the close button in the top right corner only when using the button created by the HTML form.