Skip to main content

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
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 ...
coool's user avatar
  • 8,267
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(){ // ...
Randy Mayer's user avatar
  • 8,745
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 ...
user154107's user avatar
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() { ...
Harsha M V's user avatar
  • 54.7k
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 ...
joe's user avatar
  • 17.4k
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 ...
user517406's user avatar
  • 13.7k
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 ...
Tom W Hall's user avatar
  • 5,273
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?
Dawid Ohia's user avatar
  • 16.4k
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?
Robert MacLean's user avatar
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: $("#...
Keith's user avatar
  • 26.4k
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 ...
Andrus's user avatar
  • 27.2k
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. ...
santhosh's user avatar
  • 1,904
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 ...
Sonny's user avatar
  • 8,306
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 ...
danspants's user avatar
  • 3,337
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 ...
Johannes's user avatar
  • 6,380

15 30 50 per page