Subversion-Projekte lars-tiefland.zeldi.de

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
//$Id: billie.js 5841 2019-08-07 08:20:14Z tiefland $
2
$(function(){
3
    $('#legal_form').change(function()
4
    {
5
        lf=$(this).val();
6
        url="/module/checkLegalForm.php?lf="+lf;
7
        $.getJSON(url,function(erg){
8
            $('#regnrRow').hide();
9
            $('#ustidnr_text').hide();
10
            $('#ustidnr_input').hide();
11
            if (erg.ustid_required===1)
12
            {
13
                $('#ustidnr_text').show();
14
                $('#ustidnr_input').show();
15
            }
16
            if (erg.regnr_required===1)
17
            {
18
                $('#regnrRow').show();
19
            }
20
        });
21
    })
22
    $('#rowCompany').show();
23
    $('#rowRechtsform').show();
24
    $('#legal_form').change();
25
})