Reputation: 2324
I've got a generated file and some IDs contain $ characters. JQuery can't work with the element if it has a $ character in it. Anyway to go around this without changing the IDs?
Example: https://jsfiddle.net/duLba02y/
<div id="test">This works.</div>
<div id="te$t">This doesn't</div>
<script>
$("#test").hide();
$("#te$t").hide();
</script>
Upvotes: 2
Views: 91