aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Call Java Script without any event in JSP Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Call Java Script without any event in JSP Page" Watch "Call Java Script without any event in JSP Page" New topic
Author

Call Java Script without any event in JSP Page

Gajanan Bandale
Greenhorn

Joined: May 09, 2005
Posts: 22
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
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call Java Script without any event in JSP Page