Adam.Koprowski at mlstate.com
Sat Apr 28 15:25:22 UTC 2012
I believe you need to first (before calling the 'modal' method)
initialize modal on a given DOM element, as in:
If you give your modals 'modal' class then you can initialize all of
them at once with something like $(".modal").modal(options) in BODY's
onready. Does that make sense?
On 04/28/2012 04:56 PM, Owen Gunden wrote:
> Hello Opa list,
> Specifically the modal one
> this should be pretty straight forward I am just making some kind of
> mistake. My code is here:
> I have gotten the modal to work via embedded data- tags, woot. I'd
> also like to be able to show and hide the modal from opa function
> console when I call it:
> Uncaught TypeError: Object [object Object] has no method 'modal'
> Any thoughts would be appreciated!
> Opa mailing list
> Opa at lists.owasp.org
/Adam Koprowski/ [http://adam-koprowski.net]
/Opa Tech Evangelist @ MLstate/ [http://opalang.org | http://mlstate.com]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Opa