Beiträge von Mr.Bier

    Ok hat endlich geklappt ;)

    und zwar so:

    Code
    [size=10]
    [align=left]function editfu()
    {
    document.getElementById('domain').removeAttribute('readOnly');
    document.getElementById('username').removeAttribute('readOnly');
    document.getElementById('description').removeAttribute('readOnly');[/align]
    [/SIZE][size=10][COLOR=#0000ff][size=10][COLOR=#0000ff][align=left]document.getElementById('password').removeAttribute('readOnly');[/align]
    }
    [/COLOR][/SIZE][/COLOR][/SIZE]



    Danke an euch beide ;)

    Also ich habs jetzt mal so probiert:

    Code
    [align=left][size=10]function editfu()[/SIZE]
    [size=10]{[/SIZE]
    [size=10]document.bbForm.getElementsByTagName('domain').removeAttribute('readOnly');[/SIZE]
    [size=10]document.bbForm.getElementsByTagName('username').removeAttribute('readOnly');[/SIZE]
    [size=10][COLOR=#0000ff][size=10][COLOR=#0000ff]document.bbForm.getElementsByTagName('description').removeAttribute('[COLOR=#000000]readOnly[/COLOR]');[/COLOR][/SIZE]
    [size=10][COLOR=#0000ff]document.bbForm.getElementsByTagName('password').removeAttribute('readOnly');[/COLOR][/SIZE][/align]
    [size=10][COLOR=#0000ff]}[/COLOR][/SIZE]
    [/COLOR][/SIZE]



    Es gibt ne Fehlermeldung aus: Object Expected
    Kann mir jemand erklären wiso?