Thanks for the quick responses guys and gals. However, I am in need of extra help.
 
I am trying to start by calling a servlet in the following script (just to test my code). But, it does not display the page generated by the servlet. (familiar SimpleServlet):-)
 
<html>
<head>
<script language="javascript">
        function invokeServlet(SimpleServlet) {
                document.myform.action.value = SimpleServlet;
                document.myform.submit();
        }
</script>
</head>
<body>
<form name="myform" action="" method="post">
<input type=submit value="Submit"
>
</form>
<!-- Any other HTML stuff can go here -->
 
</body>
</html>
 
I think if I can get this working, I can figure out the rest.
 
*Antonio*
 
----- Original Message -----
From: Michael
Sent: Tuesday, October 26, 1999 1:48 PM
Subject: Re: Dynamic Content

Antonio,
 
That is feasable with JavaScript, but keep in mind that not all browsers will support JavaScript. Why not implement a list with html?
 
 
 
 
----- Original Message -----
Sent: Tuesday, October 26, 1999 12:54 PM
Subject: Dynamic Content

Hey Everyone,
Need some assistance... Here is what I would like to do: I would like to display a drop-down list containing info populated by a servlet. Then when the user clicks on an item in the list, it calls another servlet which populates another drop-down list on the same page, depending on what the user selected.
 
I would like to use JavaScript to call the servlet.
 
If this can be done, I would appreciate any solution/suggestion that you can provide. 
 
 
*Antonio*
 

Reply via email to