<script>
function showValues() {
var str = $("form").serialize();
$("#results").html(str);
}
$(":checkbox").click(showValues);
$("select").change(showValues);
showValues();
</script>
<form action="this.php" method="get">
<input type="checkbox" name="check" value="$productid" id="ch1"/>
<label for="ch1">check1</label>
</form>
As a checkbox is checked, the serialized URL is displayed on my page. But, as per my understanding of the point of serializing something is to place it into a dynamic url. Can someone give me advice as to how I can send the serialized result to another file via AJAX?