jquery set data attribute value
//<div id="myElementID" data-myvalue="37"></div>
var a = $('#myElementID').data('myvalue'); //get myvalue
$('#myElementID').data('myvalue',38); //set myvalue
Also in Java:
- java script dynamic varibale creation
- dicom read with java
- padding a string with 0 in java
- fibonacci sequence in java recursion
- java hashmap set value
- difference between compile and execute in java
- how to initialize main in java
- store string elements in character array in java
- list java oracle
- non primitive data types in java
- how to create a thread local variable in java
- java int array
- java script num toSting syntax eror
- how to set a windows background image tkinter
- android get distance between two locations kotlin
- do while loop java
- how to get length of integer in java
- java set example
- java list all non directory files in the directory
- vertical traversal of binary tree
- jsonobject to java object
- how to create a button in java
- expression régulière seulement un espace java
- java 8 list stream delete by name