1
2
3
4
5
6
7
8
9
10
11
                                function callpage() {
                                                $('#formcontent').empty().html('<p style="margin-top:20px;text-align:center;font-family:verdana;font-size:14px;">Vent venligst, henter webhosts.</p><p style="margin-top:20px;margin-bottom:20px;text-align:center;"><img src="../images/ajax.gif" /></p>');
                                                var form = $(this).closest('form');
                                                $.ajax({
                                                        type: form.attr('method'),
                                                        url: form.attr('action'),
                                                        data: form.serialize(),
                                                        success:function(msg){
                                                $('#formcontent').html(msg);
                                }
$('#left input:checkbox').change(callpage(););