i've a div with an id that encoded with base64 encryption. it looks like this:
<div id="tagValue_16DXp9eR15Q=">
and when im trying to delete it by using the id like that:
$('div[id=tagValue_tagValue_16DXp9eR15Q=]').remove();
im getting the following error:
Uncaught Error: Syntax error, unrecognized expression: div[id=tagValue_16DXp9eR15Q=]
but when i remove the " = " from the encryption it works:
<div id="tagValue_16DXp9eR15Q">
it will work with the code:
$('div[id=tagValue_tagValue_16DXp9eR15Q]').remove();
how can i make it work and also leave the " = " ?