alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td> <script type="text/javascript"> function autoPopulate_cb(targetElement) { targetElement.form.elements['foo'].value=targetElement.options[targetElement.selectedIndex].value; } </script> <input type="text" name="foo" value="hello" id="cb"/>
<select onChange="autoPopulate_cb(this);"> <option value="foo">foo <option value="bar">bar <option value="baz">baz </select> </td> </tr>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts ComboBox-1.txt source code file:

Struts example source code file (ComboBox-1.txt)

This example Struts source code file (ComboBox-1.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

The Struts ComboBox-1.txt source code

<tr>
    <td class="tdLabel">
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.