File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Java Script without any event in JSP Page

 
Gajanan Bandale
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to call a Java Script Function in JSP Page without any event active.... But it should not at OnLoad Event


Thanks in Advance....
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If not during an event, then when specifically should that JS code run?

You can use a timer to run code after a set amount of time has passed.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Ulf said, when do you actually want it to run?

There is a thing called inline, just add the call to the page. fires when executed.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic