DReade83
asked on
Posting textareas and textboxes via jQuery Post
I need to be able to post values from textareas and textboxes. Any idea how this can be done? The attached example does not work.
Thanks in advance.
Thanks in advance.
<html>
<head>
<!-- jQuery Script URL -->
</head>
<body>
<textarea name="text1"></textarea>
<input name="text2" value="">
<span onClick="$.post('/index.php', {str1: text1.value, str2: text2.value})">Submit</span>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER