Re: [jquery-ui] Re: Problem using multiple datePicker instances and renaming fields

2010-01-13 Thread Arturo Fuentes Magán
It helped a lot, it solved my problem. Thank you. 2010/1/12 Nick Knickerbocker nick.knickerboc...@gmail.com I ran into this issue myself and found two things that cause inst is undefined. Both situations typically result from using the jquery clone() method either directly or as a side

[jquery-ui] HTML tag restriction when using selectable?

2010-01-13 Thread Maxi326
I am new to jQuery, so this maybe stupid. but no answer can be found in both demo and doc, so. the demo shows selectable in this way. I think you all familiar with that. script type=text/javascript $(function() { $(#selectable).selectable(); }); /script ol

[jquery-ui] Re: Accordian and tabs not playing well together.

2010-01-13 Thread Steven Black
Hi Don, First thing to do is validate your HTML. 92 errors on the first link you provide: http://is.gd/6bEXz Once your HTML is proper things will go much smoother. **--** Steve On Jan 12, 9:29 pm, dondmcg d...@mcgrathdesigns.com wrote: I hope someone can help because I have been

Re: [jquery-ui] HTML tag restriction when using selectable?

2010-01-13 Thread Balázs Suhajda
Here, I made a quick example with your html: http://jsbin.com/exezi/edit On Wed, Jan 13, 2010 at 10:14 AM, Maxi326 maxi...@gmail.com wrote: I am new to jQuery, so this maybe stupid. but no answer can be found in both demo and doc, so. the demo shows selectable in this way. I think you all

[jquery-ui] Re: Jquery UI ui-widget class needs table as part of selector definition

2010-01-13 Thread Scott González
This is not the goal of the jQuery UI CSS Framework. If you want a CSS framework that will solve generic problems, there are other systems available, such as Reset CSS and Blueprint. The goal of the jQuery UI CSS Framework is to build a small framework for UI plugins to be built on top of and then

[jquery-ui] Submit prevented form

2010-01-13 Thread Cyril Lopez
Hi, In a form, there are 2 inputs (type = submit). I prevented the submit in order to use a dialog. For example, on the input 1 click event : $('#mySubmit1').click( function (e) { e.preventDefault(); // prevent the submit action [...] $dialog.dialog(

Re: [jquery-ui] Submit prevented form

2010-01-13 Thread Balázs Suhajda
I would suggest using a hidden input or 2. Using jquery you can easily set them to be disabled and then they will not submit. input name=somename type=hidden value=somevalue/ then you could use $('[name=somename]').attr('disabled','') to enable $('[name=somename]').attr('disabled','disabled') to

[jquery-ui] Re: Don't want first item in Accordian jquery to auto-open

2010-01-13 Thread ferfer
adasdasfsdafgrgvbgrers On 12 Ocak, 00:01, ferfer karaman...@gmail.com wrote: Not sure if I'm asking this correctly, so let me explain. I've got the Accordian script working fine, but I don't want my first item to be opened (showing hidden info) when my page loads. I want all my links hidden

[jquery-ui] HTML5 Menu Tag and jquery-ui menu toolbar

2010-01-13 Thread slmnhq
What do you guys think is the correct usage of the 'menu' and 'command' tags in HTML5? Eg: to display a menu like so: File - New, Save, Close Edit - Undo, Cut, Copy is the following mark-up correct? menu type='toolbar' menu type='list' label='File' command label='New'/ command

[jquery-ui] drag and drop javascript weirdness (on Firefox)

2010-01-13 Thread dreamerme
First, let me say that jQuery UI is awesome, it's made my life 1000 times easier, I am having one small issue... When putting certain javascript inside a droppable object after dragging it and dropping it it suddenly reloads in an entirely new page (on Firefox). Is there an easy way to stop this

Re: [jquery-ui] Submit prevented form

2010-01-13 Thread Cyril Lopez
2010/1/13 Balázs Suhajda suhaj...@gmail.com I would suggest using a hidden input or 2. Using jquery you can easily set them to be disabled and then they will not submit. Thanks for the tip Balázs ! Cyril input name=somename type=hidden value=somevalue/ then you could use

[jquery-ui] Re: Droppable: how to work it in a dynamic table?

2010-01-13 Thread Dr Funkenstein
Great! Thanks. On Jan 12, 5:05 pm, Richard D. Worth rdwo...@gmail.com wrote: See http://api.jquery.com/category/selectors/ specifically http://api.jquery.com/class-selector/ - Richard On Tue, Jan 12, 2010 at 7:34 PM, Dr Funkenstein asa...@shaw.ca wrote: Thanks Jorn. How would I set

[jquery-ui] Cross tabs navigation activated by page content.

2010-01-13 Thread David Parker
I'm using the jQuery .tabs() routines to move from tab to tab. What events can be added to the panel of the tab, that it either moves to the appropriate tab and/or causes so processing to happen and then moves to the appropriate tab? Example1: Click on item and causes an event as same as if I

Re: [jquery-ui] Cross tabs navigation activated by page content.

2010-01-13 Thread Balázs Suhajda
Have you looked at the docs? http://jqueryui.com/demos/tabs/ to be exact: http://jqueryui.com/demos/tabs/#method-select On Jan 13, 2010, at 20:43 , David Parker wrote: I'm using the jQuery .tabs() routines to move from tab to tab. What events can be added to the panel of the tab, that it

[jquery-ui] Re: Droppable: how to work it in a dynamic table?

2010-01-13 Thread Dr Funkenstein
I have another question on the same topic. How can I retrieve the data in the draggred row once it's dropped into a droppable row? Similarly how can I know which row with what data was it dropped into? Thanks! On Jan 12, 5:05 pm, Richard D. Worth rdwo...@gmail.com wrote: See

[jquery-ui] Re: Droppable: how to work it in a dynamic table?

2010-01-13 Thread Dr Funkenstein
Actually seems like using $(this).text() gets me the data in the destination row but I'd ideally want to know its Id. I've tried using ui.draggable.text() to get the content of the dragging row but it doesn't seem to work. On Jan 13, 2:53 pm, Dr Funkenstein asa...@shaw.ca wrote: I have another

[jquery-ui] Re: Droppable: how to work it in a dynamic table?

2010-01-13 Thread Dr Funkenstein
I got it! I wasn't passing the ui as a parameter to the drop function which is why the call to ui.draggable was failing. On Jan 13, 3:04 pm, Dr Funkenstein asa...@shaw.ca wrote: Actually seems like using $(this).text() gets me the data in the destination row but I'd ideally want to know its Id.

[jquery-ui] UI Dialog with embedded iframe - only load once?

2010-01-13 Thread pembo13
I am using the UI Dialog with an iframe within it, the problem is that the iframe gets reloaded every time i ('open') the dialog, even though i only set the iframe.src the first time. That is every time i do dialog.('open') the iframe gets loaded, I want it to only load the iframe on the first

[jquery-ui] can't simulate a tab keydown using jquery.simulate.js : (

2010-01-13 Thread Leeoniya
not sure if i am doing this right, but it doesnt seem to work: $(#fname).simulate(keydown, {keyCode: 9}); firebug shows the simulated keydown event identical to a real one in every way. but the cursor does not move to the next tabindex field. am i missing something? thanks, Leon -- You

[jquery-ui] How to override selectable event handler?

2010-01-13 Thread Maxi326
If you click on one item of a selectable, it will exclude previously selected items. But I need to keep them, so I have to override this behavior and other events too. I am going to try adding my own event handler and use event.stopPropagation() to try stopping the default. sorry, I am a noob,

Re: [jquery-ui] DatePicker restrict certain days?

2010-01-13 Thread Gus Waddell
Hi, You can use the 'beforeShowDay' option of the datepicker to restrict any day or day of the week based upon the result of a function. So - to not allow selection of Sundays try this: $('#noSundays').datepicker( { beforeShowDay: function(date){ if (date.getDay() == 0){ return [false,'']; }