[jQuery] Using jQuery and Smarty
I'm still a newbie to jQuery so until now I've been using standard HTML
pages to try out new code. Now, I need to integrate some jQuery into a
site that uses Smarty templates. I'd appreciate any suggestions on how
people are using jQuery and Smarty.
My main sticking point right now is where/how to put the jQuery code for
the page. Sticking it in the template file would mean putting the
script block outside the head which I don't really want. To keep it in
the PHP file, I think I'd need to set it as a template variable that
outputs it to the head. This is the way I'm leaning, but I'm not sure
this is the best way to do it.
Thanks.
--
Chris Scott
Adaptive Hosting Solutions, Inc. | Blogzerk - blog hosting
http://www.adaptivehostingsolutions.com/ | http://www.blogzerk.com/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/