<input type="text" name="araButon"
onKeyUp="return arama()" class="form-control filter"
data-filter="app" id="focusedInput"/>
I want to update 'data-filter' value by javascript
I tried this code :
Home / DeveloperSection / Forums / Javascript Update Attribute
<input type="text" name="araButon"
onKeyUp="return arama()" class="form-control filter"
data-filter="app" id="focusedInput"/>
I want to update 'data-filter' value by javascript
I tried this code :
Anonymous User
03-Jun-2015You can use dataset or setAttribute,