You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sizzle supports data attribute selectors when they include dashes and underscores, but not when they include periods. This would be useful. Periods are valid in the naming rules.
data-example1.0="This is a valid in HTML5 "
data-example1-0="This is a valid in HTML5 "
$( '[data-example1-0]' ) // Targetable in jQuery.
$( '[data-example1.0]' ) // Throws "unrecognized expression" Sizzle error in jQuery.
The text was updated successfully, but these errors were encountered:
Sizzle supports data attribute selectors when they include dashes and underscores, but not when they include periods. This would be useful. Periods are valid in the naming rules.
data-example1.0="This is a valid in HTML5 "
data-example1-0="This is a valid in HTML5 "
$( '[data-example1-0]' ) // Targetable in jQuery.
$( '[data-example1.0]' ) // Throws "unrecognized expression" Sizzle error in jQuery.
The text was updated successfully, but these errors were encountered: