[jQuery] Re: validate

2009-08-03 Thread Stanislas Zaychenko
Hi Jörn, Thanks for reply, now here the context why I need to use *id* instead of *name* I have a form somethink like this: form div class=box-col-l div class=det-prptylabel for=FirstNameFirst Name:*/label/div div class=det-valueinput id=txtPersonFirstName

[jQuery] Re: form submit

2009-08-03 Thread solow
$(#itemId).val(); I found this one here http://docs.jquery.com/Attributes/val now, when I place this inside the live() function, this should work right? because it's already 'live' so it already has the elements from the dynamically loaded page. On Aug 3, 7:35 am, solow solow.wes...@gmail.com

[jQuery] Image dimensions

2009-08-03 Thread Pops
I am trying to get some cross browser consistency of obtaining the true image size. In Firefox, there is two fields, image.naturalWidth image.natualHeight IE does not recognize these fields. I think I am either over thinking the issue, and probably not seeing something I thought jQuery

[jQuery] Re: Image dimensions

2009-08-03 Thread HLS
Geez, why is it after posting something, many time you answer the answer? I guess the act of writing making you think of other things. :-) This was a case of following an example with width:expression() IE hack, using the wrong width to compare, so doing this solveed the issue: /* IE

[jQuery] Re: validate

2009-08-03 Thread Jörn Zaefferer
The syntax is just fine: rules: { bla.blu.blub: required } See also http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Mon, Aug 3, 2009 at 8:42 AM, Stanislas Zaychenkozak...@gmail.com wrote: Hi Jörn, Thanks for reply, now here

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

2009-08-03 Thread ggerri
I'd suggest a simple solution here. Notepad+ (http://notepad- plus.sourceforge.net/de/site.htm) and Firebug Plugin for FF3.5 which has a nice Debugger incluced. You might also want to try Amaya by w3.org (http://www.w3.org/Amaya/ Amaya.html) if you're looking for more IDE like editor than

[jQuery] Re: validate

2009-08-03 Thread Stanislas Zaychenko
Thanks 2009/8/3 Jörn Zaefferer joern.zaeffe...@googlemail.com The syntax is just fine: rules: { bla.blu.blub: required } See also http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Mon, Aug 3, 2009 at 8:42 AM, Stanislas

[jQuery] jQuery and window.print

2009-08-03 Thread m.ugues
Hallo all. I need to enhance the window.print function adding an header and a footer to the page. Is there any way or suggestion to achieve this goal? Kind regards Max

[jQuery] Re: jQuery and window.print

2009-08-03 Thread Tomáš Kavalek
I don't know how to do it in jQuery, but it's simple in CSS. You can transform it to jQuery, using .css(). Insert at the begin of document content: div id=printheadYour header for printing/div Insert at the end of document content: div id=printfootYour footer for printing/div Create this

[jQuery] Re: jQuery and window.print

2009-08-03 Thread Mazi
Thanks a lot Tomas. I'm trying to test it out. One question: in my page I have a css that refer for some elements to soma images. When I use the window.print function I lose all the background-images. Is there e way to print them all? Kind regards MAx On Aug 3, 11:32 am, Tomáš Kavalek

[jQuery] Re: jQuery and window.print

2009-08-03 Thread Jonathan Vanherpe (T T NV)
Not really, You pretty much have to tell users to enable the 'print backgrounds' feature in their browser. Jonathan Mazi wrote: Thanks a lot Tomas. I'm trying to test it out. One question: in my page I have a css that refer for some elements to soma images. When I use the window.print

[jQuery] [tooltip] Top and left won't work

2009-08-03 Thread Lleoun
Hi all, I've donwloaded the jquery tooltip form: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ and it is working great except for the following: I need to put the tooltip closer to the cursor so I've edited jquery.tooltip.js and changed $.tooltip = {

[jQuery] [validate] - translate generic error messages

2009-08-03 Thread Jnew
Plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ How translate generic error messages, without editing the javascript file? My test: messages: { required: Don't work, username: {

[jQuery] Re: Superfish z-index problem with googlemap in IE

2009-08-03 Thread CanisVoriCanis
I just had a similar problem and my here is my solution. first some html div idcontainer div id=menumenu.../div div id=map_container/div /div You must set all of the div tags two properties of position and z- index, ie. { position:relative; z-index:; } You can set other style

[jQuery] How to access an iFrame ID from within

2009-08-03 Thread Tommy1402
Sorry if report I have an iFrame iframe id=myframe src=index.php/iframe it loads a content, how can I access the iFrame ID, which is myframe from inside index.php? I have tried: //index.php jQuery(document).ready(function() { alert(jQuery('#myframe').attr('id')); }); but not succeed.

[jQuery] validations

2009-08-03 Thread pramothireddy
Hi, I am verymuch new to jquery and wanted to use jauery validations for textbox controls in my project. how can i...can u please guide me using asp.net with c# we are doing web applications Ex: textbox accepts only alphabets and should not be empty

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

2009-08-03 Thread InVmedia
Komodo Edit, for sure. http://www.activestate.com/komodo/downloads/ Comes built in with auto complete / code sense for jQuery. Free and has built in FTP. Works well with Filezilla. Been using it for about a year and it keeps getting better by the month (sometimes week!). On Aug 1, 6:21 pm, S2

[jQuery] problem Form plugin + UI sortable

2009-08-03 Thread Antoine Blanchard
Hi everyone, I'm new to ajax and I can't figure out how to set my jqueries in the response. Yet, I'm using a basic way for my Ajax. I have set with the form plugin an ajaxForm and when the response is ready, it displays it in the targetted div: /

[jQuery] How to retreive Excel Documents via jQuery's $.ajax()?

2009-08-03 Thread Daigo
Hi there! I've written a GUI which represents data from a DB. Each row has a table-head with its own search field in there, so you can filter the displayed data. To realize this, I use $.ajax() and I post the serialized data from these inputs. I retrieve a JSON object to update the current

[jQuery] Re: Superfish z-index problem with googlemap in IE

2009-08-03 Thread rupak mandal
Thanks for the suggestion.I got the solution.We have to just change the superfish.css .sf-menu li:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ position:relative; z-index:999; } and it will work. On Mon, Aug 3, 2009 at 11:38 AM, CanisVoriCanis code.l...@gmail.com wrote: I

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

2009-08-03 Thread András Csányi
2009/8/2 S2 smnthsm...@gmail.com: Does anyone know of a good JavaScript editor that supports JQuery? Anyone sucessfully integrate JQuery into Eclipse/WTP or JSEclipse? Hi, I'm using Netbeans and I like it very much. But telling the truth my golal is generate jquery source code by php. So,

[jQuery] Re: [validate] - translate generic error messages

2009-08-03 Thread Jörn Zaefferer
$.validator.message.requires = my new default message; Or use on of the provided localization files (in the zip file). Jörn On Mon, Aug 3, 2009 at 6:40 AM, Jnewidn...@gmail.com wrote: Plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ How translate generic error

[jQuery] Re: validations

2009-08-03 Thread Anoop kumar V
You can try and use the bassistance form validation plugin. For server side validation I think you need the (malsup) form plugin as well. You can google for the exact links or go through the search on jquery.com. On 8/3/09, pramothireddy swapnadot...@gmail.com wrote: Hi, I am verymuch new

[jQuery] Re: Does IE support live?

2009-08-03 Thread David .Wu
got it, I need to define it again after I use ajax, it will be more safe. On 7月31日, 下午3時25分, rupak mandal rupakn...@gmail.com wrote: hi David, you have to bind jump in load callback function.  $(function() {        $.ajaxSetup({                cache: false        });        

[jQuery] a select question

2009-08-03 Thread David .Wu
if I have 3 div, how to filter the div without class abc? div/div div class=abc/div div/div

[jQuery] jquery droppable propagation problem

2009-08-03 Thread shangl
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 parent div)...how could i prevent this? javascript part:

[jQuery] Re: a select question

2009-08-03 Thread Michael Lawson
mmm a little more information in regards to what exactly you want to do but $('div').eq(i); where i is the index of the div you want to access alternatively you could also do $('div:eq(i)'); cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail:

[jQuery] Re: a select question

2009-08-03 Thread Liam Potter
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 $('div').eq(i); where i is the index of the div you want to access alternatively you could also do

[jQuery] Re: a select question

2009-08-03 Thread shangl
$('div[class*=abc]').function-you-need filters all div's, filters all divs, which are not of the class abc On Aug 3, 3:37 pm, David .Wu chan1...@gmail.com wrote: if I have 3 div, how to filter the div without class abc? div/div div class=abc/div div/div

[jQuery] htmlFile: No such interface supported / jQuery .html()

2009-08-03 Thread Dunc
Hi, I'm using jQuery on my website. Nothing has changed client side, though server-side I have upgraded to asp.net 3.5 page (from 2.0) and now all of my jQuery .html(value) calls have stopped working and are giving the javascript error from within the jQuery file: htmlFile: No such interface

[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 html head /head body script type=text/javascript

[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. You can

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

2009-08-03 Thread Mike Alsup
if you have in html the following: input type=checkbox value=true name=check/ input type=hidden value=false name=check/ ajaxSubmit will submit : check : true check : false $(#check).fieldValue() will return [ true ] so, this is inconsistent with the result of ajaxSubmit, it should

[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). There

[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.

[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] 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] 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

[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: script type=text/javascript src=http://www.google.com/jsapi;/ script script type=text/javascript google.load(jquery, 1.3.2); google.setOnLoadCallback(function() { // Place init code here instead of $(document).ready()

[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

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

2009-08-03 Thread rekna
On Aug 3, 4:57 pm, Mike Alsup mal...@gmail.com wrote: if you have in html the following: input type=checkbox value=true name=check/ input type=hidden value=false name=check/ ajaxSubmit will submit : check : true check : false $(#check).fieldValue() will return [ true ]

[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. table id=tbid trtddummy/td/tr [row append dynamiccly] /table On Aug 2, 6:54 pm, Stefano ares...@gmail.com wrote: this is a more css problem than a jquery

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

2009-08-03 Thread shaded
Ok lets say i have a multiple select list select id=mylist name=mylist[] option id=1first/option option id=2second/option option id=3third/option option id=4fourth/option option id=5fifth/option /select then i have a string of id's that i want to set to selected like so. var

[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:

[jQuery] Re: jquery droppable propagation problem

2009-08-03 Thread shangl
no solutions? :( On Aug 3, 3:38 pm, shangl simon.ha...@uibk.ac.at 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

[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 mal...@gmail.com wrote: On Jul 21,

[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 :

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

2009-08-03 Thread Cesar Sanz
+1 Aptana - Original Message - From: InVmedia in-vme...@in-vmedia.com To: jQuery (English) jquery-en@googlegroups.com Sent: Monday, August 03, 2009 2:37 AM Subject: [jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery Komodo Edit, for sure.

[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?

[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: 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] 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

[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] 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:

[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, us

[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 dar...@eztransition.com wrote: Not exactly. I guess looping through my

[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] 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

[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 li's except the first one and then loop through all the images with a settimeout to fadin and

[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] 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

[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.

[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 tuppers...@sky.com wrote: Please elaborate? need

[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

[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 = trtd.../td/tr; var newrow; newrow = $('#docs tbody').append(row); With the above code new row references the tbody and not the tr.

[jQuery] Re: Get append() result

2009-08-03 Thread James
How about: $row = $(trtd.../td/tr); var newrow = $row.appendTo(#docs tbody); On Aug 3, 11:51 am, Brad nrmlcrpt...@gmail.com 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 = trtd.../td/tr; var newrow; newrow = $('#docs

[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 into

[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

[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 anto...@gmail.com When I try to animate a DIV-element with this code: $(this).parents(.pane).animate({ backgroundColor:

[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 simon.ha...@uibk.ac.at 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

[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(); Then I show

[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

[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

[jQuery] Merge JQuery Element Objects

2009-08-03 Thread lowtech
ul li id=foo ul li class=bar/div li class=bar/div li class=bar/div li class=bar/div /ul /li /ul function getNodes(e) { return $.extend(e, $(e).find('li.bar')); } var nodes = getNodes($('#foo')); console.log(nodes);

[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 bbab...@gmail.com wrote: ul li id=foo ul li class=bar/div li class=bar/div li class=bar/div li class=bar/div

[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

[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 radioactiv...@gmail.com 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

[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 radioactiv...@gmail.com 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

[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 p...@bjorsq.net wrote: Hi Nick $(.number).html(count--); count-- decrements your count variable after it has passed its value to the $.html() function. use

[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. lia href= id=home class=changepara Home/a/li lia href= id=about class=changeparaAbout/a/li lia href= id=contact class=changeparaContact/a/li lia href= id=gallery class=changeparaGallery/a/li

[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

[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