[jQuery] Jquery Dialog box + selection options - Sometime unable to get selection options

2009-08-03 Thread Nitin
Hello, I am using Jquery Dialog box which has a select options (drop down). The dialog is initialially hidden and on some event on main page I display the dialog. The dialog has couple of buttons Add and Cancel. On clicking Add I need to check the option selected and process it accordingly and cl

[jQuery] Re: ajaxForm and validate plugin

2009-08-03 Thread András Csányi
Hi David! Thanks the solution, I will try it! András 2009/7/21 David Parloir : > > hi András, > I suppose that after 2 weeks you found a solution, but i was in the > same situation and I was thinking "too bad there is no answer to that : > (" > So, now that I've found the solution, here it goes

[jQuery] Browser back button problem inn IE & Chorme

2009-08-03 Thread Appu
Hi all, I want to restrict page load on back button click. I have attach # in url. And click on back button first time it remains in the same page. It wark fine in FF,Opera and safari. But it not working in IE and Chrome. Is there any other way by which we can restrict page load on back button c

[jQuery] Jquery + Jquery.layout + Json2007 layout issues

2009-08-03 Thread Nitin
Hello, I am implementing the Really Simple History(RSH) for my ajax application on ruby-on-rails. I am using jquery layout for laying out the page which gets updated with ajax calls. In order to implement the back button in my application I am trying to use RSH. RSH library has dependency on Json

[jQuery] Re: Check if element is shown with show()

2009-08-03 Thread rupak mandal
Hi Stefan What i am getting is that, on click you have to display a paragraph and hide another. Home About Contact Gallery $(.changepara).click(function(){$(.hangepara).hide(); $("#"+this.id).show(); }) }) I think this code will help you. On Tue, Aug 4, 2009 at 5:29 AM, Stefa

[jQuery] Re: More fun with decrementing on click

2009-08-03 Thread littlerobothead
Bingo. Thanks all for you straightforward answers. This had been dogging me for days. Thanks! On Aug 3, 5:12 pm, Peter Edwards wrote: > Hi Nick > > $(".number").html(count--); > > count-- decrements your count variable after it has passed its value to > the $.html() function. > use --count > >

[jQuery] Re: a select question

2009-08-03 Thread David .Wu
thanks a lot, this is exactly what I want :) On 8月3日, 下午9時44分, Liam Potter wrote: > I think he just wants to select anything without a certain class > eg > $("div:not('.abc')") > > Michael Lawson wrote: > > > mmm a little more information in regards to what exactly you want to > > do but > > > $

[jQuery] Re: a select question

2009-08-03 Thread David .Wu
thanks a lot, this is exactly what I want :) On 8月3日, 下午9時44分, Liam Potter wrote: > I think he just wants to select anything without a certain class > eg > $("div:not('.abc')") > > Michael Lawson wrote: > > > mmm a little more information in regards to what exactly you want to > > do but > > > $

[jQuery] Re: Merge JQuery Element Objects

2009-08-03 Thread Michael Geary
Like Richard said, you can use .add(). But also note that all the lengths you mentioned are off by one. The .length property of a jQuery object, just like a string or an array, is the actual length, not the length minus one. Don't be thrown off by the fact that array indexes start at [0] and so n

[jQuery] Re: Merge JQuery Element Objects

2009-08-03 Thread Richard D. Worth
Use the .add() method: http://docs.jquery.com/Traversing/add#expr - Richard On Mon, Aug 3, 2009 at 5:43 PM, lowtech wrote: > > > > > > > > > > > > > function getNodes(e) { >return $.extend(e, $(e).find('li.bar')); > }

[jQuery] Merge JQuery Element Objects

2009-08-03 Thread lowtech
function getNodes(e) { return $.extend(e, $(e).find('li.bar')); } var nodes = getNodes($('#foo')); console.log(nodes); - How do I merge these two objects? If I ran a console.log on just "$

[jQuery] IE8 bug/behavior: HTML Selects (DispHTMLOptionElement) and JQuery Form and Validation

2009-08-03 Thread Sean
My JQuery POST is supposed to re-render new content in the Lightbox, but this was not happening in IE8 and IE8 Document Mode. Would work in IE8 Browser Mode and IE7 Document Mode. Turns out there is something odd about how an HTML Select Option on the form was handled. Regardless of how I define

[jQuery] (validate) Form needs to be submitted twice

2009-08-03 Thread Chuck
Hello. I have encountered a problem using remote validation where my form does not post until the second time the submit button is clicked. If I remove the remote validation everything works correctly. As it is everything works except that the submit button must be clicked twice. Thank you for

[jQuery] Check if element is shown with show()

2009-08-03 Thread StefanCandan
Hello, I'm building a website with JQuery. Now I need to check if an object is shown, with show() My jqeury to hide all the elements at start: $("p.about").hide(); $("p.gallery").hide(); $("p.links").hide(); $("p.contact").hide(); $("p.home").hide(); The

[jQuery] Re: jquery droppable propagation problem

2009-08-03 Thread Richard D. Worth
Use the greedy option: http://jqueryui.com/docs/droppable/#option-greedy - Richard On Mon, Aug 3, 2009 at 9:38 AM, shangl wrote: > > hi, > > i have a problem with nested divs and drag & drop...wenn i drag a > draggable on a droppable div (and the divs are nested --> one > droppable in another d

[jQuery] Re: can't update div through dialog

2009-08-03 Thread Richard D. Worth
When a dialog is initialized it is appended to the end of the body, because of an IE6 stacking issue. So it's no longer inside the .pane element. - Richard 2009/8/2 av3nger > > When I try to animate a DIV-element with this code: > $(this).parents(".pane").animate({ backgroundColor: "#fbc7c7" },

[jQuery] How do I make sub-navigation links?

2009-08-03 Thread banacan
I'm relatively new to jQuery - I'm a server-side man, PHP - and I'm trying to discover how to make sub-navigation links appear under my main nav bar when a main link (with children) is hovered. It is no problem for me to do in PHP and I am including the sub-nav in a side bar, but I would also lik

[jQuery] Auto-populate and get index in HTML Select

2009-08-03 Thread OccasionalFlyer
I need to modify a complex web app. The web page has a set of "cascading" selects. That is, choosing "A" in the first HTML select needs to trigger code to load a specific list of values into the second Select and choosing something there needs to trigger code to load a specific set of values int

[jQuery] Re: Get append() result

2009-08-03 Thread James
How about: $row = $("..."); var newrow = $row.appendTo("#docs tbody"); On Aug 3, 11:51 am, Brad wrote: > If I add a row to a table in the following manner, how can I get a > reference to the added row? > > var row = "..."; > var newrow; > newrow = $('#docs tbody').append(row); > > With the abov

[jQuery] Get append() result

2009-08-03 Thread Brad
If I add a row to a table in the following manner, how can I get a reference to the added row? var row = "..."; var newrow; newrow = $('#docs tbody').append(row); With the above code new row references the tbody and not the tr.

[jQuery] Re: Form Validation

2009-08-03 Thread Ratheesh
Hi, It is specified in the documentation as "After submitting an invalid form, the first invalid element is focused, allowing the user to correct the field. If another invalid field, that wasn't the first one, was focused before submit, that field is focused instead, allowing the user start at th

[jQuery] Re: Form Validation

2009-08-03 Thread Ratheesh
Hi, Usually when validation error occurs, the focus will go to the top most control which is in error. But for me the page stay as it is. it is not scrolling up to display the first control which is in error. Thanks On Aug 1, 6:16 am, G Tupman wrote: > Please elaborate? need some more info > >

[jQuery] Re: More fun with decrementing on click

2009-08-03 Thread Eric Garside
The problem is in how you're applying the decrement operator. If you put it at the end of the number, as in: number-- Then, the current number will be returned, THEN decremented. That's what's happening here. Simply put the operator before the number, so it is decremented THEN returned. $('.nu

[jQuery] Re: More fun with decrementing on click

2009-08-03 Thread Peter Edwards
Hi Nick $(".number").html(count--); count-- decrements your count variable after it has passed its value to the $.html() function. use --count Peter on 03/08/2009 21:15 littlerobothead said:: I have a status area in an app I'm working on. It shows the number of unread alerts. As the user c

[jQuery] More fun with decrementing on click

2009-08-03 Thread littlerobothead
I have a status area in an app I'm working on. It shows the number of unread alerts. As the user clicks each alert, it's subtracted from the total. The following code counts the number of items to use as my total: var trigger = $("#dataset-b tr.unread"); var count = $(trigger).length;

[jQuery] show hide slideshow

2009-08-03 Thread xandercoded
I know this may be simple, nonetheless I am having issues. Below is the code im working with. Can someone guide me as to a way of getting my custom slideshow to work properly. Expectations: Hide all 's except the first one and then loop through all the images with a settimeout to fadin and fadeou

[jQuery] automatic pause after slide

2009-08-03 Thread Dave
I'm very new to Jquery so please forgive, if this is trivial. I have a webpage with four automatic slideshows on it. I need to pause the fade in function of the next slide by 20 seconds for each slideshow. Also, Jquery shows each img upon loading the page. Is there a way to prevent MySlides1-3 f

[jQuery] Cycle - Stop queing effects on pager hovers

2009-08-03 Thread Charlie
Put together a Cycle show with multiple effects triggered with onBefore and onAfter including sliding text over images and a sliding highlighter over  pager thumbs. Pause onHover is true. All works great if I use "click" event on pager, however customer wants to use hover on pager. Trying to

[jQuery] Re: set certain items in a select list to selected.

2009-08-03 Thread amuhlou
Maybe the eq() selecor would help more (http://docs.jquery.com/ Selectors/eq) something like: $("#mylist option:eq(2), #mylist option:eq(0), #mylist option:eq (4)").attr("selected", "selected"); On Aug 3, 2:51 pm, shaded wrote: > Not exactly. I guess looping through my string would work. but

[jQuery] Re: set certain items in a select list to selected.

2009-08-03 Thread shaded
Not exactly. I guess looping through my string would work. but its a multiple select list so .addclass wont work i tried using $("#mylist option:contains(3)").attr("selected", "selected"); this compares against the list value, not the id. Is there a way to compare against the id? Better yet,

[jQuery] IE8 Variable Undefined Error

2009-08-03 Thread DMi Partners
I am trying to read the value of the FlashVars parameter off of a Flash .swf file that's being embedded onto a page using swfobject. I can't change anything about how the Flash is being put on the page so I'm trying to manipulate it with JQuery. In Firefox the following selector works: $flashvars

[jQuery] create new (blank) XML-Object and populate it

2009-08-03 Thread huehnerhose
Hi! I'm writing a little FrontEnd where the user can add/remove/edit many elements. When he is finished he should be able to save the whole thing as XML. The source-XML is created by an php-backend and load via ajax-call of jQuery. Now I want to keep the whole communication between the backend an

[jQuery] [autocomplete] textarea - adding selections not only on the end

2009-08-03 Thread wiper
I would like to ask if anyone tried use this plugin like t9 in mobiles with textarea form. I am currently trying to use this plugin with my words database for suggesting "right" words. This is ok and is working if you write word after word and use suggest for last word. But if you need to add word

[jQuery] Re: Listnav initial display of no items?

2009-08-03 Thread Jack Killpatrick
Do you have your attempt somewhere I can take a look at? - Jack rubycat wrote: Still at a deadend on this one...any suggestions to get this working?

[jQuery] Re: Listnav initial display of no items?

2009-08-03 Thread rubycat
Still at a deadend on this one...any suggestions to get this working?

[jQuery] Re: Looking for expand/collapse tree directory navigation

2009-08-03 Thread Cesar Sanz
Search in google for dynatree. - Original Message - From: Anoop kumar V To: jquery-en@googlegroups.com Sent: Sunday, July 26, 2009 1:34 AM Subject: [jQuery] Re: Looking for expand/collapse tree directory navigation Would this work for you? http://jquery.bassistance.de/tr

[jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery

2009-08-03 Thread Cesar Sanz
+1 Aptana - Original Message - From: "InVmedia" To: "jQuery (English)" Sent: Monday, August 03, 2009 2:37 AM Subject: [jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery Komodo Edit, for sure. http://www.activestate.com/komodo/downloads/ Comes built in with a

[jQuery] Re: jqGrid 35.5 released

2009-08-03 Thread Jack Killpatrick
Really nice work, Tony! Looks like some very useful new features in this rev. - Jack Tony wrote: Happy to announce the final 3.5 release of jqGrid. New wiki Documentation at http://www.trirand.com/jqgridwiki The demo at http://www.trirand.com/jqgrid/jqgrid.html and final the home : http://ww

[jQuery] Re: (Cycle Plugin) ScrollHorz problem in FF and Safari 3

2009-08-03 Thread bcbounders
Mike, Thanks! Sorry for the long delay... I got side-tracked by having to move my 74 year old mother-in-law into her new house! UGGGH! Anyway... this looks like it's doing the trick. I really appreciate your help. - John On Jul 25, 8:00 am, Mike Alsup wrote: > On Jul 21, 9:51 pm, bcbounde

[jQuery] Re: jquery droppable propagation problem

2009-08-03 Thread shangl
no solutions? :( On Aug 3, 3:38 pm, shangl wrote: > hi, > > i have a problem with nested divs and drag & drop...wenn i drag a > draggable on a droppable div (and the divs are nested --> one > droppable in another droppable) it calls the drop function for both > doppable divs (inner div and paren

[jQuery] Re: set certain items in a select list to selected.

2009-08-03 Thread Simon
If I understand correctly what you're asking, would a simple if statement (using OR operators to select 1, 3, or 5) and then using jQuery's .addClass do the trick? http://docs.jquery.com/Attributes/addClass#class complete speculation, but you may also be interested in: http://docs.jquery.com/Sel

[jQuery] set certain items in a select list to selected.

2009-08-03 Thread shaded
Ok lets say i have a multiple select list first second third fourth fifth then i have a string of id's that i want to set to selected like so. var selectedIds = '1,3,5'; is it possible to use jquery (preferably in a one liner) to set first, third and fifth to selected.?

[jQuery] Re: css on dynamic table row

2009-08-03 Thread dealkk
can you give me full working example? This is what i try. The dummy td did apply css style ,but all dynamic td are not apply css style. dummy [row append dynamiccly] On Aug 2, 6:54 pm, Stefano wrote: > this is a more css problem than a jquery problem. > you have to make the right order i

[jQuery] Re: jquery form plugin ajaxSubmit / fieldvalue inconsistent behaviour [jquery form]

2009-08-03 Thread rekna
On Aug 3, 4:57 pm, Mike Alsup wrote: > > if you have in html the following: > > > > > > > > ajaxSubmit will submit : > > > check : true > > check : false > > > $("#check").fieldValue() will return > > [ true ] > thanks for the comment... i should probably use $ ('[name=check]').fieldValue() i

[jQuery] Internet Explorer 7 doesn't .animate() correctly.

2009-08-03 Thread Simon
Hey, so I'm having a very curious problem with IE and the animate effect. I have a page which shifts left and right when you click on a certain part of it. When you hover over this section of the page it become opaque, and the image that was visible behind it should no longer be visible. This is

[jQuery] google.load speed with jquery

2009-08-03 Thread matt
I'm using google jsapi to load jquery. The example shows to do this: http://www.google.com/jsapi";> google.load("jquery", "1.3.2"); google.setOnLoadCallback(function() { // Place init code here instead of $(document).ready() }); The problem I'm having is this... I'm also includ

[jQuery] animate{width} method not working.

2009-08-03 Thread shearn89
Hey guys - wondering if you can help me. I've been working on a friend's simple website using jQuery to animate the buttons. I've got them to "bump" when I move the mouse onto them, but when I click to move them (and hopefully resize them) they not only don't resize, but also when the mouse leaves

[jQuery] [linkselect] Positioning menus off bottom of window

2009-08-03 Thread Sherri
Hi all, I'm working on a website where we're using the jquery.linkselect plugin, and we're running into a situation where we have one of the dropdown linkselect menus happening near the very bottom of the users' window. Imagine that we have a list of articles with abstracts, authors, etc. runnin

[jQuery] how to display a message layer after form-submit?

2009-08-03 Thread michbeck
hey all, i'm using the form validation plugin to validate my form (http:// docs.jquery.com/Plugins/Validation), works great. now i want to display a layer after clicking the submit-button. unfortunatly i don't know ho i can do that, thanks in advance for help :-) please take a look at my js-code

[jQuery] ajaxForm doesnt work in Internet Explorer

2009-08-03 Thread Shervin Asgari
Hi. We have added ajax to our forms by using iframe and it works fine in Firefox. However in Internet Explorer it does not. Can anyone spot why it doesnt work? http://pastebin.com/fe04a2f3 We are using JQuery 1.2.6

[jQuery] Re: jQuery Cycle - Get Current Slide Number

2009-08-03 Thread Mike Alsup
> Hi, I'm working on the same issue with Cycle. I have multiple slideshows on > a page, each with current/total slide counter, example: "2 of 5 images" > (oddly, there are no examples of this particular implementation on Mike > Alsup's otherwise ridiculously varied and helpful cycle demo pages).

[jQuery] Re: jquery form plugin ajaxSubmit / fieldvalue inconsistent behaviour [jquery form]

2009-08-03 Thread Mike Alsup
> if you have in html the following: > > > > > ajaxSubmit will submit : > > check : true > check : false > > $("#check").fieldValue() will return > [ true ] > > so, this is inconsistent with the result of ajaxSubmit, it should > return  [true,false] What is #check? Unless it's a select elemen

[jQuery] Re: How to change message while the page is blocked using blockUI plugin

2009-08-03 Thread Mike Alsup
> Hello people, i'd like to know if it's possible change de message > while the page is block by "blockUI" jquery plugin. I've tried a lot > of things, but none was good. One thing i've tried was using CSS > selectors like: > > $('blockUI blockMsg blockPage').innerHTML > > but it hasn't worked.

[jQuery] Re: problem Form plugin + UI sortable

2009-08-03 Thread Mike Alsup
> I have set with the form plugin an ajaxForm and when the response is > ready, it displays it in the targetted div: > / > *** / > //CODE of assembler.jsp > > > > > // > v1.3.2 > script>//v2.07 >