Re: call javascript library in jsp
albert kao wrote:
How to call the tablekit javascript library in jsp?
Thomas 'PointedEars' Lahn wrote:
*Please* get yourself informed what JSP is and what it does before you
continue.
There's no problem with the OP in that regard. One can, and often does embed
Javascript in a JSP, wherein it becomes part of the generated HTML. You have
no basis to your objection there.
One calls Javascript libraries from JSP in exactly the way one does from HTML.
Well, there are component frameworks like JSF that automagically generate
Javascript for some of their functionality, but here we're talking about the
application-specific JS that would be present regardless.
Besides, libraries are _not_ called; functions in libraries are.
Yeesh. And people call me picky. To say that one "calls a library" is to say
colloquially that one calls methods from that library. Take a chill pill.
albert kao wrote:
<script type="text/javascript"
src="js/prototype.js"></script>
<script type="text/javascript"
src="js/fabtabulous.js"></script>
<script type="text/javascript"
src="js/tablekit.js"></script>
Thomas 'PointedEars' Lahn wrote:
OMG.
Yes? You rang?
And *please* stop crossposting until you got [sic] that minimum clue.
There was a good reason why the OP cross-posted. It's not like they
multi-posted.
You should stop whining until you get that minimum clue.
--
Lew