Questions tagged [jqueryi-ui-buttonset]

19 questions
14
votes
2 answers

Programmatically selecting radios in jQuery buttonset makes it break down

I'm building an editor function on a website using a jQuery buttonset based on radio buttons. When I load the item into the editor I need to set the selected radio button and then, of course, the user can change the option and it get's saved into…
Kristofer Källsbo
  • 1,047
  • 2
  • 10
  • 25
7
votes
5 answers

When using jqueryUI buttonset, is there anyway to determine if it has been initialized?

I have jQuery code that refreshes a button set: $("#myRadio").buttonset('refresh'); But I found a use case where it's being called prior to this line: $("#myRadio").buttonset(); And then blowing up because its not initialized. I wanted to see if…
leora
  • 188,729
  • 360
  • 878
  • 1,366
2
votes
0 answers

Stop button from losing active state in jQuery UI buttonset

I'm trying to prevent my buttons from losing the active class on mouseleave, but I can't get it working. So, my buttons are initialized with jQuery's buttonset(). They are buttons, not checkboxes. Checkboxes are out of the question because they…
morgoth84
  • 1,070
  • 2
  • 11
  • 25
2
votes
1 answer

How can I disable one button of a jQuery-UI buttonset?

Example here: http://jsfiddle.net/UVHtu/19/ I need to fill in the blank: HTML:
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
1
vote
0 answers

JQuery Buttonset Issues - Not working as expected

I'll try my best to explain what is going on as it is quite strange. Previous to making some changes on our website (this wasn't touched) this worked perfectly I am currently having 2 unexpected errors with Radio buttons in JQuery when I use…
Second2None
  • 1,470
  • 1
  • 12
  • 22
1
vote
1 answer

Create dynamic JQuery Buttonset from multiple radio sets

I am trying to create something quite simple. I have code which creates dynamic "yes"/"no" questions based on query passed through from SQL, returning anywhere from 10 - 20 questions. I've tried to use JQuery Buttonset() but can't get it to work on…
Hyperjase
  • 127
  • 2
  • 21
1
vote
2 answers

Change of jQuery radio button programmatically fails, no removal of checked attribute

My jQuery Radioset won't remove the checked-attribute when changing the radiobutton programatically. As only one radio button can be selected by its natural behavior I expect that the previous selected button will be unchecked. Am I right here? To…
bademeister
  • 107
  • 1
  • 11
1
vote
2 answers
1
vote
2 answers

Unable to apply .buttonset() jQuery method on Razor generated RadioButtons

I'd like to apply buttonset() jQuery method to radioButtons. So I wrote :
AlexB
  • 7,302
  • 12
  • 56
  • 74
1
vote
1 answer

JQM Buttons in a row?

i'm trying to get 7 buttons in a vertical row, on the left of my viewport in, the first 3 buttons look fine just need to move them down but then the other 4 are not inline with the top 3 heres my code,
Nathaniel Harman
  • 337
  • 2
  • 7
  • 20
1
vote
1 answer

Linked radio buttonsets not updating on second press

I've run into a problem and have no idea how to solve it (and yes, I used the search function without the right result). Hope you can help. A simple example can be found in jsFiddle. My setup consists of multiple buttonsets consisting of radio…
IvorG
  • 864
  • 7
  • 10
1
vote
1 answer

jQuery UI buttonset not working in IE8

I can't seem to figure out why my jQuery UI Buttonset is not working properly in IE8. Apparently, in IE when a button (label) is clicked it doesn't fire a change event for it's corresponding input. This breaks my functionality. I've already tried…
0
votes
1 answer

jQuery UI Slider styling - stop at the end

Please help me how can I stop slider handle stop at the end of slider border. DEMO: body{ padding:50px } #slider{ height:50px; border-radius:50px; border-color:#1C2128; } #slider span { height: 50px; …
Rafal
  • 35
  • 1
  • 3
0
votes
1 answer

Jquery cookies issue with multiple buttonsets

As per this question I asked and answered myself... setting jquery cookies for buttonset I'm able to set cookies for individual buttonsets but now I'm trying to do the same for multiple buttonsets. I got it to work only thing I can't figure out is…
JoMojo
  • 404
  • 1
  • 7
  • 22
0
votes
0 answers

learn.jquery mobile tutorial to use data-theme to 'data-role="listview"'

The learn.jquery tutorial asks to make a list of buttons with this command:
1
2