Jqueryui in plugin not recognized
-
So we have a plugin and jquery works on it (although inspect element does not reveal any <script> tag containing jquery anywhere) but jquery-ui loaded by another plugin (our system consist of multiple plugins) is not recognized.
It says:
jQuery(…).dialog is not a functionNot i’ve read up on how to include jquery and scripts properly. So at first we just included them in the HTML but now that we are almost done we are trying to get it load via wp_enqueue script. Thing is that this doesn’t seem to work as we have a onready that shows the plugin once it has done rendering otherwise it will momentarily show all content before putting them in the jquery tabs.
We have everything except jqueryui working now with wp_print_scripts, I have however read that we are supposed to used enqueue, but this simply doesn’t work. I’ve read many things about including jquery properly in plugins but it seems like everyone is saying that enqueue should work while it doesn’t seem to do anything.
- The topic ‘Jqueryui in plugin not recognized’ is closed to new replies.