Mutliple forms

Mutliple forms

Hi,

i'm struggling with some real basics. I have several html forms in my script with a different id set for each.

How do I access the elements when the form is submitted

  1. $(".submit-button").click(function(){
  2.                                    
  3.          // Setup variable to catch the HTML form data
  4.          var notes_text=$('#form1 textarea#some_text').val();
  5. }
What am I doing wrong?

Thanks,

Johnny.