<table id='ddReferences'>
<tr>
<td>dfsdf</td>
<td>sdfs</td>
<td>Input :<input type="text" id="in"/></br></td>
<td>hjhj</td>
<td><input type="button" value="Click" onclick="add()"/>
</tr>
</table>
Output:<input type="text" id="ref" value=""/>
</br>
<input type="button" value="submit" onclick="add()"/>
<script>
function add(){
var refTab = document.getElementById('ddReferences');
var node = refTab.rows[0].cells[2].getElementByTagName("input")[0].getElementById("in");
var input = node..value;
document.getElementById("ref").value = input;
}
</script>
values are not sending to javascript
Page 1 of 11 Replies - 248 Views - Last Post: 06 August 2012 - 12:33 PM
#1
values are not sending to javascript
Posted 06 August 2012 - 12:25 PM
The value of table tag input value not assigning to output..
Replies To: values are not sending to javascript
#2
Re: values are not sending to javascript
Posted 06 August 2012 - 12:33 PM
This is now your third duplicate thread. Stop opening duplicate topics.
Page 1 of 1
|
|

New Topic/Question
This topic is locked


MultiQuote







|