in reply to Getting Error: Couldn't render template file error - site.tt: not found". When Run The Catalyst Application.
"Problem 2 . How to use Jquery With Catalyst Application? I put the JS file in separate folder root/static/js folder. But when i run the my application then it's showing message in error console "$ is not define". (I got the meaning of it, but unable to solve it out.) Code is following JS file "
The "$ is not defined" error is most likely a result of the jquery.js file not being referenced in the correct location. Does Firebug show any errors in the net tab? Also that's an odd mix of regular JavaScript (in your makeactive function) and jQuery code :)
Update: Also, you may want to include the jquery library prior to the Tools.js script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting Error: Couldn't render template file error - site.tt: not found". When Run The Catalyst Application. And How to use Jquery with Catalyst??
by Sachin (Acolyte) on May 25, 2010 at 05:42 UTC | |
by marto (Cardinal) on May 25, 2010 at 08:47 UTC | |