I'm using jQuery in jsf pages and I have an issue with IE
Message : '$' is undefined
Line : 1
character : 1
Code : 0
URI : .............../js/test.js.jsf
the script begin with $.extend($.expr[':'], {
I'm using jQuery in jsf pages and I have an issue with IE
Message : '$' is undefined
Line : 1
character : 1
Code : 0
URI : .............../js/test.js.jsf
the script begin with $.extend($.expr[':'], {
normaly if you use the jsf import
<h:outputScript library="primefaces" name="jquery/jquery.js" />
, jsf garantees that the script is only imported one time ,
IE isn't tolerent to duplicate script import .
take a look at this link : how to use jquery with primefaces
@FrozenFlame thank you for your help, you are right but I don't know why <h:outputScript..
is imported twice when it is used in multiple referenced <iframe>
in my case my main jsf page call two iframe.
<iframe name="test1" src="test1.jsf" />
<iframe name="test2" src="test2.jsf" />
both iframe and the main page include the same js file :
<h:outputScript name="js/test.js" />
my problem is solved by deleting unused js in the two iframe
thanx