I am having some issues showing a div that i am hiding. For some reason the #ElementId selector isnt working but if i just use ElementId it works.
Jquery 1.7.1 also I am using JQuery ui.
$('CreateGroup').show("fold"); // this works fine
$('#CreateGroup').show("fold"); // this fails with cannot call show on undefined
<div id="CreateGroup" style="display: none">Hi!</div>
What’s going on?
Thanks
@Piercy, chances are your $() function comes from Prototype, not jQuery. Are you including both libraries in your page? – Frédéric Hamidi Mar 2 at 12:21
This was correct it was prototype interfering. If I use the fully jQuery qualifier it works.