**1. I want to know all values.
(data-row,data-col,data-sizex,data-sizey ,etc.)
for example, I can't get data-row, data-col values.
below is sample code.
$("#grister > ul > li").each(function(i){
var id = $(this).attr("id"); -----> W10,W12
var posRow = $(this).attr("data-row"); -----> 10,10 (It return wrong value, data-row="4" is correct value)
var pssCol = $(this).attr("data-col"); -----> 10,10 (It return wrong value, data-col="3" is correct value)
var sizex = $(this).attr("data-sizex"); -----> 3,3
var sizey = $(this).attr("data-sizey"); ----->6,6
}
**1. I want to know all values. (data-row,data-col,data-sizex,data-sizey ,etc.) for example, I can't get data-row, data-col values. below is sample code.
$("#grister > ul > li").each(function(i){ var id = $(this).attr("id"); -----> W10,W12 var posRow = $(this).attr("data-row"); -----> 10,10 (It return wrong value, data-row="4" is correct value) var pssCol = $(this).attr("data-col"); -----> 10,10 (It return wrong value, data-col="3" is correct value) var sizex = $(this).attr("data-sizex"); -----> 3,3 var sizey = $(this).attr("data-sizey"); ----->6,6 }
2. Drag move all want to know the changed value.
Help :(