php code for simultaneous output using javasc

June 10, 2011 at 23:23:08
Specs: Linux i686
i have 2 text areas on my html .
i have to write a javascript and php script that if i type something in first text area it should be print in the second text area simultaneously..

See More: php code for simultaneous output using javasc

Report •

June 13, 2011 at 12:47:36
I dunno about php; I'd think (though could be wrong) something like echoing via ajax or such would throw a suspecious flag alert for the host admin. In plain javascript, you could try some flavor of

<script type="text/javascript">

function repeatIt() {

   document.getElementsByTagName("textarea")[1].value =


<textarea rols="5" cols="20" onkeyup="repeatIt();"></textarea>
<textarea rols="5" cols="20"></textarea>


Report •

June 14, 2011 at 12:35:01
i have done it in this way only using javascript but i have to do it with the help of both php and javascript.

Report •

Related Solutions

Ask Question