Ok, my last post was unsuccessful, so try again.
If you go to www.davekiss.com and click on the icon in the upper right corner, you will see an individual implementation of the jQuery slider. Click the "Contact Us" button and fill in the text box.
Basically, I am trying to store the value in this textarea of โโa javascript variable, but for some reason this variable is undefined.
The code in question:
jQuery("a#send-thoughts").click(function() { var thought = jQuery("textarea#message").val(); alert(thought); /*jQuery.ajax({ type: "POST", url: "process.php", data: "message=" + message, success: function(msg){ alert( "Data Saved: " + msg ); } });*/ });
Any ideas?
jquery
Dave Kiss Apr 18 2018-11-21T00: 00Z
source share