based on the drop down list selected value of object(object contain contract,totalamount,alloted ,due) if i select a peritcular contract reaming values of same object should assined to text fields

based on the drop down list selected value of object(object contain contract,totalamount,alloted ,due) if i select a peritcular contract reaming values of same object should assined to text fields

based on the drop down list selected value of object(object contain contract,totalamount,alloted ,due) if i select a peritcular contract reaming values of same object should assined to text fields

any hep would be appreciated.

<html>
<body>
<table border="1" align="center" bgcolor="yellow">

<tr>

<td align="right">ContractDetails:</td>

<td align="left">
<select name="contract" onselect=" fun1()" >

<option ><-------------select-------------></option>
<logic:iterate id="ob" name="list10"  >
<option><bean:write name="ob" property="details" /></option>
</logic:iterate>

</select>

</td>
<tr>
<td>Totall Amount</td><td><input type="text" value=""></td>
</tr>
<td>alloted</td><td><input type="text" value=""></td>
</tr>
</tr>
</table>
<body>
</html>
View Answers

March 13, 2012 at 12:29 PM

Have a look at the following link:

http://www.roseindia.net/jsp/comboSelect.shtml









Related Tutorials/Questions & Answers:
to update drop down list value when selected from website
to update drop down list value when selected from website  hi help me, i want to insert value into db when i select from a drop down list...;" <?php if($row_list['Age_Id']==$select){ echo "selected"; } ?>> <
to update drop down list value when selected from website
to update drop down list value when selected from website  hi help me, i want to insert value into db when i select from a drop down list...;" <?php if($row_list['Age_Id']==$select){ echo "selected"; } ?>> <
Advertisements
to update drop down list value when selected from website
to update drop down list value when selected from website  hi help me, i want to insert value into db when i select from a drop down list...;" <?php if($row_list['Age_Id']==$select){ echo "selected"; } ?>> <
Get values in drop down list
Get values in drop down list  Pls provide me jsp code to get values in drop down list from another table's field. my project has customer... registration .. it ll have company id and company name fields .... these both fields should
I want to display the quantity of the selected item of a drop down list in a textbox. The data is stored in database.
I want to display the quantity of the selected item of a drop down list... from database into Drop Down List. <% DataSource data = new... = pre.executeQuery(); %> Book List : - select
object
object  is it possible to create object in the same class..?.   Yes, you can. class CreateObject { CreateObject(){ System.out.println("I have an object."); } public static void main(String[] args
request object value
request object value  Hi Friends I am developing a web application... request object value for whole application. Problem is..envirement session,application object are not supported by this envirement. then how can i maintain all
Select functionality of drop down list - Struts
for entering Age,Now if user select "HIDE" from drop-down list the below text...Select functionality of drop down list  Hi, I have to write a code(in struts application) in which if user select HIDE from the drop down list
how to dynamically add text boxes with add and remove link based on drop down choices, if a particular choice is selected.
how to dynamically add text boxes with add and remove link based on drop down choices, if a particular choice is selected.  how to dynamically add text boxes with add and remove link based on drop down choices, if a particular
store values of drop down list box in database
store values of drop down list box in database  how to store values of drop down list box in oracle database in jsp?I have information inserting form where i have date of birth as drop down list box
Null value when i set interface object in form controller - Spring
Null value when i set interface object in form controller   Hi all, i am very new about spring and hibernate. i got null value when i set interface object in form Controller. public void setOHBillManager(OHBillManager
How do i retain values in the drop down - Struts
How do i retain values in the drop down  Hi, I have a jsp page... with the drop down. My problem is whenever i do this the values in the drop down gets reset while the others in the text boxes don't. How do i retain the values
ModuleNotFoundError: No module named 'value_object'
ModuleNotFoundError: No module named 'value_object'  Hi, My Python... 'value_object' How to remove the ModuleNotFoundError: No module named 'value_object' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'value_object'
ModuleNotFoundError: No module named 'value_object'  Hi, My Python... 'value_object' How to remove the ModuleNotFoundError: No module named 'value_object' error? Thanks   Hi, In your python
validation for drop down list
validation for drop down list  Hi all I have a form, it contain 12 drop down list. Each drop down has 1 to 5 values,i need to validate this form. the following condition should be true. 1.you can choose only 3 times 5 value. 2
displaying section in the jsp based on the sected value in drop down - Java Beginners
on the jsp based on the selected value in the drop down list using java script code...displaying section in the jsp based on the sected value in drop down  ...; } Drop Dwon list Select
Add values of drop down menu( select option) to mysql table
Add values of drop down menu( select option) to mysql table   Here...['valveId'].'<td>'; echo '<select name="onoff">'; echo '<option value="ON">ON'; echo '</option>'; echo '<option
Java Value Object Pattern
-left: 440px; } Value Object Pattern Some entities contains a group.... To come out from this problem you can Value Object Design Pattern... attribute. to reduce this overhead it is good to use Value Object Design Pattern
Associate a value with an object
Associate a value with an object   ... with an object in Java util. Here, you will know how to associate the value... as a record of the specific person. This program associates a value with an object
Persist a List Object in Hibernate - Hibernate
Persist a List Object in Hibernate   Hi All, I have a query on hibernate. How to persist a List object in Hibernate ? Can you give me...()){ Object[] row = (Object[])it.next(); for(int i = 0; i <
how to custom location of a object after dragging to the drop target
how to custom location of a object after dragging to the drop target  ... how to drag the object inside the drop target. (that means how to change the position of the object after it drops on to the drop target
object of object class
object of object class  what do u mean by "object of object class
ModuleNotFoundError: No module named 'simple-value-object'
ModuleNotFoundError: No module named 'simple-value-object'  Hi, My... named 'simple-value-object' How to remove the ModuleNotFoundError: No module named 'simple-value-object' error? Thanks   Hi
Drop-down text selection in jsp/html
such dynamic dropdowns. Also based on the values selected in the drop-downs, I should...Drop-down text selection in jsp/html  Hi, I am trying to create JSP.... Now the first dropdown will have all the values. The second drop-down depends upon
dynamic drop down list
dynamic drop down list  I want to create 2 drop down list, where it takes value from database and the two list are dependent..means if I select a particular value from one the other list is developed accordingly..depending
Dependent drop down list
dependent drop down list is used my code is successful but when i select class from first drop down list all the data get lossed means the value entered in fields before drop down list get blank.what can i do for this? This is the code
Pls provide me jsp code to get values in drop down list from another table's field....
Pls provide me jsp code to get values in drop down list from another table's... and company name fields .... these both fields should be automatically inserted in customer registration page and should be shown in drop down box in front end
Dependant & dynamic drop down list
on the values selected by user in first drop down list. How to achieve this ?   ...Dependant & dynamic drop down list  I don't know this should be in this or AJAX forum. I have one dynamic drop down list from data base (working
data should not repeat in the drop down list when it is loading dynamically from database
data should not repeat in the drop down list when it is loading dynamically...'> <select name='emp' > <option value='-1..."); String buffer="<select name='emp' ><option value='-1'>
data should not repeat in the drop down list when it is loading dynamically from database
data should not repeat in the drop down list when it is loading dynamically...; <select name='emp' > <option value='-1'><...; <select name='emp' > <option value='-1'><
Not Able to select an Item in Spark Combo Box control (Adobe Flex Object) using QTP
Flex controls. But i am not able to select any item from Spark Combo Box. I tied using .Open (Its not opening the drop down list) , also i tried using Select...Not Able to select an Item in Spark Combo Box control (Adobe Flex Object) using
object array
object array  Hi i have array that is object[] obj= { new string... element from vector and if i give key then i will get the value. 2) from commandline i give the value that is [email protected] then it will only print
how to set values in object using java and what are the ways?
how to set values in object using java and what are the ways?  How to set values in object using java ?what are the ways
how to store multiple values from drop down in database where i am using java struts 1.3
how to store multiple values from drop down in database where i am using java... where i have to select multiple keyskills. but it is taking only one valuee.. i... is displaying.. i need code in java so that it takes multiple values
how can i set an object in focus
how can i set an object in focus  There is a Canvas object in my game and this object is not set in focus, because of this my snake is not moving on the Board . Basically i am working on snake game project, and i want is when
data should not repeat in the drop down list when it is loading dynamically from database
data should not repeat in the drop down list when it is loading dynamically... the whole department field from the data base (i.e in the drop down list... be included in the drop down list. 1)selDept.jsp: <%@page import
I retrieve a String or other object type without creating a new object each time.
I retrieve a String or other object type without creating a new object each time.  How can I retrieve a String or other object type without creating a new object each time
Drop down and radio button value on edit action
Drop down and radio button value on edit action  HI, I have a title field and a payment type field for title i have used drop down with values... for text boxes..bt select default value for dropdown and radio button...How do
Vector object[]
[] value = new Object[] {"Employee Name",f.ename.getSelectedItem()}; I cant...Vector object[]  I want to create payslip in java public Vector...(); Object[] value = new Object[] {"Employee Name",f.ename.getSelectedItem
Session Object
, java.lang.Object value)- for storing the an object in session. getAttribute...Session Object  Why do we require Session Object?  Hello.... The session object is used by the developers to store and retrieve user's
object as argument
object as argument  what happens when we pass a object into a method???if java is pass by value how does this makes a difference.....pllzzz give me more clarification on why we pass objects in a margument
jsp drop down-- select Option
jsp drop down-- select Option  how to get drop down populated... a country:</b>&nbsp;</td> <select name="sel"><option value... = stmt.executeQuery("Select * from country"); while(rs.next()){ %> <option value
ArrayList object
ArrayList object  i have am ArrayList object it containg data base records in it, now i want to display this ArrayList object data in my jsp programe, plz help me
object creation
object creation  when will java object is created? is it at runtime or compiletime
Object Oriented
Object Oriented  C++ is Purely object oriented or not .Then why java called purely object oriented
object and method
number of students allowed (quota) which is 10. a user should be able to add\drop...object and method  a college would like to automate managing courses... and an application that creates the necessary object
Java object
of the data fields once the object has been constructed. this code helps you...Java object  What is mutable object and immutable object?  An Immutable object is a kind of object whose state cannot be modified after
Object reference not set to an instance of an object
Object reference not set to an instance of an object  Object reference not set to an instance of an object
drop down list in Struts
drop down list in Struts  How to create a drop down list in Struts
Java object
Java object  Which class should you use to obtain design information about an object

Ads