I am using following code to send form data from php
<script type="text/javascript">
$(document).ready(function() {
$('#preloader').hide();
$('#preloader')
.ajaxStart(function(){
$(this).show();
}).ajaxStop(function(){
$(this).hide();
});
$('#form form').submit(function(){
$('#result').empty();
$.get('something.php', $(this).serialize(), function(data){
$('#result').html(data);
});
return false;
});
});
</script>
It's working fine but not working when form has large data, please suggest me how to send it.