how to get the userid's after selecting the checkbox from fieldset
I am using this code to select the checbox from fieldset: $("fieldset:has(input[type='checkbox'])") its working fine on the fieldset I have studentid's I need to get the student id's which ever textbox is selected on the fieldset? Can anybody help me out? thanks
WordPress: Encapsulating jQuery UI to avoid conflict with other version of jQuery UI that maybe loaded on the same page...
We're developing a WordPress plugin, that has jQuery UI widget, which inherits from UI Dialog. In WordPress, in order to avoid multiple instances of same js libraries on one page, there is implemented a special queueing mechanism, which resolves dependences, loads libraries in proper order and makes sure that they are loaded only once. Now, since we are basing our widget on UI Dialog, which also depends on UI Draggable, UI Resizable, etc, we would like to concatenate all these libraries into one,
UI Tabs
Hi Everyone, I'm using the jquery ui Tabs and I wanted to have a link that is inside all the Tabs to link to one particular tab is there any way to do that thanks. Will
jqueryui.com 500 Internal Server Error
i have a problem with the theme switcher tool : http://jqueryui.com/themeroller/themeswitchertool/ so i try the url in my browser and get the : 500 Internal Server Errorall the jqueryui.com have the same error. There is no way to have a functional download of the theme switcher tool and don't be dependent of the online tool ? Thanks for the look. Best regards.
Accordion in a Dialog
Has anyone had an accordion running in a dialog?
JQuery and the Dollar Sign problem
This is my first post here and my first time to be using JQuery UI. I'm getting problems making the datepicker UI plugin work with the infamous $() method as an alias to document.getElementById() method. I used the jQuery.noConflict() method to create an alias called $jq for my datepicker UI script, but the button that has the '$('refreshButton').click() throws the dreaded 'Object doesn't support this property or method'. I am working with legacy javascripts way back when and would like to introduce
Where do the theme files go for VS 2010. I am using VS 2010
I'm using VS 2010. I want to use tabs with a theme. After I download the theme using the theme roller precisely where do I install the varous parts. I am specifically working with tabs. However, I now have two files named \Content\jquery-ui-1.8.1.custom.css, so I put one in the Content directory and one in a subdirectory named of Content named theme. I link both of these in the Master.cs. The tabs do pick up the theme, but none of the colors change when the mouse hovers over a tab. I appreciate
Datepicker: Restricting specific days of the week
For my date picker, I only want Tuesdays and Fridays to be available. The other 5 days of the week need to be disabled. Is this possible? How could I go about doing this? Thanks!
Accordion UI and ScrollTo Header
$(document).ready(function(){ $("#content-container").accordion({ header: 'div.comment_toggle', active: false, autoHeight: false, collapsible: true, change: function(event, ui) { $.scrollTo( ".ui-state-active", { offset:-100, duration: 1000 } );} }); });Need the last/active jquery/DOMelement from Accrodion for ScrollTo. See ".ui-state-active";! Please help.
Checkbox widget and event binding
Hey, I have a page that I do a livequery on to style all of the checkboxes using the checkbox widget from http://wiki.jqueryui.com/Checkbox. A couple of the checkboxes require the change/click event to be handled. When using this widget neither of those events are being fired off. I've tried the following: $("#chkbox1").live("click", function (){ // I've tried .change, .click, .bind, .live, and .livequery alert("event fired"); }); $('input[type=checkbox]').checkbox();If I don't call
multiselect property
I'm create some html content based on JQuery UI, there is a list of elements (<ul>....</ul>), which are selectable. I want them NOT to be multiselect.... How can I get such result?
Submit Jquery Modal Confirmation
Hello. Im using the jqueryui plugin and I'm using the code for the jquery modal confirmation shown in the demo. If you see the demo, where the text is written i have a form with a couple of input fields. What I want to do is that when u press "delete all" for the form tu submit. I see the demo for the modal form, but that one has a lot of validations and when I try to modify it the code breaks and doesnt work. I only need for the form to submit when u press the button, no validation. Thanks!
slider ui -- 'click' event?
hi, how do I get my slider to change values when I click on it? 'change' event is triggered when you stop sliding... http://docs.jquery.com/UI/Slider#event-change is there an event so you click @ any point on slider and it returns value of pt where you clicked? thank you..
Ajax tabs in remote page not working in Safari and Chrome
Hi Folks I am relitively new to jQuery so I believe that the coding error is mine, but thanks in advance for the help!!! OK... so I am using Ajax tabs to call remote data into the page, everything works perfectly in all browsers accept for Safari and Chrome who both share the same code base so not surprise that it fails in both. The error message @href$="undefined" I would appreciate a cure for this problem, a code sample is below... In the head section of page1.... <script type="text/javascript"
jquery-ui-tabs : last item of unordered list is merging with the last list item in IE 6.0 / 7.0
Hi All, My jquery-ui-tabs have following functionalities implemented 1. Sortable [All tabs except the 'Add Tab'] 2. Add Tab [using add tab link] Above works fine in Mozilla, but in IE 6.0 / 7.0, my 'add_tab' link is getting merged with the last list item. As a result, 'add_tab' link button is joining the last listitem [last tab], while sorting the tabs. I have checked this thing in IE 8.0 and it is working fine. Note: I do not want to make <li> item for 'add_tab' since this will make my 'add_tab'
Draggable to Sortable: ui.draggable
I have a list of draggable items that can be dropped on several sortable lists. When a new item is added to one of the sortable lists, I need to inform the database and format the item. I'm adding the code to the update event of the sortable, but I need to detect that it isn't just a regular sorting but a new element added, and I also need to access information in the dropped element's attributes. How could I do this? I see that droppables have a drop event with ui.draggable to reference the dropped
Not able to fade in/out Dialog
I am not able to fade in/out Dialog in jQuery UI. The code I'm using is: someElement.dialog({ title: 'Example', show: 'fade', // I've tried using fadeIn as well. hide: 'fade' });When I don't include Effects Core, this gives me a 'size' effect, where the dialog resizes from the top-left. And when I do include Effects Core, the dialog is not displayed. I've looked up in the forums and elsewhere, but haven't found a solution. I'm using jQuery UI 1.8.1.
Sortables - accepts parameter
Does the SORTABLES function have(or had) an ACCEPTS parameter in the same way the DROPPABLE function does? If not, what would be a good work around for this?
Button state
Hi, I am using jquery UI button widget and I need to change its state. I know that I can enable or disable it but I need more states like checked or unchecked (like a checkbox but applied to links). Is there any way to do it?
using draggable on item with margin-top and percentage doesn't drag properly
goto: http://jqueryui.com/demos/draggable/ use firebug to put a margin-top:15% on the draggable element drag the element, the offset will be wrong, it jumps around when you click/drop it putting margin-top:0 in the ui-draggable-dragging class fixes the dragging bit, but it still jumps when you drop it there is no ui-draggable-dragged class am i doing something wrong or is this a bug.
Manipulating State of Modal ButtonGroup
Greetings - The buttongroup is great at managing its own state, ie when I click one of the modal buttons it puts itself in the selected (checked) state and puts the other buttons in the unselected state. However, there are other actions in the app that can change its state and the button bar needs to react and hilite (select, check, etc.) the correct button. It appears from the button documentation that I could do something like this: $('#radio3).button("option", checked, [false]); $('#radio2).button("option",
JQuery Dialog as Modal form
Dear All, Can you any one explain me, how can I call URL in my page. i want to open edit from list as Modal Dialog. how its it possible?? Like from www.xyz.com/list.php i wan to open www.xya.com/edit.php?id=xxx so user can have dialog modal form can be edited and save. Thanks Junaid
Video still plays after UI Dialog has been closed...
We are not using UI Dialog directly, but it's self-made extension. While some functions are overloaded, close method stays the same. Now if we place youtube video into the Dialog and then close it, it continues to play in IE. It stops in all other browsers. Why does it happen so?
jQuery UI Accordion performance
Hi all, I 'm using a jQuery UI Accordion and I'm noting that it has an awfull slow transition. And I only have 5 elements on the Accordion. I have this HTML <div id="msgContainer"> <h3><a href="./somewhere.php">A Header</a></h3> <div><p>Content</p></div> </div> The pairs <h3> and <div> repeats within a foreach loop 5 times And I have this JS: $(document).ready(function(){ $("#msgContainer").accordion({ active: false, collapsible: true, autoHeight: false, change: markMessageAsRead
jQuery Accordion
I am using Accordion to collapse a section in my form. I do not have multiple sections, just one and i want it to be in collapse condition at the start. Is it possible? This is my code sample: jQuery Call to Accordion function: $('#optional').accordion({collapsible:true}); and my html <div id="mandatory">Mandatory content here....</div> <div id="optional">Optional content here....</div> Thanks, Sampat.
Accordion with AJAXed content
Hey guys! I am using an accordion to list an array fetched from a MySQL-table joined to another table. Currently I am fetching Brand.id and Brand.title and also a grouped count of how many cigars from the table Cigar are linked to each Brand. I call this last field simply "cigars" In my view (I am using CakePHP) I have this code: <div id="accordion"> <?php foreach($brands as $brand): ?> <h3><a href="#"><?php echo $brand['Brand']['title'].' ('.$brand[0]['cigars'].')'; ?></a></h3>
HELP MEEEEEEEE SORTABLE + CONNECTWITH + dropOnEmpty: false
Hello Everybody, I having problems with a sortable, when the last object was dropped the dropped area was dropped too. I tried to set dropOnEmpty: false on it and doesn't work. So I need a help to stop dropping my dropped area. Here is my code: HEAD: $(function() { $("#sortable2").sortable({ connectWith: '.connectedSortable', dropOnEmpty: false }); $("#sortable3").sortable({ connectWith: '.connectedSortable', dropOnEmpty: false }); }); BODY: <ul id="sortable1" class="connectedSortable"> <li class="ui-state-highlight">Item
Parsing out the unneeded code in the css for the tabs component
The title is pretty self explanatory. I only wanted the tabs component and downloaded just that component. However I did want to parse out all of the css code that is not being used just to make the file more compact and easier to read. There are plenty of comments in the css so that was great. Now I need to figure out what I can remove without eliminating functionality. Can somebody give me some tips? Appreciated
Differentiate between button types
I am a new and enthusiastic user of jQuery and the jQuery UI. I have two questions regarding the UI. When I use a jQuery UI theme to style form buttons like checkboxes, radio buttons and submit buttons, they all look the same. Wouldn't it make UI sense to somehow differentiate between a radio button and a submit button, since they do very different things? Am I the only one that finds the buttons quite "fat"? I haven't found a way to reduce the padding in the design of the buttons via ThemeRoller.
UI Tabs - Calling Same JS method on each tab click - Trouble displaying data in different tabs
Hi, I have a text box and three tabs using the JQuery UI tabs. I call the same Javascript method on click of any of the tabs and that Javascript method makes a call to the server and retrieves JSON which I am formatting and then displaying HTML correctly in the first default tab. However, I am unable to display the same data in the 2nd tab, I assume I should hide the previously selected tab and show the new selected tab and then just set the html there? Thanks!
using resizables and innerhtml function
Okey, i've run into some js troubles creating a page using draggables, droppables and resizables. Hope someone can bring some light into this dark tunnel. The setup is like this: several draggables can be dropped onto a droppable div. As they are dropped, they are constrained within the droppable. Furthermore, they are both movable and resizable. Using a doubleclick function, it is also possible to edit the contents of a div. I was using innerhtml of the innermost div to change text, store them,
tablesorter default 'simple' extractor
current simple textExtraction looks as follows: if(node.childNodes[0] && node.childNodes[0].hasChildNodes()) { t = node.childNodes[0].innerHTML; } else { t = node.innerHTML; } From my experience on FF most of the time first child is something like: <TextNode textContent="\n "> As such simple text extractor most of the time falls through else clause. Wouldn't it make more sense to filter
jquery ui autocomplete json
Hello, I am trying to have autocomplete work. The basic examples from the docs works so I know I am calling the jquery libraries and css fine. The server returns a json string that looks like this: [{ 'label': 'Jean', 'value': 1 },{ 'label': 'carl', 'value': 2 },{ 'label': 'Martin', 'value': 3 }]But the above values do not appear as autocomplete. I am wondering if my json is proper. Or maybe there is a deeper problem with my codes. Thanks for any help! the html is: 7840 <input type='text'
Basic questions about themes.
Hello all, I am fairly new to jQuery and just started using jQuery UI and I had a couple of questions about themes. I wanted to incorporate some jQuery UI components, particularly datepicker, into the site I am building but have run into a few snags. I already have links to the jQuery core and jQuery Ui already in my file like this: <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> //<![CDATA[ google.load("jquery", "1.3"); google.load("jqueryui",
Page Loading Dialog
Hi, Can someone explain if the following is possible please... I'm usign the excellent "dataTables" plugin for JQuery. Upon entering a page, I'm loading 'about' 1000 records into the table. While this is quick, it can take anything upto 3 seconds depending on internet speed, etc, etc. What I'd like to do is show a Dialog box immediately upon entering the page just showing something simple like "Please Wait..." No matter what I do though, the Dialog is showing AFTER the table has been populated.
Stop propagation of a draggable when dropped
Hi, I'm developing a "mobile touch phone"-like slideshow, with draggable and droppable. My question is, when a draggable element is dropped, how can we disable this element to be draggable, and reactive it when the action is finished ? (To prevent a user to keep the mouse down click on the element, and move the draggable even the droppable "over" event is triggered) Thanks !
Datepicker date boxes different sizes
How come all the day boxes on the datepicker aren't the same size? Wednesday's boxes are 27px long, Tuesday's are 24px long and Monday is 25px long. You would think they would all be the same.
datepicker flickering
Hi, I'm using jquery ui datepicker, and I bumped into strange issue in FF 3. When calendar shows it causes page flickering. Could you take a look what is going on? http://aspspider.net/dragonflypl/index.aspx Thanks, Paweł
Dialog buttons disappear when dialog is dragged
When I add buttons to a dialog dynamically, e.g., $("#sheetwizard").dialog("option", "buttons", { "Next": function() { showDocumentWindow(); } }); the buttons disappear when the dialog is dragged. This only happen when: 1) the buttons are added dynamically, and 2) after the dialog is opened. If the dialog is physically closed and then opened the buttons reappear. Is this a bug or am I doing something wrong?
Smoothness PSD?
Does anyone know if a PSD version of the Smoothness theme exists? Looking to add it to my websites UI kit, hoping I don't have to create it from scratch
Next Page