Questions tagged [jquery-ui-button]

The Button widget that forms part of the jQuery.UI library

Button is a widget that is a part of the jQuery-ui library.

API Documentation

95 questions
0
votes
2 answers

jquery ui button screwed up when AJAX loads it

I have a problem with the jquery ui button (I think). I try to load an inbox via AJAX, I got all the data and css but somehow the script with the jquery button does not work. I got my page structured as followed: …
Mixxiphoid
  • 1,044
  • 6
  • 26
  • 46
0
votes
1 answer

whats the default padding for a jquery button?

whats the default padding for a jquery button? tried to download and search the dev pack... :( did not fint it :(
Jason94
  • 13,320
  • 37
  • 106
  • 184
0
votes
1 answer

jQuery UI Check Button doesn't stay Highlighted IE 8

I am using the jQuery UI Button element with a Checkbox. The idea is that this works as a Toggle button. The button is pressed and stays in the 'pressed'/'active' state until it is clicked again, it is a effectively a checkbox with a button as a…
Damien
  • 13,927
  • 14
  • 55
  • 88
0
votes
1 answer

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: Uncaught Error: cannot call methods on dialog prior to…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
0
votes
2 answers

jquery, setting checkboxes to true on load

I have a setup like this... $(document).ready(function(){ var model = { /* some variable names */, Traits[] }; var traits = // json array pulled from server. $('input[type=checkbox]').button(); // jquery ui button control. }); Now, in my…
Ciel
  • 17,312
  • 21
  • 104
  • 199
0
votes
1 answer

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 box, I can use sub-properties like id and…
0
votes
1 answer

Get asp.net radiobuttonlist selected value in code behind when using jQuery buttonset

I am using the jQueryUI buttonset on an ASP.NET radiobuttonlist. I need to get the selected value in server-side code when the page posts back. If I don't apply the jQuery buttonset, this is of course easy enough - just grab "SelectedValue".…
Proposition Joe
  • 481
  • 4
  • 8
  • 22
0
votes
1 answer

Jquery UI button on items added after page load

i have the jquery ui button widget working w/ the following code. $(.remove_img).button({ icons: { primary: 'ui-icon-cancel' } }); but if there isn't an image in place, on upload, i am appending a button with class .remove_img, so it…
helgatheviking
  • 25,596
  • 11
  • 95
  • 152
0
votes
1 answer

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 into "test.htm" and open that in the same…
Snow
  • 115
  • 6
0
votes
3 answers

Get nth button in a jquery-ui buttonset

Is there some way to get the nth button in a jquery-ui buttonset? $( "#radio" ).buttonset();
Nihar Sarangi
  • 4,845
  • 8
  • 27
  • 32
0
votes
1 answer

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++) { $('
Chazy Chaz
  • 1,781
  • 3
  • 29
  • 48
0
votes
1 answer

does jQuery UI have a way to achieve this Flash button's functionality?

There's a button in Flash which looks something like a jQuery SplitButton. The Flash button consists of two parts, the text and the icon. [text portion] [v] I have used it to display string search operators for the user: equals, starts with, ends…
Tim
  • 5,371
  • 3
  • 32
  • 41
0
votes
1 answer

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('background-color', '#000000'); …
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

Manipulation dom after using jsrender

Im my project I use jsrender. Below my example of code.