Option onclick am not getting the value ..

Ads
 

Option onclick am not getting the value ..

 function  get_val( tot_val )
  {
   document.getElementById('TextBox1').value = tot_val;
  }
<tr>
<td><textarea id="TextBox1" name=textarea1 readonly="readonly" rows="5" cols="20">
View Answers

September 17, 2012 at 4:37 PM

Here is a simple code that insert some text into textarea on clicking the button.

<html>
<script>
 function  get_val( tot_val )
  {
   document.getElementById('TextBox1').value = tot_val;
  }
</script>
<table>
<tr>
<td><textarea id="TextBox1" name="textarea1" readonly="readonly" rows="5" cols="20">

September 17, 2012 at 5:28 PM

print(" function  get_val( tot_val )
{
   document.getElementById('TextBox1').value = tot_val;
 }

<tr>
<td><textarea id="TextBox1" name=textarea1 readonly="readonly" rows="5" cols="38">

Ads









Related Tutorials/Questions & Answers:
Option onclick am not getting the value ..
Option onclick am not getting the value ..    function get_val( tot_val ) { document.getElementById('TextBox1').value = tot_val; } <..._val( tot_val ) { document.getElementById('TextBox1').value = tot_val
autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me
autocomplete(): Spring mvc with jquery: I am not getting correct value... related birds whenever we give input in the text field. But i am getting the wrong... bird names , but whenever i selected any bird in the text filed the am getting
Advertisements
this is my file upload page, here i am not getting tags input field value to my servlet,please suggest a solution?
this is my file upload page, here i am not getting tags input field value to my... + '" type="button" ' + 'value="Remove" onclick = "RemoveFileUpload(this)" />...;/tr> <tr><td><input id="Button1" onclick="AddFileUpload
:( I am not getting Problem (RMI)
I am not getting Problem (RMI)  When i am excuting RMI EXAMPLE 3,2 I am getting error daying nested exception and Connect Exception  
select option value
select option value  if i select a value of any drop down...(this.value)"> <option value="none">Select</option>...("Select * from country"); while(rs.next()){ %> <option value
select option value
select option value  if i select a value of any drop down...' onchange="showState(this.value)"> <option value="none">Select<...;option value="<%=rs.getString(1)%>"><%=rs.getString(2)%><
i am getting multiple values in listbox
i am getting multiple values in listbox   hi sir, i am using... table group by stuname) order by a.name in a subquery multiple recdates i am getting its working fine, but in main query also i am getting multiple name
i want to select a multiple value of check box by using onclick or onchange event without using from submission
i want to select a multiple value of check box by using onclick or onchange...)1000-1500 3)1500-2000 4)2000-2500 when i am selecting first value of checkbox the result is ok but after getting value of first box now i want a result of second box
Getting environment variable value from java
Getting environment variable value from java  Getting environment variable value from java
getting problem in storing & retrieving value in database
getting problem in storing & retrieving value in database  Hello everyone i am doing a project where my back end is ms access & i want to store value like 5353250214 so if i store it as long int in access it wont take it &
i am getting an error in adding a menu item to a menu.
i am getting an error in adding a menu item to a menu.   i am not able to execute the menu program. i am getting an error at menu.add(menuitem); it says add method is undefined for type menu. but as far as i know that is only way
I am not able to display the selected value of my combobox
I am not able to display the selected value of my combobox   <?php echo "<select name=\"hello\">\n"; echo "<option value=\"NULL\">...["unitcode"]; $i=$i+1; echo "<option value=''>$strB<
how to display textbox value based on selected option value?
how to display textbox value based on selected option value?  Hi,I... on first value I finished above code. ID: xx Name:xx xx is baesd on second and first value. But it is that l can't do that. now, l post my code
how to get the value of a label field of option tag in javascript?
how to get the value of a label field of option tag in javascript?  example <select> <option label="2" value="A">A</option> <option label="5" value="B">B</option> <
I am getting error.How can i get details
I am getting error.How can i get details  Exception in thread "main" java.sql.SQLException: Listener refused the connecti n with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect
getting null value in action from ajax call
getting null value in action from ajax call  Getting null value from... help, i am new to struts2 and hibernate. StudentRegistration.jsp <%@ page...; ... <tr> <td><s:label value="Course " for="course
getting null value in action from ajax call
getting null value in action from ajax call  Getting null value from... help, i am new to struts2 and hibernate. StudentRegistration.jsp <%@ page...; ... <tr> <td><s:label value="Course " for="course
getting null value in action from ajax call
getting null value in action from ajax call  Getting null value from... help, i am new to struts2 and hibernate. StudentRegistration.jsp <%@ page...; ... <tr> <td><s:label value="Course " for="course
using spring rmi+maven but i am getting this exception
using spring rmi+maven but i am getting this exception  D:\Nexustool\integrationengine\trunk>mvn exec:java [INFO] Scanning for projects... [INFO] [INFO
Jsp Option Value
Jsp Option Value   ...;option value="">--select--</option> <option value...; tag like: <option value="<%= name %>"> Here is the code
how to select the row value that was retrived from the database ?
how to select the row value that was retrived from the database ?  I am getting the data's from the table that was stored in database. Now in the page in which i am getting all the data from the database has an another select
how to select the row value that was retrived from the database ?
how to select the row value that was retrived from the database ?  I am getting the data's from the table that was stored in database. Now in the page in which i am getting all the data from the database has an another select
javascript onclick function
javascript onclick function  javascript onclick function   ...; <body> <form> <input type="button" value="Click Here!" onclick="showmessage()" > </form> </body> </html>
value is inserted into the sql table through jsp-jdbc but not getting stored into the data base,only row is increasing.
value is inserted into the sql table through jsp-jdbc but not getting stored into the data base,only row is increasing.  <html> <...="Submit" value="Submit"></td> </tr> </table>
Getting the Maximum Size of a Preference Key and Value
Getting the Maximum Size of a Preference Key and Value   ... size of Preference key and value. You can see in the given example that we have... the maximum length of string for a key and MAX_VALUE_LENGTH provides the maximum length
calling setInterval() on onclick event
calling setInterval() on onclick event  Hi all, I am trying to call setInterval() on onclick event. But it is executing the code only once...(a+"=: "+a); } </script> <body> <div id="one" onClick="send();">
jquery href onclick event
jquery href onclick event  jquery href onclick event   $('a').click(function (event) { event.preventDefault(); //here you can also do all sort of things });   <script type="text/javascript
how to retrieve a checkbox value(retrieve from DB)
" required> <option value="">...; <option value="ORDINARY">ORDINARY</option> <option value="PERMATA">PERMATA</option>
how to calculate the price on the option box
how to calculate the price on the option box  How i calculate the value when i using a option box with 2 option..first option i used for product name... to calculate this value
Getting around in Agra
Getting around in Agra  Hi, I am looking for complete information on getting around in Agra? Thanks
getting values from dropdown list
getting values from dropdown list  I am having a dropdown list which... the database) My question is when i select a particular value it should be pass to the action. My action is getting called however, i am not sure how to pass

Ads