faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 7 people (43%) answered Yes
Recently 3 of 7 people (43%) answered Yes

Entry

how can i pass strings into text area...

Apr 8th, 2008 18:05
ha mo, Abolfazl Shirazi, praveen vl, Abolfazl Shirazi


<html>
<head>
<script language="javascript">
function PutString(ThisString) {
     MyField.value = ThisString
}
</script>
</head>
<body>
<textarea name="MyField"></textarea>
<p>
<button onclick="PutString('My String')">
Click Here To Add
</button>
<p>
Simple isn't it ?
</body>
</html>
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com