Questions tagged [jquery-ui]
jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.
jquery-ui
4,104
questions
460
votes
7
answers
259k
views
Downloading jQuery UI CSS from Google's CDN
I am planning on using Google to download the jQuery lib for both UI and Core. My question is, do they allow me to download the CSS for it or should I have to host it myself?
Also if I use Google to ...
140
votes
20
answers
238k
views
Long Press in JavaScript?
Is it possible to implement "long press" in JavaScript (or jQuery)? How?
(source: androinica.com)
HTML
<a href="" title="">Long press</a>
JavaScript
$("a").mouseup(function(){
// ...
59
votes
3
answers
101k
views
Dialog box runs for 1 sec and disappears?
I'm running a dialog box upon user leaving the page. The only thing is it runs for 1 sec and disappears? I know it has to do with bind('beforeunload'), but the dialog dies sooner than you can read ...
97
votes
16
answers
378k
views
jQuery Date Picker - disable past dates
I am trying to have a date Range select using the UI date picker.
in the from/to field people should not be able to view or select dates previous to the present day.
This is my code:
$(function() {
...
126
votes
5
answers
144k
views
Javascript Drag and drop for touch devices [closed]
I am looking for a drag & DROP plugin that works on touch devices.
I would like similar functionality to the jQuery UI plugin which allows "droppable" elements.
The jqtouch plugin supports ...
617
votes
20
answers
1.0m
views
How to change the text of a button in jQuery?
How do you change the text value of a button in jQuery? Currently, my button has 'Add' as its text value, and upon being clicked I want it to change to 'Save'. I have tried this method below, but so ...
298
votes
16
answers
108k
views
MVC4 StyleBundle not resolving images
My question is similar to this:
ASP.NET MVC 4 Minification & Background Images
Except that I want to stick with MVC's own bundling if I can. I'm having a brain crash trying to figure out what ...
203
votes
13
answers
207k
views
How to disable text selection using jQuery?
Does jQuery or jQuery-UI have any functionality to disable text selection for given document elements?
810
votes
25
answers
449k
views
How to remove close button on the jQuery UI dialog?
How do I remove the close button (the X in the top-right corner) on a dialog box created by jQuery UI?
646
votes
18
answers
1.2m
views
Find out whether radio button is checked with JQuery?
I can set a radio button to checked fine, but what I want to do is setup a sort of 'listener' that activates when a certain radio button is checked.
Take, for example the following code:
$("#...
31
votes
3
answers
56k
views
How to wrap single column header text into multiple lines in jqgrid
If column label text is wider than column width, label text is truncated.
Increasing column width is not nice since some texts are long.
How to make text to word wrap into multiple lines? Header ...
138
votes
15
answers
131k
views
Limit results in jQuery UI Autocomplete
I am using jQuery UI Autocomplete.
$("#task").autocomplete({
max:10,
minLength:3,
source: myarray
});
The max parameter doesn't work and I still get more than 10 results. ...
123
votes
21
answers
144k
views
jQuery UI - Close Dialog When Clicked Outside
I have a jQuery UI Dialog that gets displayed when specific elements are clicked. I would like to close the dialog if a click occurs anywhere other than on those triggering elements or the dialog ...
59
votes
5
answers
96k
views
jQuery Sortable - Select and Drag Multiple List Items
I have a design where I have a list of "available boxes", users take boxes by dragging them from the "available boxes" list to their "My Boxes" list.
Users more often than not take multiple boxes at ...
250
votes
6
answers
398k
views
animating addClass/removeClass with jQuery
I am using jQuery and jQuery-ui and want to animate various attributes on various objects.
To explain the issue here, I've simplified it to one div that changes from blue to red when the user moves ...