| Issue 72: | Button OnClick | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hi, I want to know how this nyromodal might with with a standard <button> I want to show the contents of a hidden div, but from clicking the button not a <a> link. Thanks |
There is nothing in nyroModal to do that directly. But you can do it with this code: $('button').click(function(e) { e.preventDefault(); $.nyroModalManual({ url: '#test' }); return false; }); Hope it'll help