First of all I would like to say I’ve read every magento-jquery page existing on THE INTERNET and still I don’t get why it doesn’t work.
So as we all now, we need to load our js files within the .xml layout file. Then we need to add the code “ jQuery.noConflict(); “ in the head section after the load of js files. Then when we did all that, we should be able to use jquery by remplacing “$” by “jQuery” in our code.
So i did all that.
Still this simple test code won’t work :
So I removed all the js files BUT jquery and guess what, it worked -_-.
Dear magento friends, tell me what I did wrong, because obviously the jquery file is loaded and my code is correct, the only reason would be that the noconflict fonction isn’t working, but why ?
I put this in the head after the js libs load :