I need to select the following element:
<li id="*">
...
</li>
But if I try to do this, jQuery returns an error.
$("#*");
Syntax error, unrecognized expression: #*
Is is possible? I know it's not the best idea to have an asterisk ID, but it comes from the database and it is an standard in the company.
Aucun commentaire:
Enregistrer un commentaire