aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes handling  java script pop up. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "handling  java script pop up." Watch "handling  java script pop up." New topic
Author

handling java script pop up.

Ravikanth thota
Greenhorn

Joined: Apr 09, 2012
Posts: 24
hi ,
i have a enterprise excel which consists of few buttons . on clicking a button iam getting a pop up window . which is developed using javascript. pop up window consists of submit button and cancel button .
my question is ---- how should i excecute the submit button method programatically using java. that is with out clicking on submit button how should i excecute the submit button method programatically.?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
With Java?

Are you asking how to process a form submission with Java on the backend?

Eric
Ravikanth thota
Greenhorn

Joined: Apr 09, 2012
Posts: 24
Eric Pascarello wrote:With Java?

Are you asking how to process a form submission with Java on the backend?

Eric


yes eric i am giving the sample code of my .htm file. how should i execute the displaymessage() function which i given below using another .java file(programatically)?

<html>
<head>
<script type="text/javascript">
function displaymessage()
{
alert("Hello World!");
}
</script>
</head>

<body>
<form>
<input type="button" value="Click me!" onclick="displaymessage()" />
</form>
</body>
</html>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handling java script pop up.