[jQuery] Re: select next n "somethings"

2009-01-19 Thread Ricardo Tomasi
Hmm. No idea what that 'r' property was. Changing that line to if ( jQuery.filter( expr, [i] ).length ) break; seems to fix it. or use this: $.fn.until = function(end){ end = $(end)[0]; var n = this.next(), h = $('nada'); while( n[0] != end ) { h = h.add(prox); n =

[jQuery] Re: jQuery 1.3 live not working correctly

2009-01-19 Thread Walther
I've posted on jquery-dev and will carry on the discussion there. Thanks Walther On Jan 19, 6:53 pm, John Resig wrote: > Do you have an example anywhere that we can look at? Also, could you > post a follow-up to the jquery-dev list? > Thanks.http://groups.google.com/group/jquery-dev > > --John

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
It seems like error with validation plugin is one of the causes of this, I must have done something wrong, since the demo is working well with 1.3 I have now replaced the min version by the normal version to better see the error, it seems to be on this line: validator.settings["on" + event.type]

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
Yup, exactly. If you login first, and then go back to the page, you will also see the forms are not bound correctly. (this code works on 1.2.6) to save your time, please use this account I created: user: 12345 at test.com (please replace at by @) pass: 12345 Thank you very much for checking into

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread Ricardo Tomasi
Checkout page gives me a "validator is undefined" error... I could register a new user, but couldn't go past the "shipping method" page (which also gave me the same error). On Jan 19, 7:59 pm, yellow1912 wrote: > Here is the test site:http://raine.ridevelopement.com/test > > Please add 1 item to

[jQuery] Re: question about changes to :not() in 1.3

2009-01-19 Thread Ricardo Tomasi
sorry for the misinterpretation. Yeah, that seems like a bug. $(':not(div:has(div))') gave the exact same results as $('*').not ('div:has(div)') in jQuery 1.2.6. In 1.3 $(':not(div:has(div))') excludes , and any elements. On Jan 19, 7:07 pm, jdwbell wrote: > Thanks for the reply.  That would

[jQuery] Re: Table sorter and pager problem

2009-01-19 Thread Varun Khatri
Thanks for the reply... But I am using plugin table sorter... where should I put empty text replacer... dint quite get you ? Here is the code: $(".tablesorter") .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $("#pager")}) $(".tablesorter").each(funct

[jQuery] Re: jQuery Tab not working properly in IE 6, 7

2009-01-19 Thread channarith hun
Dear support, I am try to update the JQuery Css , but i can not find which statement can i change . Please give the sample ( script CSS) and guide me to do it . I would like to thank you in advance for help to resolve this problem . Best Regards, Rith On Tue, Jan 20, 2009 at 6:49 AM, rolfsf wro

[jQuery] My effects aren't working.

2009-01-19 Thread Kyle
$("#emailForm").ajaxForm({ target: "#formReturnArea", success: function(){ $("#formHelp").fadeOut("slow"); $('#formReturnArea').fadeIn("slow"); $("input").attr("disabled", true); $("textarea").attr("disabled", true); } }); is in a separate javascript

[jQuery] Re: Numerize set of ids

2009-01-19 Thread Ignacio Ricci
Awesome! : D Thank you very much On Jan 19, 9:55 pm, "Mauricio \(Maujor\) Samy Silva" wrote: > Try this: > > $('.boxy').each(function(i) { > $(this).attr('id', 'myBoxNum' + i); > > } > > Maurício > > -Mensagem Original- > De: "Ignacio Ricci" > Para: "jQuery (English)" > Enviada em: seg

[jQuery] Re: Numerize set of ids

2009-01-19 Thread Mauricio (Maujor) Samy Silva
Try this: $('.boxy').each(function(i) { $(this).attr('id', 'myBoxNum' + i); } Maurício -Mensagem Original- De: "Ignacio Ricci" Para: "jQuery (English)" Enviada em: segunda-feira, 19 de janeiro de 2009 22:36 Assunto: [jQuery] Numerize set of ids Hello there, I'm new to Jquery, an

[jQuery] Numerize set of ids

2009-01-19 Thread Ignacio Ricci
Hello there, I'm new to Jquery, and I've been seraching the site for a while and couldn't get an answer to my problem. Here is my code: http://www.w3.org/1999/xhtml";> Jquery add ids $(document).ready(function (){ var obj = $('.boxy');

[jQuery] Menu Recommendation

2009-01-19 Thread jq noob
I have been using coolmenu4 from http://www.dhtmlcentral.com/projects/coolmenus/ forever ( 7 years seems like forever ) and I was thinking of replacing it with a Jquery based plugin. Can someone point me to a plugin or CSS based menu that can replace this. I would like the menu to be a horizontal

[jQuery] Re: select next n "somethings"

2009-01-19 Thread JLundell
Well, almost. I'm getting an undefined on this line, I think on the length call: if ( jQuery.filter( expr, [i] ).r.length ) break;

[jQuery] jQuery onunload

2009-01-19 Thread Charles Johnson
My site runs on quite a bit of jQuery-based Javascript, and occasionally I'll receive a complaint from a reader that their browser goes into an infinite loop and throws a script timeout error, when they follow a link that takes them away from the page. I'm assuming this has something to do with j

[jQuery] Re: jQuery Tab not working properly in IE 6, 7

2009-01-19 Thread rolfsf
UI Tabs css changed with the most recent updates - jQuery 1.3 and jQuery UI 1.6rc5, so make sure you've made the appropriate updates to your css ( I just updated as well, and I noticed similar issues before I updated all of my css) http://docs.jquery.com/UI/Theming http://docs.jquery.com/UI/Themin

[jQuery] Newbie Cluetip Ajax Syntax Question

2009-01-19 Thread Jeffrey B
** I'm sorry if I'm double posting but my previous attempt seems to have disappeared. ** Does the current Cluetip support the jquery 1.3 simplified Ajax $.get technique? $.get( url, params, callback ) Example: $.get("test.cgi", { name: "John", time: "2pm" } ); If so, I'm having a heck of a time

[jQuery] Add Button / Select Form Change

2009-01-19 Thread Jsudesign
Hello Guys, I'm trying to create an add button that will change the options in a select form from 0 to 1 and so on. So When the add button is pressed. The Qty: Select Goes from 0 to 1 Any help with this would be awesome, this is my first time trying to use jquery with forms. Best, Justin

[jQuery] Newbie Cluetip Question

2009-01-19 Thread Jeffrey B
I'm trying to craft a simple Ajax-based Cluetip using a $.get that passes along a singe key/value pair and brings back some simple HTML. I keep getting javascript syntax errors. Here's what I want to accomplish: prodtips.php?p=mbt35 Using the jQuery $.get sample found here: http://docs.jquery.

[jQuery] Re: select next n "somethings"

2009-01-19 Thread JLundell
Thanks, guys. nextUntil() looks like what I need. Joe, am I right that your suggestion grabs all the following pre's? I need to stop on the first following non-pre.

[jQuery] Re: Conflict with Mootools...

2009-01-19 Thread Erik R. Peterson
Thank you. I read as you instructed me and I'm still confused. My first question, is there one script i can place in the header that will eliminate the conflict? I actually read Using jQuery with Other Libraries I understand the problem, but still having problems with the fix. Can there b

[jQuery] Re: Conflict with Mootools...

2009-01-19 Thread MorningZ
ps... reading your post for the 4th time, i realize now that the first two files are probably not related to jQuery hence they'd be safe anyways, show some code where you are trying to use jQuery and trying to initialize your HTML to use the plugins you need that would make it easier

[jQuery] Re: Conflict with Mootools...

2009-01-19 Thread MorningZ
Rather than just myself or someone else posting what *probably* would work... how about some work to help understand what's going on? First off, make sure to read the link Karl posted... Secondly, before you do *anything* jQuery related, you want to include the library first.. you've got 3

[jQuery] Re: New link being ignored by jQuery

2009-01-19 Thread Erik R. Peterson
I did check it out... It still doesn't work. All of the scripts in div tags, both Mootools and jquery... Need help.. Erik On Jan 19, 2009, at 4:47 PM, Karl Rudd wrote: Check out the documentation for several solutions: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_..._.3F

[jQuery] Re: Conflict with Mootools...

2009-01-19 Thread Erik R. Peterson
Good question.. I'll fix that... Can you give me the script to fix the conflict? Erik On Jan 19, 2009, at 4:43 PM, MorningZ wrote: How come you are including both 1.2.3 and 1.2.6 versions of jQuery? On Jan 19, 4:40 pm, "Erik R. Peterson" wrote: I have a lot of jquery scripts in my html

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
Here is the test site: http://raine.ridevelopement.com/test Please add 1 item to cart, checkout, you will get to the checkout page. I have just found out that I have the validator failed as well, must be me doing some bad code Raine On Jan 19, 2:50 pm, Ariel Flesler wrote: > You really need to

[jQuery] Re: New link being ignored by jQuery

2009-01-19 Thread Karl Rudd
Check out the documentation for several solutions: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_..._.3F Karl Rudd On Tue, Jan 20, 2009 at 5:14 AM, Mark MacInnes wrote: > > I'm using jQuery to perform some ajax when a link with a certain id is > clicked on. The ajax updates a databa

[jQuery] Re: Conflict with Mootools...

2009-01-19 Thread Karl Rudd
Have you checked out the documentation?: http://docs.jquery.com/Using_jQuery_with_Other_Libraries Karl Rudd On Tue, Jan 20, 2009 at 8:40 AM, Erik R. Peterson wrote: > > I have a lot of jquery scripts in my html and I just added a mootools > script. > > Now none of my jquery scripts don't work.

[jQuery] Re: New link being ignored by jQuery

2009-01-19 Thread Rick Faircloth
Hi, Mark... Check into the LiveQuery plug-in and use it on your .click element. (see the instructions at the plug-in site). You can also use .live function built into jQuery 1.3, if you're using that. But I understand the .live function has some limitations that the LiveQuery doesn't have. ht

[jQuery] Re: Conflict with Mootools...

2009-01-19 Thread MorningZ
How come you are including both 1.2.3 and 1.2.6 versions of jQuery? On Jan 19, 4:40 pm, "Erik R. Peterson" wrote: > I have a lot of jquery scripts in my html and I just added a mootools   > script. > > Now none of my jquery scripts don't work. > > > > > > > > > > > > > > > > I need

[jQuery] Re: jQuery 1.3 and ">" selector

2009-01-19 Thread lideln
Hi, Yes, I saw that on the jQuery plugins page. Now everything works fine, it's great !! Thanks a lot everybody, Karl Swedberg-2 wrote: > > Jörn has update the Validate plugin to be compliant with jQuery 1.3. > Please see the new download at http://plugins.jquery.com/project/validate > >

[jQuery] Conflict with Mootools...

2009-01-19 Thread Erik R. Peterson
I have a lot of jquery scripts in my html and I just added a mootools script. Now none of my jquery scripts don't work. I need help. Can someone show me how to use the "noconflict" script. Many thanks. Erik

[jQuery] Re: jQuery 1.3 and ">" selector

2009-01-19 Thread Karl Swedberg
Jörn has update the Validate plugin to be compliant with jQuery 1.3. Please see the new download at http://plugins.jquery.com/project/validate --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 19, 2009, at 2:30 PM, lideln wrote: I found the issue !!

[jQuery] attr not return value

2009-01-19 Thread Antol
this linea working goo in jQuery 1.2 but in 1.3 return undefined $(opts.xmlConfig).find("#btnNew").attr("action")

[jQuery] New link being ignored by jQuery

2009-01-19 Thread Mark MacInnes
I'm using jQuery to perform some ajax when a link with a certain id is clicked on. The ajax updates a database record and then it replaces the 'a' tag with a new one. This all works fine. The new 'a' tag has the same id as the old one, but text and some other properties on it change. It's the id t

[jQuery] Jquery needs array module !

2009-01-19 Thread kroolek
Where I can find array module for drupal ? I use 5.15 drupal...

[jQuery] Problem With remove()

2009-01-19 Thread JR
Hi, I'm tring to make a simple upload form similar like google has at it's mail for the atachments. Everything is fine till I try to remove a file fild that is added at the past with jquery. When I click at the remove link it still redirects me :(. Can anyone tells me where I'm wrong. Sorry about

[jQuery] Create documentation / compress files / code obfuscator

2009-01-19 Thread Vincent Pérès
Hello, I need feedbacks from you jQuery guys... I would like to use some Javascript tools, could you share your experience about the following points : 1. Create some documentations for my jQuery plugins and Javascript objects (I will try the http://jsdoc.sourceforge.net/, any others?) 2. Compre

[jQuery] New to JQuery: First Question (animating background image)

2009-01-19 Thread Danny
All, I just started work with jQuery just recently, and I'm beginning to love it. I'm a Prototype convert, and I love the increased power of jQuery. New to it though, I'm running into some trouble already. I'm trying to flip between different background images, with CSS set initially to the BODY

[jQuery] Sorry for off topic! Why does it has some css work fine in FF and negative on IE?

2009-01-19 Thread Nguyễn Quốc Vinh
I'm sorry for off-topic! I know this is jQury mailing list! But does anyon help me solve this? I'm working on this: http://www.myspace-layouts-free.com/NEW My CSS work fine in FF! But it negative work on IE! I can not figure why! It's weird! -- ku...@urbanjar.info /***

[jQuery] Re: question about changes to :not() in 1.3

2009-01-19 Thread jdwbell
Thanks for the reply. That would give me every non-div element which contained a div. In the original example I was looking for every div which did not contain another div plus every other non-div element. Based on John's reply I'm guessing there is bug since $(':not(div:has (div))') is supposed

[jQuery] Re: select next n "somethings"

2009-01-19 Thread Ricardo Tomasi
Or, if you don't mind getting all following siblings, regardless if there are other elements in the way: $(this).nextAll('pre'); On Jan 19, 7:02 pm, Ricardo Tomasi wrote: > enter nextUntil plugin by John Resig: > > $.fn.nextUntil = function(expr) { >    var match = []; > >    // We need to fig

[jQuery] Re: select next n "somethings"

2009-01-19 Thread Ricardo Tomasi
enter nextUntil plugin by John Resig: $.fn.nextUntil = function(expr) { var match = []; // We need to figure out which elements to push onto the array this.each(function(){ // Traverse through the sibling nodes for( var i = this.nextSibling; i; i = i.nextSibling ) {

[jQuery] Re: select next n "somethings"

2009-01-19 Thread Joe
Here ya go: http://www.w3.org/1999/xhtml"; xml:lang="en-us" lang="en" dir="ltr"> http://ajax.googleapis.com/ ajax/libs/jquery/1.3/jquery.min.js"> $(function(){ var preBefore = $('p:eq(3)').prev('pre').text();

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-19 Thread Ricardo Tomasi
!important makes the the widget's styles take precedence, but you also have to take specificity into account. I created a test page to demonstrate the issue: http://ff6600.org/j/specificity.htm There are ways to calculate specificity, take a look at these very nice articles about it: http://www.

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread Ariel Flesler
You really need to provide a demo online else we can't figure out the problem. -- Ariel Flesler http://flesler.blogspot.com On Jan 19, 4:23 pm, yellow1912 wrote: > Oops, Im sorry but > $(selector + ' .step[title='+currentIndex+'] div.stepContent').fadeOut > ("slow"); > -->jQuery.queue is not a

[jQuery] Re: simple click event won't fire

2009-01-19 Thread Ricardo Tomasi
It's a helper method that only fires once, then is removed. http://docs.jquery.com/Events/one#typedatafn mmvdl, if you are expecting that your click() call will trigger the default browser action (following the link), that won't happen. click () only fires the listeners, not the native behaviour

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread Ricardo Tomasi
Are you sure? I created a page with your HTML, your selectors and all the mentioned plugins and didn't get any errors: http://ff6600.org/j/q/ On Jan 19, 4:23 pm, yellow1912 wrote: > Oops, Im sorry but > $(selector + ' .step[title='+currentIndex+'] div.stepContent').fadeOut > ("slow"); > -->jQue

[jQuery] Re: Validating Ajax Loaded Form Problem - Stumped

2009-01-19 Thread yellow1912
1.3 has some problem with selectors as far as I can tell, I would refrain upgrading until those problems are solved, hopefully in 1.3.1 Regards On Jan 19, 1:47 pm, beysk wrote: > Now that you point that out it seems so obvious - since nothing was > happening I assumed it wasn't actually working

[jQuery] Re: 45+ New jQuery Techniques For Good User Experience

2009-01-19 Thread alphadog
Oh no! The crazy list of obsequious "thank yous" is spreading to Google Groups!! :) On Jan 19, 10:01 am, Dirceu Barquette wrote: > Great job!!! > Thanks > > Dirceu Barquette > > 2009/1/19 Michael Smith > > > > > Just saw this through digg, and I don't think it's been sent here > > before.  I t

[jQuery] select next n "somethings"

2009-01-19 Thread JLundell
I have a page with alternating sets of one or more and paragraphs. Given that $(this) is a block, I want to select the next block, plus the additional blocks, if any, that follow the first one. How?

[jQuery] Re: Display Loading Image While Ajax Content Loads

2009-01-19 Thread jinscoe
Great! Thank you very much JQuery Lover! Much appreciated! On Jan 17, 2:52 pm, jQuery Lover wrote: > Yeap, you can bind all images with .gallery class a .load() event like this: > > $('img.gallery').load(function(){ >   $(this.).removeClass('loading').show(); > > }); > > > Read jQuery HowT

[jQuery] Re: [validate] Validating Ajax Loaded Form Problem - Stumped

2009-01-19 Thread beysk
Now that you point that out it seems so obvious - since nothing was happening I assumed it wasn't actually working. In reality I have a fairly complex form (Form 1) that the user completes, the data is stored in a database and the div containing the form is hidden on success. The rules for this f

[jQuery] Re: jQuery 1.3 and ">" selector

2009-01-19 Thread lideln
I found the issue !! It was caused by the plugin "Validate". (maybe that plugin was redefining selectors ?) I'll try to see if there is an update. Thanks a lot, lideln wrote: > > Oh, nice ! > > Ok I'll wait for the 1.3.1 ! > But I'll check my XHTML anyway. Thanks again Ricardo. > > > >

[jQuery] Re: 1.3, attributeStartsWith and '['

2009-01-19 Thread Balazs Endresz
Unforunately it's just turned out that there's anothor isssue behind this. You can follow the ticket if you want update on this, I guess it will be solved soon. On Jan 19, 10:46 am, Jedrzej Majko wrote: > Hello, > I have strange problem with attribute StartsWith in new version of > jQuery. > Thi

[jQuery] Re: When to use LiveQuery plugin

2009-01-19 Thread Nguyễn Quốc Vinh
I always avoid to use LQ! I think that JavaScript has private behaviour! JS is not like CSS! Please ask yourself to find out a way which you don't must use LQ! 2009/1/19 Brandon Aaron > It really depends on how you are using LiveQuery. If you are using it only > to bind events to new elements t

[jQuery] Re: [validate] Validating Ajax Loaded Form Problem - Stumped

2009-01-19 Thread Jörn Zaefferer
You call validate twice: Once before the form is loaded, with options. One once when the form is loaded, without options, therefore specifying no rules. The form is actually validated, but deemed as valid and therefore submitted. Jörn On Mon, Jan 19, 2009 at 7:10 PM, beysk wrote: > > Hi, > > Si

[jQuery] Re: Cycle and CSS

2009-01-19 Thread pillpusher
I think I fixed my problems with .cycle and my CSS issues. I am using floats with my div tags. As you probably already know, there are plenty of problems with floats without introducing the cycle plugin. As I stated in my earlier post, I couldn't get things to go where I want them to. I realized t

[jQuery] Re: rating using thumbs up thumbs down.

2009-01-19 Thread MorningZ
Seems simple enough a task without having to spend two days wondering/ searching for a plugin $(document).ready(function() { $("img.rate").click(function () { var val = ($(this).hasClass("up") == true) ? "1" : "-1"; $.ajax( // Call PHP form with the

[jQuery] Re: $(' Expert jQuery & JS synatx ' ).show

2009-01-19 Thread Ami
Thank you. Very usefull. On Jan 19, 6:41 am, Brandon Aaron wrote: > It works by referencing the method with bracket or array notation. You can > reference properties and methods of an object this way. For example: > var obj = { test1: 'test_one', test2: 'test_two' }; > alert( obj['test1'] ) // a

[jQuery] Re: Send $ajax.post

2009-01-19 Thread finord
The correct js code is: $(document).ready(function() { $().ajaxStart(function() { $('#loading').show(); $('#result').hide(); }).ajaxStop(function() { $('#loading').hide(); $('#result').fadeIn('slow'); }); $('#form, #fat, #fo3').submit(function() {

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
Oops, Im sorry but $(selector + ' .step[title='+currentIndex+'] div.stepContent').fadeOut ("slow"); -->jQuery.queue is not a function On Jan 19, 12:22 pm, yellow1912 wrote: > I think I found out something closer to the root cause: > > $(selector + ' .step[title='+currentIndex+'] .stepContent').f

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
I think I found out something closer to the root cause: $(selector + ' .step[title='+currentIndex+'] .stepContent').fadeOut ("slow"); -->jQuery.queue is not a function $(selector + ' .step[title='+currentIndex+'].stepContent').fadeOut ("slow"); --> no error, but obviously not producing the effec

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-19 Thread johny why
wileyluxe wrote: > Depending on how the rest of the selectors are written, a Body ID will > do overwrite it. wileyluxe, can you give an example of how a site-css Body ID can overwrite the widget-css, if the widget employs !important + id's/ classes?

[jQuery] Re: simple click event won't fire

2009-01-19 Thread Joe
What is a "one" event? On Jan 19, 6:48 am, mmvdl wrote: > Within a each first of every row has an tag. > But I want the whole to be clickable. > > To avoid recursion I've put a .one() event on the like so: > > $("table.vacatures tbody tr").one("click", function(){ >    $(this).find("a:first

[jQuery] [validate] Validating Ajax Loaded Form Problem - Stumped

2009-01-19 Thread beysk
Hi, Sincere apologies for the repost! (I forgot to include [validate] in the subject of my previous post and I can't move forward this project until I resolve this). Repost: I am really stumped by this. Using the validate plugin, I can't validate a form which is loaded by ajax. I have made two

[jQuery] [validate] Validating Ajax Loaded Form Problem - Stumped

2009-01-19 Thread beysk
Hi, I am really stumped by this. Using the validate plugin, I can't validate a form which is loaded by ajax. I have made two very simple pages to demonstrate the problem. Ajax Loaded Form (doesn't work): http://yourmac.ca/test/validate1.html (click on the text "Click here to load the test

[jQuery] Re: Splitter plugin not responding to window resize in IE7

2009-01-19 Thread Dave Methvin
> Here's a demo of the > symptom:http://www.softwareunity.com/sandbox/splitterpage/ Is this the fixed version? It seemed to work on resize for me in IE7.

[jQuery] Re: Problem Using jQuery with Other Libraries

2009-01-19 Thread sad1sm0
Yeah I would imagine using that many frameworks has to be tasking on your download time anyway. Why not think about converting everything to a common platform so they'll play nice. On Jan 19, 10:57 am, Liam Potter wrote: > Hi Dilip, > > it is advised to not use multiple frameworks, but if this

[jQuery] Re: rating using thumbs up thumbs down.

2009-01-19 Thread Pragan
Hi, anyone has any suggestion. Earlier, I have created a form using php and mysql which will store the data in the db and will display thanks message right there without refreshing the page. Same way, I am trying to show two images here, which when clicked show increase the count in the db and t

[jQuery] Re: Documentation on comparative operators?

2009-01-19 Thread Ricardo Tomasi
Keep in mind that jQuery is merely a framework. You're still working with plain Javascript. The learning curve for it should be smooth as butter after you get to understand what's going on behind the scenes. is() is a method, a function owned by the current jQuery object. val() returns the value

[jQuery] Re: var divcount = $("div#div2").length; --- returns wrong value

2009-01-19 Thread Mauricio (Maujor) Samy Silva
ID attribute value must be unique in a document. If you need multiple "hooks" sharing the same value use class attribute. Try the following and you'll see the difference: $(function() { var divcount = $("div.div2").length; alert("start=" + divcount); }); asdf asdf as

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
Hi John, Unfortunately I have it on my localhost now, will try to upload asap. However, I found out a bunch of errors, probably because of my bad jquery *_* First: in the plugin I have these line of codes, working fine in 1.2.6 but in 1.3 they prevent some even binding (see point Second)

[jQuery] Re: var divcount = $("div#div2").length; --- returns wrong value

2009-01-19 Thread Nic Luciano
Hey Bartee, I think your problem is that .length() returns the number of elements in the object you're acting on. In you're case, there's only one object (a text node). So, it should return one. What you're actually looking for is $("div#div2").text().length; On Mon, Jan 19, 2009 at 12:25 PM, bar

[jQuery] Re: var divcount = $("div#div2").length; --- returns wrong value

2009-01-19 Thread Liam Potter
well, you can't have 3 id's all called div2 id's have to be unique, you can have multiple classes. I've not used the length function, but I'm fairly certain it has to do with the multiple id's. bartee wrote: My alert always returns "1" as the divcount value ??? What's up with that.. I have

[jQuery] var divcount = $("div#div2").length; --- returns wrong value

2009-01-19 Thread bartee
My alert always returns "1" as the divcount value ??? What's up with that.. I have read and tried bunches of things. What am I missing http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en-AU"> Jquery Test $(function() { var divcount = $("div#div2").length; alert(

[jQuery] Re: Column highlite

2009-01-19 Thread Liam Potter
Ahh, I just asumed he wanted zebra striped rows, didn't really pay attention to the thread title. brian wrote: Using children() would be better than find() but your suggestion would skip every other row. $('#your_table_id tr').children('td:odd').css('background-color', '#EEE'); Better, agai

[jQuery] Re: Modifying an XML document with jQuery

2009-01-19 Thread Balazs Endresz
These worked for me. Do you have a test page? On Jan 19, 7:27 am, "dandieb...@gmail.com" wrote: > I have essentially the same problem. > > I have some XML returned from an AJAX call and need to modify the XML > slightly > before using it on the web page. > > In reference to the original post, ho

[jQuery] Re: Column highlite

2009-01-19 Thread brian
Using children() would be better than find() but your suggestion would skip every other row. $('#your_table_id tr').children('td:odd').css('background-color', '#EEE'); Better, again: $('#your_table_id tr').children('td:odd').addClass('SomeClassName'); On Mon, Jan 19, 2009 at 10:55 AM, Liam Pot

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-19 Thread johny why
ryan.joyce wrote: > unless you've declared some of your default styles as !important, > the widget *will* take precedence if it's called after the default > CSS. --if you mean the widget styles will affect the main site rendering, not if the widget styles are correctly declared with unique id's o

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread John Resig
Also, could you post that URL to the jquery-dev list when you have it? Thanks. http://groups.google.com/group/jquery-dev --John On Mon, Jan 19, 2009 at 11:52 AM, John Resig wrote: > Do you have a URL for your site anywhere? > > --John > > > > On Mon, Jan 19, 2009 at 11:45 AM, yellow1912 wrot

[jQuery] Re: jQuery 1.3 live not working correctly

2009-01-19 Thread John Resig
Do you have an example anywhere that we can look at? Also, could you post a follow-up to the jquery-dev list? Thanks. http://groups.google.com/group/jquery-dev --John On Mon, Jan 19, 2009 at 7:25 AM, Walther wrote: > > I am having an issue with the new live events in jQuery 1.3. > Specificall

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread John Resig
Do you have a URL for your site anywhere? --John On Mon, Jan 19, 2009 at 11:45 AM, yellow1912 wrote: > > When I try to use jquery 1.3 on my test site, I get this error: > jQuery.queue is not a function > [Break on this error] var queue = jQuery.queue( this, type, data ); > (firebug) > > The s

[jQuery] Re: 1.3 :not(:first) selector

2009-01-19 Thread comslash.com
Karl thanks for the quick response, guess I should have checked the bug tracker, just thought i was writing it wrong !

[jQuery] jquery 1.3 n.queue is not a function?

2009-01-19 Thread yellow1912
When I try to use jquery 1.3 on my test site, I get this error: jQuery.queue is not a function [Break on this error] var queue = jQuery.queue( this, type, data ); (firebug) The site is using livequery, form, metadata and validate plugin in, all upgraded for 1.3 support. Weird.

[jQuery] Re: When to use LiveQuery plugin

2009-01-19 Thread Brandon Aaron
It really depends on how you are using LiveQuery. If you are using it only to bind events to new elements then you should switch over to live. That is unless one of the events you are binding is one of the event types that does not bubble. Check the documentation for the events that are currently n

[jQuery] Re: When to use LiveQuery plugin

2009-01-19 Thread Karl Swedberg
If you need to bind events that .live() currently doesn't handle, such as mouseenter, mouseleave, focus, blur, and change, you should keep Live Query around. In subsequent versions, .live() is supposed to handle these, but for now it doesn't. --Karl Karl Swedberg www.englishru

[jQuery] Re: 1.3 :not(:first) selector

2009-01-19 Thread Karl Swedberg
On Jan 19, 2009, at 11:16 AM, comslash.com wrote: I just encountered a problem when using the :not(:first) selector in 1.3 . Can i get a confirmation on if this is a bug, or should I write this differently ? // Does Not Work Now $('.class1>.class2>div:not(:first)').each(function(){ $(this).hi

[jQuery] $.post does not post

2009-01-19 Thread AlexDeLarge
I have been having hard times with $.post lately... It has all come to a point that I set up as simple tryout as I could think of and it still doesn't work. I have a div in a page and that div has a "button" on it and I would like it to fireup a php-script by clicking that "button" but I just can

[jQuery] [validate] $('#form').valid() and focusInvalid();

2009-01-19 Thread Reinaldo "JuniorZ"
Why does the valid() method don't call validator.focusInvalid()? I think that should be the default behaviour, since valid() shows all the error messages. Thank you and congratulation by this awesome plugin.

[jQuery] Re: When to use LiveQuery plugin

2009-01-19 Thread Terry
Is it known when one might wish to continue to use the LiveQuery plugin itself with version 1.3+ of the jQuery library? That is, if I upgrade, is there any reason to keep the LQ plugin around? On Jan 14, 3:16 pm, MorningZ wrote: > first off all...  the purpose (and advantage of)LiveQueryis that

[jQuery] auto submit

2009-01-19 Thread finord
Hello, I have a problem when sending data with jQuery, if sent by clicking "Submit" if it works, but when trying to send it directly when the input 'name' has two values, does not run with ajax, but it does as a normal consultation. Here you put the code on the form and the ajax, ajax is not much

[jQuery] jQuery 1.3 live not working correctly

2009-01-19 Thread Walther
I am having an issue with the new live events in jQuery 1.3. Specifically I am having an regarding event bubbling. I have a a list of items, each item element looks like : bla. When the user clicks on the li element one thing should happen, and when the user clicks on the a element another thing s

[jQuery] 1.3 :not(:first) selector

2009-01-19 Thread comslash.com
I just encountered a problem when using the :not(:first) selector in 1.3 . Can i get a confirmation on if this is a bug, or should I write this differently ? // Does Not Work Now $('.class1>.class2>div:not(:first)').each(function(){ $(this).hide (); }); // Works With Full Selector $('.class1>.c

[jQuery] simple click event won't fire

2009-01-19 Thread mmvdl
Within a each first of every row has an tag. But I want the whole to be clickable. To avoid recursion I've put a .one() event on the like so: $("table.vacatures tbody tr").one("click", function(){ $(this).find("a:first").click(); }); But the click on the tag will not fire. Why?

[jQuery] Send $ajax.post

2009-01-19 Thread finord
Hello, I have a problem when sending data with jQuery, if sent by clicking "Submit" if it works, but when trying to send it directly when the input 'name' has two values, does not run with ajax, but it does as a normal consultation. Here you put the code on the form and the ajax, ajax is

[jQuery] swfupload

2009-01-19 Thread DCT, Heidi Anselstetter
Hi Folks, does anybody has experince with the swfupload tool? I have a version (from the application demo) uploaded to my server and it works so far. I can select the pictures to upload and I see the generated thumbnail. Now I need the possibility to use drag and drop to change the order of the pi

[jQuery] Re: Documentation on comparative operators?

2009-01-19 Thread MorningZ
If you look @ the document for ".is()" http://docs.jquery.com/Traversing/is#expr Checks the current selection against an expression and returns true, if at least one element of the selection fits the given expression --

[jQuery] Re: Blueprint css versus YUI grids versus ?

2009-01-19 Thread Steven Wright
Before using a framework you should make sure you completely understand how to use CSS. That being said I recommend Blueprint. Check out this generator: http://kematzy.com/blueprint-generator/ steve -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]

[jQuery] Re: Problem Using jQuery with Other Libraries

2009-01-19 Thread Liam Potter
Hi Dilip, it is advised to not use multiple frameworks, but if this is un-avoidable then you can turn on "no conflict" Read this http://docs.jquery.com/Using_jQuery_with_Other_Libraries DILIP KUMAR wrote: hi there, i am new to Jquery, and find it very interesting i already had been impleme

  1   2   >