I have a problem when i using jquery for my DNN project.
my js code:
<div class="bubbleInfo">
<img class="trigger" src="/images/icon_filemanager_32px.gif" alt="image" id="img" />
<br/> <br/>
<div class="popup">
<!-- your information content -->
</div>
</div>
<script type="text/javascript" src="/js/jquery-1.2.6.js">
</script>
<script type="text/javascript" language="javascript">
jQuery(document).ready(function(){
jQuery('.bubbleInfo').each(function () {
//more code here
});
});
</script>
My problem:
the NAV menu is not shown anymore
and firebug return message:
uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMParser.parseFromString]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://prdemo.net/js/dnn.xml.js :: anonymous :: line 63" data: no]
My find my problem by google, and i inserted
jQuery(document).ready(function(){
jQuery.noConflict();
});
Firebug return message :
1st error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMParser.parseFromString]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://prdemo.net/js/dnn.xml.js :: anonymous :: line 63" data: no]
2nd error: $(".bubbleInfo") is null
and the NAV menu is still not shown anymore
--------------------------
Please, help me!
Thanks.