Allows for creation of stateful jQuery plugins using the same abstraction as all jQuery UI widgets.
Questions tagged [jquery-widget-factory]
5 questions
1
vote
1 answer
Dynamically add new options to existing custom autocomplete
How could I dynamically add a label to existing categories in jQuery UI custom autocomplete? I have made a custom autocomplete like described here (jQuery UI docs for autocomplete):
jQuery UI…

Suhail Gupta
- 22,386
- 64
- 200
- 328
1
vote
1 answer
jQuery Widget Factory access options in a callback method
I'm trying to create a jQuery control using the widget factory. The idea is that I turn a button into a jQuery button, give it an icon, and register the click event for that button such that when invoked, it displays a calendar control on a textbox,…

Arian Motamedi
- 7,123
- 10
- 42
- 82
0
votes
0 answers
Object property being read as undefined even though the object lists it as set
I have a JS Widget that is used to work out the closest location to a users current location from a list (using lat/long).
First of all I use the _create() method tries to set the users location by calling setLocation() method, and then after that…

David Gard
- 11,225
- 36
- 115
- 227
0
votes
1 answer
Jquery widget undefined
First, I am using an MVC WebAPI project. My scripts are configured in the bundle config and then rendered on the page (Index.cshtml).I am trying to create a JQuery widget using the widget factory. I have created the 'test' javascript file with this…

The Sheek Geek
- 4,126
- 6
- 38
- 48
0
votes
0 answers
'dialogclose' event does not works on ui-dialog widget extension
I have this problem and I hope someone can help me.
I extend the 'Ui.dialog' widget, making a new widget, 'qui.qdialog':
$ .widget ( ' qui.qdialog ', $ .ui.dialog , {
options: {
AutoOpen : false,
height: 'auto',
…

Fabain Hioc
- 23
- 1
- 4