This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

handling java script pop up.

 
Ravikanth thota
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Java?

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

Eric
 
Ravikanth thota
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic