Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

handling java script pop up.

 
Ravikanth thota
Greenhorn
Posts: 24
  • 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
  • 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
  • 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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic