
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set Textarea Content Using jQuery
On clicking the <a> tag,the content is dispaying inside the textarea.
Example
<script type="text/javascript"> $(document).ready(function () { $("a").click(function () { $("#txt1").val("I AM DISPLAYING IN THE TEXTAREA"); }); }); </script> <body> <div> <a id="quiresweb" class="webclass" href="#">Quires</a><br /> <label id="lbl">TEXTAREA ::</label> <textarea id="txt1" rows="5" cols="20"></textarea><br /> </div> </body>
Advertisements