Reputation: 5585
I am using nyromodal . When i try to open , the modal using the code below :
<a id = "idDef" href="#" onclick="callNyroModal();" >What's idDef ?</a>
function callNyroModal()
{
alert("Inside Nyro function");
jQuery("#idDef").nm();
}
I see the alert coming up, when i click this link. But then i get this error in firebug :
TypeError: this.on is not a function
and the modal does not come up. I am also using jquery(1.4.2/jquery.min.js) here .
Can some one tell me , how can i get rid of this error and let the modal window come up ?
Upvotes: 0
Views: 87
Reputation: 2930
I recommend this:
Hope that helps.
Upvotes: 0