jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.

learn more… | top users | synonyms

3
votes
1answer
209 views

Prevent sorting and dragging of specific postbox metabox

I'm attempting to limit the jQuery sortable functionality on certain postboxes/metaboxes when editing a post/page. So far I've enqueued my custom .js file in admin. wp_enqueue_script function ...
2
votes
1answer
142 views

Save list from a custom meta box?

I have a simple list (ul>li) which is manipulated with jQuery UI in a custom meta box. How would I go about saving the contents of the list during post save? I already have the save function ...
1
vote
1answer
324 views

How to load jquery-ui in sage

I try to add jquery-ui over bower.json but does not seems to work. I get Uncaught TypeError: undefined is not a function my bower.json jquery-ui part "jquery-ui": { "main": [ ...
1
vote
1answer
402 views

jQuery does not work in widget backend

I created a widget which should use jQuery for switching between two views and implement the jQuery UI date picker. I was wondering why my jQuery code does not work as I noticed that the date picker ...
0
votes
1answer
24 views

datetime jquery UI not showing after theme update

I had jquery datetime picker working when theme team ask me to upgrade it. That totally broken my site, but now I've fixed almost everything. Last thing I cant figure out is why Jquery UI datetime ...
0
votes
1answer
113 views

How to load jquery ui autocomplete combobox?

I have tried below script to load jQuery UI Autocomplete in theme. But it doesn't load their related scripts. How should I call it to work. wp_enqueue_script('jquery-ui-autocomplete'); I think ...
0
votes
1answer
458 views

AJAX Success Function using JS substr() fails in WP 4.1 vs 4.0

For years I've set up php ajax calls and responses in my plugins like the following, with js error detection conditions as needed like... if( "<e>" == msg.substr(0, 3) ) { do_something(); } ...
0
votes
1answer
2k views

“switchEditors is not defined” with wp_editor() in jQuery UI tabs

Making a WordPress plugin, using WordPress 3.5.2 I'm using wp_editor() on the front end, inside jquery UI tabs [ajax loading tabs + 2 editors on the same panel], and I'm getting the following error, ...
0
votes
1answer
181 views

jQuery dialog prints HTML-Tags under Wordpress

i need some help. I am using wp_localize_script in my Wordpres_Plugin. Inthe documentready-function i use this Code to bring the Message up: $('#button-setup-league').click(function() { $( "#dialog ...
-1
votes
1answer
1k views

using jquery autocomplete in wordpress plugin

I am currently developing a plugin for wordpress, and using jquery autocomplete. In my plugin file i enque autocomplete like this: wp_enqueue_script('jquery-ui-autocomplete'); Then i assign the ...
1
vote
0answers
243 views

Dukapress jQuery(“form.product_update”).livequery is not a function

I have a wordpress site running Seduction theme and Dukapress. Once you add a product and reach the checkout page, the payment and discount button is not clickable. Chrome/Firebug throws the error ...
0
votes
0answers
26 views

How to include jQuery UI smoothness theme - without conflicting with Contact Form 7

After copying the following HTML-code from jQuery UI selectmenu example into my twentythirteen-child/front-page.php file: <form action="#"> <fieldset> <label ...
0
votes
0answers
10 views

Using AJAX tab causing error in customizer preview

My homepage is using jQuery-ui's AJAX tab feature, but apparently this feature made a mess at the customizer's preview page. The following pic is basically what's showing at my customizer page right ...
0
votes
0answers
63 views

Search for post titles using Autocomplete in widget settings

I am a little new to WordPress, so please forgive me if I ask a silly question. I want to be able to create a widget that has a text input utilizing jQuery UI's Autocomplete to allow users to search ...
0
votes
0answers
46 views

WP: Using jQuery inside a woocommerce tab

I have a child theme of Storefront which is modifying woo-commerce. The child theme uses the following function in functions.php to enqueue jQuery.UI scripts. function hurrah_enqueue_scripts() { ...
0
votes
0answers
26 views

How do i submit mail without redirection to another file

I am using Bootstrap to add a dialog modal to my page using the following code. <!-- Modal --> <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" ...
0
votes
0answers
41 views

plupload.predictRuntime ERROR in Wordpress when Media Upload

plupload.predictRuntime ERROR in Wordpress when Media Upload. Shows this screen: It doesn't uploads or shows any image, and the error shown at debugging in Chrome is:
0
votes
0answers
149 views

Error with JQUERY in Multimedia Library of Wordpress

With the latest version of Wordpress I can't upload media. It shows this message from debugger: Uncaught Error: Syntax error, unrecognized expression: a[rel=] ...
0
votes
0answers
91 views

Enqueue custom jQuery UI theme to override Google CDN theme

I'm trying to override the jQuery UI theme that wordpress enqueued from Google CDN link but I have not found a solution to my issue. I have my stylesheet enqueued correctly in my plugin but the styles ...
0
votes
0answers
118 views

How to edit classes inside shortcode with jQuery

Please someone help me to do this .. I want to add FontAwesome shortcode to my theme I have a shortcode that is generated: add_shortcode( 'sh_icon', function( $atts, $content=null ){ $atts = ...
0
votes
0answers
1k views

jQuery / jQuery-UI Tabs Will Not Show New Content

Thanks in advance for any help you can offer! I am using the example posted here as a proof of concept on my website page. I am using "Use Google Libraries" to load the jQuery and jQuery-UI libraries, ...
0
votes
0answers
868 views

Saving jQuery UI Sortable on Wordpress

I am building a sortable list and need it to save the order to my wordpress database. I looked at this answer and it's helped but I am still getting an error. (It's a blank alert box) I think that I ...
0
votes
0answers
121 views

Unable to show messages using 'admin_notices'

The plugin I am working on has a table in the admin area with a single entry corresponding to single row. The admin has an option to perform certain actions on the table contents one of them being ...
0
votes
0answers
293 views

How to get styles from iframe in Customizer

I'm trying to get current styles from a live preview when Customizer is loaded to set them in my controls. How can I do that? I was trying in this way: $('#customize-preview ...
0
votes
0answers
366 views

Jquery UI Datepicker via Ajax call, issue in hiding weekdays dynamically

This is my code: var hideweek; var day; var cloDays = new Array(); function initdatepicker(hideweek){ var splitWeek = hideweek.split("&&"); $.each( splitWeek, function( skey, svalue ...
0
votes
0answers
341 views

jquery ui dialog problem

I have problem to run jquery dialog right. Here is what i do: I'm adding wp_enqueue_script('jquery-ui-dialog', array('jquery')); next jQuery(function($) { $(".commnetsRights").dialog({ ...
0
votes
0answers
526 views

Sorting UL Listing Within the TinyMCE Visual Editor in Wordpress

I am trying to use jQuery sortable within the TinyMCE Visual Editor in WordPress. I have had some success in that I can get a UL list to sort, but only if I drag the mouse OUTSIDE of the actual ...