Closed albertovecina closed 2 years ago
Methods like getElementsByClass or hasClass are including the quotation mark in the matching, so I have to write this kind of code:
try document.getElementsByClass("\\"description\\"")
Is this the expected behaviour? This is a problem when there are multiple classes indeed.
Thanks.
Methods like getElementsByClass or hasClass are including the quotation mark in the matching, so I have to write this kind of code:
try document.getElementsByClass("\\"description\\"")
Is this the expected behaviour? This is a problem when there are multiple classes indeed.
Thanks.