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

getAttribute error while the attribute name include '-' #7

Open
YoungNK opened this issue Jan 4, 2016 · 2 comments
Open

getAttribute error while the attribute name include '-' #7

YoungNK opened this issue Jan 4, 2016 · 2 comments

Comments

@YoungNK
Copy link

YoungNK commented Jan 4, 2016

getAttribute error while the attribute name include '-'

Is there anybody meet this problem before?
like this :
$element->data-lazyload;

@koenokatachi
Copy link

$element->{'data-lazyload'}

@YoungNK
Copy link
Author

YoungNK commented Jan 14, 2016

I reply to u until now because I haven't checked my email those days
Ur reply helped me a lot.
Thanks

2016-01-04 19:51 GMT+08:00 koenokatachi [email protected]:

$element->{'data-lazyload'}


Reply to this email directly or view it on GitHub
#7 (comment)
.

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

2 participants