I need to display a text in a text field, after certain amount of time in secs which is provided in another textbox. please give me suggestions,am a newbie to this type requirement. Thanks in advance.
hey thanks for all ur replies, am sorry that it should be done in javascript and i did it. thank u..
here z the code... in javascript
<script type="text/javascript" >
function timer(){
var textbox3 = document.getElementById('t2');
var temp=textbox3.value*1000;
alert(temp);
setTimeout('myMethod()',temp);
}
function myMethod()
{
var textbox1 = document.getElementById('t1');
var textbox3 = document.getElementById('t3');
textbox3.value=textbox1.value;
//alert("hi");
}
</script>
<form >
<input type='text' name='txt1' id="t1"></input>
<input type='text' name='txt2' id="t2"></input>
<input type='text' name='txt3'id="t3"></input>
<input type="button" name="btn" value="schedule" onclick="timer()"></input>
</form>