Questions tagged [jquery-ui-plugins]

Stateful jQuery plugins built using the jQuery UI widget factory.

jQuery UI plugins are stateful user interface interactions, effects and widgets built on top of the JavaScript library using the jQuery UI widget factory. All of the widgets in the jQuery UI library are examples of jQuery UI plugins.

Resources

31 questions
28
votes
2 answers

How to decide between _init and _create in jQuery UI widget?

I think I understand the difference between _create and _init in widget definitions (see for instance this question), but I'm still not certain about the purpose for the distinction. What sorts of setup tasks go in _create() or in _init()? What goes…
Luke Maurer
  • 7,845
  • 2
  • 24
  • 24
10
votes
1 answer

jQuery UI datepicker translation

How can I translate the datepicker from jQuery UI into an other language (german for exaple)?
user63371
  • 539
  • 4
  • 7
  • 17
10
votes
5 answers

jQueryUI DatePicker YearRange and ChangeYear problems

I have a datepicker on an application form. We only allow applications where the date of birth is within a certain age range. I enabled ChangeYear and set the YearRange to "-65:-16". The problems I am having are as follows: 1 - When I select a date…
CoreyT
  • 669
  • 2
  • 10
  • 24
9
votes
2 answers

Sortable w/ Selectable Text

Is it possible to be able to have sortable elements, but still allow users to copy/paste the text inside the elements?
Foo
Bar
other stuff…
vol7ron
  • 40,809
  • 21
  • 119
  • 172
5
votes
4 answers

Building jQuery UI Plugins

Beyond the official documentation, are there any recommended resources for learning to build jQuery plugins. I'm particularly interested in building plugins for the UI libary. I've been looking at the source for some of the official ones, but I've…
Wilco
  • 32,754
  • 49
  • 128
  • 160
4
votes
2 answers

jQuery UI 1.8.17 and selectmenu

The answer to this question will probably give me a "doh!" moment, but where can I find a working selectmenu plugin that work with a late(ish) jquery ui version? Iv tried from all of these places, but none seem to…
MatteS
  • 1,542
  • 1
  • 16
  • 35
3
votes
2 answers

bgiframe with jQuery UI 1.8.9 Dialog and jQuery 1.5

So I am using jQuery UI's dialog box. But as I have a read there is a common bug within IE6 (which is unfortunate that I have to make sure this works for) where dropdown lists do not pay attention to z-index queues. I have also read that there is a…
Justin Rassier
  • 898
  • 12
  • 26
3
votes
1 answer

jQuery two part question - anchor to mimic tab and binding click event

Question I'd like to have an anchor in the page that performs the same function as the tab. I was only able to get it to work if I placed something like $('#tabs ul a:first').click() in the onclick event of the particular anchor. Note: the href…
vol7ron
  • 40,809
  • 21
  • 119
  • 172
2
votes
1 answer

jQuery Modal Login in ASP.Net MVC 3

I'm trying to get this http://blog.stevehorn.cc/2009/06/rendering-modal-dialog-with-aspnet-mvc.html to work with MVC 3. I'm pretty new at ASP.Net MVC, and started an MVC 3 project recently. I want to display a modal login form when the user click on…
pete
  • 55
  • 2
  • 5
2
votes
1 answer

Additional Parameter when using jqueryui's auto complete

I'm looking to add an additional parameter to a jquery UI auto complete request without having to nest the json return in an ajax call. I would envision something like the following working, however the data: option is not passed over to the ajax…
AceoStar
  • 431
  • 4
  • 7
2
votes
3 answers

How do I add the jqueryui selectmenu plugin to my page?

I'm trying to add the selectmenu jqueryui plugin to my page. I have gone to https://github.com/fnagel/jquery-ui and copied the file jquery.ui.selectmenu.js from the ui folder. I have then included a link to this javascript from my page. I have a…
brad
  • 9,573
  • 12
  • 62
  • 89
2
votes
4 answers

jQuery UI: Best way to load HTML markup?

What's the best way to load HTML markup for a custom jQuery UI widget? So far, I've seen elements simply created using strings (i.e. $(...).wrap('
')) which is fine for something simple. However, this makes it extremely difficult to modify…
Wilco
  • 32,754
  • 49
  • 128
  • 160
1
vote
1 answer

jQuery UI Autocomplete how to implement Must Match in existing setup?

I have the following code and am curious as how to force the input to match the contents of the autocomplete: $("#foo").autocomplete({ source: function( request, response ) { $.ajax({ url: "index.pl", dataType:…
martok
  • 479
  • 2
  • 6
  • 11
1
vote
1 answer

destroying jquery ui plugin instances

I have a tagging plugin. The plugin is getting used on an element of a form that is generated via ajax. something like ... success : function(data) { $.lightbox(data); $('#groups').tagit(); } ... Now when the form is submitted (by ajax) the…
Hailwood
  • 89,623
  • 107
  • 270
  • 423
1
vote
3 answers

Is jQuery UI missing a state?

The jQuery UI widgets seem to have inactive, active, and hover states, but lack a depressed (clicked-and-held) state. Is this an oversight? Just about every modern UI I can think of have a depressed state. Has anyone added such a state? If so, what…
Nosredna
1
2 3