.click fails in alpha2 / a.attr is not a function

.click fails in alpha2 / a.attr is not a function

hi all,

i am working with jquery mobile alpha2 and jquery1.4.3. i try to write data to a server using ajax without page refresh. with alpha1 this worked fine, with alpha2 it's not working anymore. firebug returns: "k.attr is not a function".

i also tried with action="index.html" in the <form> tag. the page reloads but the click function still isn't working...

any ideas what i'm doing wrong? thanks in advance.

 

$(document).ready(function() {

      $(".Out1_On").click(function() {

            var dataString = "value 1" + 1;

            $.ajax({

                  type: "GET",

                  data: dataString,

                  success: function() {

                  alert("success");

             }

       });

      return false;

       });

});

 

<div data-role="content">

<div data-role="collapsible" data-theme="b" data-collapsed="true">      

<h3>Buttons</h3>      

      <div data-role="fieldcontain">       

            <form method="GET">        

                  <input type="submit" class="Out1_On" value="EIN" />             

            </form>            

      </div>      

</div>