jQuery .noconflict with prototype not working in (you guessed it) IE.
- by Kyle Sevenoaks
On my new customer page, I have successfully implemented a jQuery show/hide toggle alongside a Prototype script using jQuery's .noconflict. (Thanks to all for answers!)
But as the world of the net is, IE's not playing ball.
{literal}
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript">
</script>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(function() {
$j("#button1").click(function() {
$j("#show-hide").toggle("slow");
});
});?
</script>
{/literal}
As you all must know by now, I'm just newly coming to all this jQuery stuff, so I have no idea what could cause it.
Thanks for any help.