Issue 72: Button OnClick
Status:  Fixed
Owner: ----
Closed:  Sep 2008
Reported by goofbay%...@gtempaccount.com, Aug 29, 2008
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

 
Sep 1, 2008
Project Member #1 nyro...@gmail.com
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
Status: Fixed