Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-row, data-col values error #585

Open
heobh75 opened this issue Oct 4, 2016 · 0 comments
Open

data-row, data-col values error #585

heobh75 opened this issue Oct 4, 2016 · 0 comments

Comments

@heobh75
Copy link

heobh75 commented Oct 4, 2016

**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.

value

Help :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant