sub index : Private {
my ($self, $c) = @_;
$c->res->redirect($c->uri_for('/static/index.htm')); }
# download your js libraries of choice (jquery here) to root/static/js (create dir as nescessary) # And in/static/index.htm <-- NOTE the lack of 'l' at the end - there is a reason for this!
<html><head></head><body> <script src="/static/js/jquery-1.1.2.pack.js"></script> <script type="text/javascript">
jq = jQuery.noConflict();// your stuff here:-) <script> # your html here pre-written or inserted with js debugger </body></html>
Catalyst Javascript Testbed 0 Comments More | Login | Reply /