Created
August 30, 2018 08:55
-
-
Save davidsheardown/68729bca5a41fe4035e063d553fcbcdd to your computer and use it in GitHub Desktop.
jQuery escaped period or special characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Always remember to escape "." or special characters, otherwise you cannot select/refer to the selector etc. | |
$( "#myID\\.entry\\[1\\]" ).css( "border", "3px solid red" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment