In my "jquery code" error, "Unkot type error: undefined is not a function".
The code is working correctly on this link when I check the code separately
But when I put this code in my Joomla website code, this work Do not do the design, make the mess and check the link
The same code is not working here
As suggested in the above comments,
then
$ (document) - & gt; JQuery (document) $ ("# domain") - & gt; In addition, I checked your code and I really recommend you do the minimum caching. Example: Repeat every $ ("# domain") to you everywhere. Hide ();
Instead of cache in a variable $ ("# domain") and after using the Hide method ().
var $ domain = jQuery ("# domain"); // Now the element is cached in $ domain / you can now use $ domain $ domain.hide ();
No comments:
Post a Comment