Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

document.getElementById returns null on Chrome  #207

@marcmmx

Description

@marcmmx

The onclick handler calls the clearInput() function below. But it seems that the getElementById doesn't work on Chrome in Polymer. No problems with Firefox and Safari.
function clearInput() {
document.getElementById('inputWithButton').value='';
}

Uncaught TypeError: Cannot set property 'value' of null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions