apply values of inputs to all its td innerhtml

robf_55

New Member
is it possible to change the innerhtml of all the td when it has the input inside, i mean to take the input's value and apply it to it's td innerhtml, for example, here's the table and its input inside:\[code\]<table> <tr> <td><input value="http://stackoverflow.com/questions/8768847/test" /></td> <td>123</td> </tr></table>\[/code\]to change it smth into this:\[code\]<table> <tr> <td>test</td> <td>123</td> </tr></table>\[/code\]for all of the td and input values without applying id's and classes?! please pay attention that td innerhtml didnt change :) thank you all for the help! ;)
 
Top