How do I make a jQuery function work with Grails??
I installed the jQuery plugin and added grails.views.javascript.library="jquery" at the end of conf/Config.groovy
And when I trigger the function I get an error saying
Object Expected
I checked the code and is fine, you can check it out here: http://www.jsfiddle.net/dCy6f/
When I write the number into the textfield I get the error.
Any ideas of what I might be doing wrong?? Or maybe I'm missing something??
Thanks in advance!!