Skip to main content
0 votes
1 answer
713 views

Understanding jQuery UI Button Widget

Im looking to recreate the following button after updating to the latest version (button widget was rewritten in 1.12 onwards, However im struggling to get the syntax/classes correct based of the api ...
Mr.B's user avatar
  • 397
-1 votes
2 answers
165 views

Dynamically enable a jquery ui button that was previously disabled on javascript event

I have two divs. Clicking on a jqueryui button (button1) in first div (div1) creates a jquery ui button (button2) in the second div (div2) with a data element identifying the button1 that created it; ...
Bob76's user avatar
  • 507
0 votes
1 answer
248 views

Can not open jQuery UI dialog multiple times - test case included

I have prepared a simple test case demonstrating my problem - I use a jQuery UI button to open a jQuery UI dialog: However this works only once. On subsequent button clicks I get the error: ...
Alexander Farber's user avatar
1 vote
1 answer
504 views

what if i want to add two icons to one button by using jquery-ui 1.12.0

$("#search_button").button({ icons: { "primary": 'ui-icon-search', "secondary": "ui-icon-triangle-1-s" }, }); "secondary": "ui-icon-triangle-1-s" can't be added to "#...
Echo's user avatar
  • 11
0 votes
1 answer
676 views

How do I discover all available properties when using a jQuery UI widget?

I have recently found that there are additional properties for some jQuery UI widgets that work, but are not documented. For example, when providing the buttons property on a jQuery UI 1.11.4 dialog ...
Jacob Stamm's user avatar
  • 1,873
3 votes
3 answers
3k views

jQuery UI modal dialog: button icons do not appear

My modal dialog works perfectly (meaning I can adjust every option), except that the button icons option has no effect. Here's the code I'm using to generate the dialog: $('#alert_div') .attr("...
Harpo Jaeger's user avatar
0 votes
1 answer
729 views

JQueryUI Radio Button Examples Not Working

I'm trying to replace some radio buttons with the nice-looking JQueryUI kind. However, when I copy the sample code at http://jqueryui.com/button/#radio (which works fine as seen on that page) directly ...
Snow's user avatar
  • 115
1 vote
2 answers
717 views

jquery-ui buttonset click event doesn't seem to change the checked state

I am using a jquery-ui buttonset with 2 radio buttons for yes/no input. var yesInput = document.createElement("input"); yesInput.type = "radio"; $(yesInput).attr('id', "njs1"); $(yesInput).prop('...
Nihar Sarangi's user avatar
0 votes
3 answers
183 views

Get nth button in a jquery-ui buttonset

Is there some way to get the nth button in a jquery-ui buttonset? $( "#radio" ).buttonset(); <link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css" ...
Nihar Sarangi's user avatar
0 votes
1 answer
184 views

buttonset() not working with dynamic inputs

I'm trying to use jquery buttonset() for dymanic inputs but it's not working: $(document).ready(function () { var N = 30; for (var i = 1; i <= N; i++) { $('<label/>', { ...
Chazy Chaz's user avatar
  • 1,851
0 votes
1 answer
81 views

Why have my jQuery UI buttons reverted to outsized and generic?

I've used the jQuery UI before to fancify buttons. But now with this code: else if (ui.newTab.index() == 3) { $('#MediaContent').load('Content/TwainMedia.html'); $('#MediaContent').css('...
B. Clay Shannon-B. Crow Raven's user avatar
1 vote
1 answer
174 views

jQuery calculator not working in IE. Looks great in other browsers

Thought I had this calculator done. It looked awesome, until I viewed it in IE. Can you guys take a look and let me know why it's all kinds of screwed up? Look at it in IE and in another browser for ...
user3512416's user avatar
0 votes
1 answer
244 views

Manipulation dom after using jsrender

Im my project I use jsrender. Below my example of code. <script id="usersTemplate" type="text/x-jsrender"> <button id="createUser">Create</button> <table> <tr> <...
Struchkov Vladimir's user avatar
1 vote
3 answers
13k views

jQuery UI button click event

I'm having some very strange behavior with a jQuery UI button. It appears it is happening on chrome only. I have to click twice to make it work. After further investigation, it seems I had to click ...
Torgeir's user avatar
  • 43
0 votes
3 answers
2k views

jQuery UI: How to customize buttonset corners?

Like the image below, how can I customize the corner of the radio buttonset of jQuery UI? Instead of have a round corner at right side of a button, how can I customize it and make it has rounded-...
PaulLing's user avatar
  • 2,170

15 30 50 per page
1
2 3 4 5
7