As you are using jQuery, you can do something like:
$('.iphone-toggle').on('change', function() {
var toggle_data = $(this).data('no-uniform')
toggle_value = $(this).val();
$.ajax({
type: "POST",
url: 'your_url.php',
data: {toggle: toggle_data, value: toggle_value},
success: function() {
// what you do on success
}
});
});
And in php you will have the values of $_POST['toggle']
and $_POST['value']
to make the correct database query.