How do you get the value of an html element attr for an ajax call?
my code:
$('#manager_pass').submit(function(evt){
evt.preventDefault();
$.ajax({
url: App.managerpassURL,
data: {
????????????
},
dataType: 'json',
type: 'POST',
success: function(r){
box_2.animate({'top':'-250px'},500,function(){
overlay.fadeOut('fast');
$('.action_wrapper').fadeOut(1000, function(){
$('.form').fadeIn(1000);
});
});
}
});
});
I need to get the value from here
<input type="text" name="managerPassword" value="" class="man_code">
Thanks