How to get the value of a textarea in jQuery ?
We can get the value of textarea in jQuery with the help of val() method . The val() method is used to get the values from the elements such as textarea, input and select. This method simply returns or sets the value attribute of the selected elements and is mostly used with the form elements. When called on empty collection or when the input is not given, it returns undefined or blank output.
You can learn jQuery from the ground up by following this jQuery Tutorial and jQuery Examples.
My Personal Notes arrow_drop_up
Please Login to comment...