jquery-ui

jQuery ui.combobox and asp.net web forms autopostback

醉酒当歌 提交于 2020-01-14 03:24:04
问题 I'm using the autocombox from the jQuery UI library (http://jqueryui.com/demos/autocomplete/#combobox). The combobox is replacing a standard asp.net web forms dropdownlist control with it's autopostback property set to true. Is there a way I can 'inherit' the event handler on this control or is there a way I can identify that a 'select' or 'change' event has happened in the combobox so I can fire off a postback myself? EDIT: Adding my combobox code: (function($) { $.widget("ui.combobox", {

Jquery selectable for range selection (slider behaviour)

百般思念 提交于 2020-01-14 03:19:19
问题 I want to replace a slider with a list of values and an option to select the range. I followed the jquery selectable article, which provides a nice multi-select option http://jqueryui.com/demos/selectable/#display-grid Since I only want range selection, I disabled the the Ctrl-click using the below code. $("#selectable").bind("mousedown", function (e) { e.metaKey = false; }).selectable(); http://forum.jquery.com/topic/disabling-ctrl-click-on-jquery-ui-selectable This disables ctrl-select, but

jQuery UI Datepicker - Keyboard Navigation Event?

我怕爱的太早我们不能终老 提交于 2020-01-14 01:12:11
问题 In order to make the jQuery UI Datepicker accessible to screen readers, I'm required to populate a hidden div with the current date that is being highlighted. The problem is that there isn't an event that is associated with keyboard navigation (CTRL + Arrow Keys). In this case, how would I detect when the user is navigating between different dates so that I can fetch the highlighted date and populate it in the hidden div? // how to detect CTRL + Arrow Key Event?? $("#datepicker").on("<CTRL +

jQuery UI slide ease sibling push

十年热恋 提交于 2020-01-13 20:24:27
问题 I'm using jQuery UI's slide toggle effect to toggle a div: $("#link").click(function(){ $("#targetDiv").toggle("slide", {direction: "up"}, 1000); }); Slide is the only effect that has the animation that I want, essentially, the div coming down from the top. I don't want toggleSlide because that sort of just changes the height of the element. The only problem with slide is that it immediately pushes siblings around to the end positions: http://jsfiddle.net/XYDyy/2/ So is there some way to have

jQuery UI slide ease sibling push

和自甴很熟 提交于 2020-01-13 20:23:13
问题 I'm using jQuery UI's slide toggle effect to toggle a div: $("#link").click(function(){ $("#targetDiv").toggle("slide", {direction: "up"}, 1000); }); Slide is the only effect that has the animation that I want, essentially, the div coming down from the top. I don't want toggleSlide because that sort of just changes the height of the element. The only problem with slide is that it immediately pushes siblings around to the end positions: http://jsfiddle.net/XYDyy/2/ So is there some way to have

ColdFusion UI tags to jQuery conversion

流过昼夜 提交于 2020-01-13 19:44:52
问题 I am trying to convert some code that has various ColdFusion UI tags to jQuery. I have to create a migration plan. Currently this is what I have Tag Replacement CFApplet ??? CFCalendar http://jqueryui.com/datepicker/ CFChart http://stackoverflow.com/questions/1201098/jquery-charting CFForm too many to list CFGrid http://stackoverflow.com/questions/5622716/choosing-a-jquery-datagrid-plugin CFMap ??? CFProgressBar http://jqueryui.com/progressbar/ CFSlider http://jqueryui.com/slider/ CFTextArea

jQuery Accordion Focus

僤鯓⒐⒋嵵緔 提交于 2020-01-13 19:26:06
问题 This is my first post so let me know if you would like more information! I am using a select list and a jQuery accordion. When the user selects a value from the list it opens up the relevant part of the accordion using the activate method. This works fine apart from it also focusses the window on the accordion rather than leaving the user on in the same place. Does anyone know how to prevent this? 回答1: You may be able to store the currently active element, and restore focus after the user

jQuery UI datepicker css

跟風遠走 提交于 2020-01-13 16:27:08
问题 How can I apply my own theme to a datepicker or at least apply a theme from jQuery to it? 回答1: I would recommend using http://jqueryui.com/themeroller/, if that doesn't help you look more indepth into the ui.datepicker.css file and the ui.theme.css files. 回答2: I'm assuming that you are using the jQuery UI datepicker. If so, you can design a custom theme at the jQuery UI ThemeRoller, then modify the resulting CSS file to you tweak it to your liking. You'll get CSS and custom images for the

How to make an entire jqGrid disabled/readonly

橙三吉。 提交于 2020-01-13 16:22:13
问题 How can I make an entire jqGrid disabled/readonly? I have a page with a logical "edit section" which I show when the user selects something to edit, and hide when the user is done editing (save or cancel). While the edit section is shown, I disable several other elements on the page. I would like to disable their ability to click in the jqGrid, so they can't change selected rows, re-sort, etc. But I cannot find a way to disable/enable the grid as a whole. Apologies if this has been answered

How to make an entire jqGrid disabled/readonly

丶灬走出姿态 提交于 2020-01-13 16:20:29
问题 How can I make an entire jqGrid disabled/readonly? I have a page with a logical "edit section" which I show when the user selects something to edit, and hide when the user is done editing (save or cancel). While the edit section is shown, I disable several other elements on the page. I would like to disable their ability to click in the jqGrid, so they can't change selected rows, re-sort, etc. But I cannot find a way to disable/enable the grid as a whole. Apologies if this has been answered