[jQuery] IE not triggering change event on dynamically added html

2007-12-03 Thread m j
I am using JQuery and JQuery UI. I'm using tabs from the UI part. I'm trying to build a form dynamically adding and removing input elements on the fly. I would expect someone else has tried this before, and that there is an existing implementation somewhere that works. Here is a page with my exa

[jQuery] calling ajax with url parameter

2007-12-03 Thread dimmex
Hello, I'm pretty new to jQuery and want to implement some ajax. I have a html like this: click here After learning jQuery a little while, I got the way to call ajax something like this: $(document).ready(function() { $('#item1').click(function() { $('#result').load('process.php', {parameters

[jQuery] Re: how to append() to a textarea

2007-12-03 Thread David Serduke
I'd try $("textarea").val($("textarea").val() + txt); David On Dec 3, 4:27 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: > append() doesn't seem to work. I also tried this function that was > mentioned in another thread here by John and that doesn't seem to work > for me either. Anyone else got thi

[jQuery] passing parameter to anonymous function ( frameready )

2007-12-03 Thread Linspirell
Hello everyone :) i'am a newcomer here :) i have a problem with using JQuery and frameready plugin. i need to modify dom elemen especially the css. i have a iframe in my main document. this is my javascript code with jquery and frameready plugin function changeColor(evt) { var co

[jQuery] Re: :empty pseudo-class and whitespaces

2007-12-03 Thread Christoph Roeder
Thanks, I think this is much better. Chris On Dec 3, 3:03 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Does that help clarify it? If not, feel free to edit it directly in > the wiki or reply to this with a suggestion for revision.

[jQuery] Re: scope question

2007-12-03 Thread [EMAIL PROTECTED]
'this' is magic, and can be changed by the calling program. jQuery changes it to the target element in event handlers. If you want to use the original object, you have to save a reference to it somewhere. In your example, you are already saving that reference as 'myObject', so the following would

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
I figured out the problem...I had some server error handling that was doing a redirect, so it was returning status 302 instead of 500...it's working now. -- Josh - Original Message - From: Mike Alsup To: jquery-en@googlegroups.com Sent: Monday, December 03, 2007 3:27 PM Sub

[jQuery] MacWorld new site using jQuery

2007-12-03 Thread Shelane Enos
http://beta.macworld.com/ Right in the source, you can see jquery-1.2.1.min.js and jquery.taconite.js.

[jQuery] Re: ExtJS

2007-12-03 Thread Rey Bango
Both releases will be mainly bug fixes. No new features will be included in jQuery. jQuery UI may include some new stuff but it's primary goal is ensuring full cross-browser compatibility and bug fixes. Rey jQuery Project Team Eridius wrote: Do you know what they are changing in the new re

[jQuery] Re: ExtJS

2007-12-03 Thread Eridius
Do you know what they are changing in the new release(is it 1.2.2 or a 1.3 release) Andy Matthews-4 wrote: > > > They're planning on releasing an updated version of jQuery UI on december > 18th, one day after the next release of jQuery. > > -Original Message- > From: jquery-en@googl

[jQuery] Re: Smoothly scroll to the anchor given in the URL

2007-12-03 Thread Flesler
Hm.. second time I hear that, should I improve the documentation of jQuery.ScrollTo? So you need to scroll the page only once, each time it loads? Try this (I'll use ScrollTo but you can certainly avoid it if you want) $(function(){ var target = location.hash && $(location.hash)[0]; if( targ

[jQuery] Re: last non-empty row

2007-12-03 Thread Karl Swedberg
On Dec 3, 2007, at 6:42 PM, Larry Reynolds wrote: What's the best way to find the last non-empty row in a table? "non-empty" = at least one table cell in the row contains text Is there a better way than this? var last = 0; $("#table1 tr)".each(function(i) { if ($(this).children("td:not(

[jQuery] Re: Scroll to top animate

2007-12-03 Thread Karl Swedberg
On Dec 3, 2007, at 7:08 PM, Wizzud wrote: I was under the impression that scrollTop holds the number of pixels of scroll _away_ from top. You appear to be trying to set scrollTop to the full height of body, which would be the bottom of the document! Shouldn't you be animating scrollTop to 0 (z

[jQuery] $.ajax() over https

2007-12-03 Thread whitingjon
Should I be able to use this function when the page is served up over http, but I want the request to go over https? Or do I need to do something funny with a hidden iframe?

[jQuery] Tablesorter 2.0.1 removing rows and resorting

2007-12-03 Thread Adam Kroll
I'm having problems with tablesorter 2.0.1 and removing rows. I'm allowing users to remove rows, and after a removing a row using a call to remove() I'm calling trigger("update"), but if I remove a row and then resort it brings back the row I just removed. It looks like trigger("update") rebuild

[jQuery] which query is most efficient?

2007-12-03 Thread sawmac
is there a difference in performance for these two: $('p span') $('p').find('span') while, I'm on the subject, what's a good way to test performance of queries (and scripts in general) thanks --dave

[jQuery] Re: Datepicker and autocomplete not playing nice together?

2007-12-03 Thread Shawn
Sorry, maybe this was misleading. I have a form that looks something like so: Employee: Start Date: ___ # The employee field would be the autocomplete field, and the start date would have the date picker. With the dimensions plugin, the calendar will s

[jQuery] scope question

2007-12-03 Thread sawmac
I'm trying to wrap my head around objects and object literals. I can't seem to figure out how to access the object within one of its methods, when the method is triggered by an event. In other words the context for 'this' shifts when the method is invoked by a handler. See simple example below:

[jQuery] last non-empty row

2007-12-03 Thread Larry Reynolds
What's the best way to find the last non-empty row in a table? "non-empty" = at least one table cell in the row contains text Is there a better way than this? var last = 0; $("#table1 tr)".each(function(i) { if ($(this).children("td:not(:empty)").size() > 0) { last = i; } }); T

[jQuery] how to append() to a textarea

2007-12-03 Thread cfdvlpr
append() doesn't seem to work. I also tried this function that was mentioned in another thread here by John and that doesn't seem to work for me either. Anyone else got this to work? What might I be missing? $.fn.appendVal = function(txt) { return this.each(function(){ this.value

[jQuery] Getting response from dataType: Script

2007-12-03 Thread Glen Lipka
A co-worker is new to jQuery and has a question over my head. :) See below. Glen --- Is it possible to get response data from $.ajax when using the dataType: 'script' ? I need to use dataType 'script' in order to avoid cross-site scripting issues and it works well, but I need to be able to pass

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
Hi Mike, I thought I tried that, and I was pretty sure that the error handler didn't fire when a 500 status code was returned...I'll give it another try though. -- Josh - Original Message - From: Mike Alsup To: jquery-en@googlegroups.com Sent: Monday, December 03, 2007 3:27

[jQuery] Re: Scroll to top animate

2007-12-03 Thread Wizzud
I was under the impression that scrollTop holds the number of pixels of scroll _away_ from top. You appear to be trying to set scrollTop to the full height of body, which would be the bottom of the document! Shouldn't you be animating scrollTop to 0 (zero)? eg. $('body').animate({scrollTop:0}, 'sl

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
Hi Rick, Yeah, I need to alert the user in some way if the client validates ok but the server bombs for some reason (no connection or whatever)...because when you do an ajax post, you're not actually refreshing the page, so the client will do the right thing, and the user won't know that an e

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Rick Faircloth
Hi, Josh. I've only used the validation plug-in a couple of times so far, but I use the jQuery validation client side, and then once the validation passes the client side, I run server side validation again, as a separate function. I program in ColdFusion, so I can use my skills there for valida

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Mike Alsup
You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: function() { alert('hooray!'); }, error: function() { alert('boo'); } }); Mike On Dec 3, 2007 4:47

[jQuery] Re: Problem in delete cookie with jQuery Cookie plugin

2007-12-03 Thread Wizzud
Try setting expires to a negative number to delete the cookie. On Dec 3, 5:50 pm, Leandro Vieira Pinho <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I´m working with this piece of code: > > $(this).toggle( function() { > $(this).children().slideToggle('fast', f

[jQuery] Re: Problem with radio/checkboxes on ajax post

2007-12-03 Thread Wizzud
That would be because your $(':input', this) selector is selecting *every* input field in your form and adding it to your inputs array. One solution is to put a test in your each() function to see if the field is a checkbox or radio, and if it is, only add it to your inputs array if it's checked.

[jQuery] Re: nested function problem?

2007-12-03 Thread Wizzud
Just considering the problem area, and assuming that you want a generic solution... for(var i = 0; i wrote: > I have managed to place the values of 4 textboxes into an array called > array1 (each value is placed into > its own array element). > I am having problems when I try to place the 1st 2 e

[jQuery] Re: FJAX instead of AJAX-DRUPAL

2007-12-03 Thread Karl Rudd
What do mean when you say "handle img's and t(e)xt"? If you're only looking to load (X)HTML pages into sections then the current AJAX support should do fine. There's a number of links to tutorials on how to use the AJAX support in jQuery here: http://docs.jquery.com/Tutorials For example th

[jQuery] Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
Hey all, In using the AjaxSubmit method of the Forms plugin, I notice that there is no error param to allow for the handling of an server side error after submission of the form. How are people handling this? I was thinking about just using ajaxForm and then doing the submit using the jque

[jQuery] Re: Ajax seems to be running fine, but is running the 'error' function. What am I doing wrong?

2007-12-03 Thread Dave Methvin
> I have an Ajax function I'm using to test right now. When the function > is called (upon a click), it runs the function, but displays the > "Error, please try again" message. In Firebug, it looks like the > function is returning the correct msg. I was using 1.0.2 (I think) > where it worked, min

[jQuery] Re: new jARIA plugin

2007-12-03 Thread Chris Jordan
This looks cool. I have to admit that to this point, I've not been required to make sure that things are accessible by screen readers and the like. It looks like if I'm ever required to do so, that this plug-in will make things *much* easier! Nice work. :o) Chris On Dec 3, 2007 1:03 PM, Chris <[E

[jQuery] Re: Ajax ie7 $.post

2007-12-03 Thread Mario Moura
Sorry, works fine with ie7 I miss remove last ",' mytext:$("input#url").val(), <== Jquery is amazing. Regards Mario Moura 2007/12/3, Mario Moura <[EMAIL PROTECTED]>: > > Hi folks > > I tried make a simple ajax and didnt work in ie7. FF works fine. > > > $(document).ready(function(){ > >

[jQuery] Re: getScript making multiple calls

2007-12-03 Thread Jörn Zaefferer
Feed schrieb: What am I doing wrong and how can I run the script on the part of the site which has been loaded by ajax? This should answer your question: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F Jörn

[jQuery] Dealing with large forms

2007-12-03 Thread RU
I would like to get some opinions or ideas regarding showing small portions of a lengthy form and advancing through the form by hide() and show(). Below is what I have done, is there an easier or more standard way to do this? Currently I have divided the sections up by fieldsets and using jquery

[jQuery] link with mouseout after mousedown

2007-12-03 Thread arthur.lawry
I'm trying to get a piece of jquery to work without success. I'm using a link as the outermost structure so the element is in the tab-able elements, but I seem to be running into trouble with a link's default onmousedown or onmouseclick behaviors. The jquery: $("a").onmousedown(function(){

[jQuery] jQuery calendar and IE 6

2007-12-03 Thread bconoly
Ok, this is another one of those IE 6 bugs but I'm using jQuery 1.3 (I think this is right, I'm using liferay). I'm also using the calendar version 2.7. When I go to the calendar home site the calendar displays as it should over select boxes in IE 6. I downloaded both the javascript and the css

[jQuery] Ajax seems to be running fine, but is running the 'error' function. What am I doing wrong?

2007-12-03 Thread Chris - Implied By Design
I have an Ajax function I'm using to test right now. When the function is called (upon a click), it runs the function, but displays the "Error, please try again" message. In Firebug, it looks like the function is returning the correct msg. I was using 1.0.2 (I think) where it worked, minus the rep

[jQuery] Re: Smoothly scroll to the anchor given in the URL

2007-12-03 Thread Maccer
Hi! Maybe I should have mentioned that I tried the ScrollTo plugin before I started this topic, but I couldn't get it to work the way I needed. Some example code that shows how to make any of these plugins use the anchor from the current page URL would be very helpful. As I mentioned I can't sim

[jQuery] Re: Datepicker and autocomplete not playing nice together?

2007-12-03 Thread Dan M
Shawn, Are you able to "turn off" the auto complete for your date picker fields? I couldn't see it being very useful there anyway... Dan On Dec 3, 12:22 am, Shawn <[EMAIL PROTECTED]> wrote: > I have a couple of forms that require both an autocomplete field, and a > date picker field. I'm using

[jQuery] Re: new jARIA plugin

2007-12-03 Thread Chris
On Dec 3, 5:31 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > This looks really good. Especially, thanks for gathering a bunch of summary > information in your well-written docs. Thank you, and you're welcome. > 1. I prefer acronyms exceeding 3 chars to be not all caps. AriaRole, > AriaSta

[jQuery] Re: jQuery improving performance

2007-12-03 Thread Amit Uchat
thank you all for quick and quality replys... I am re-writing my script to accomodate new suggestions. and profile my function again to check any improvement. Thanks, Amit On Dec 3, 2007 10:36 AM, Dave Methvin <[EMAIL PROTECTED]> wrote: > > > > I want to improve performance for following snipet

[jQuery] Thickbox Position is Too Low in IE 6

2007-12-03 Thread cfdvlpr
In IE 6, the thickbox loads very low on the screen - so low that the bottom of the thickbox is not visible. How might I raise the position of the thickbox?

[jQuery] Ajax ie7 $.post

2007-12-03 Thread Mario Moura
Hi folks I tried make a simple ajax and didnt work in ie7. FF works fine. $(document).ready(function(){ $("#submit").each(function(){ $(this).bind("click", function(){ $.post("../../../submitajax.php", { ts: $(".secure").attr("name"

[jQuery] Re: mouseout behavior of elements inside the mouseout element

2007-12-03 Thread Karl Swedberg
Hi Martin, This is a JavaScript thing, not jQuery -- related to event bubbling. The good news is that jQuery's .hover() method makes mouseover/ mouseout work more as you would expect them to. http://docs.jquery.com/Events/hover#overout --Karl On Dec 3, 2007, at 1:57 PM, Martin Möller wrot

[jQuery] mouseout behavior of elements inside the mouseout element

2007-12-03 Thread Martin Möller
Hi All, i have an element construct similar to this. -- IMAGE -- $('.ShowmyDiv').mouseover(function() { $('myDiv').fadeIn(); }); $('.myDiv').mouseout(function() { $('myDiv').fadeout(); }); -- So but everytime i hover with the pointer over my link inside the layer it triggers th

[jQuery] Re: jQuery improving performance

2007-12-03 Thread Dave Methvin
> I want to improve performance for following snipet when run for 1000 times. > > jQuery(".Grid_Item,.Grid_AltItem").each( function() { //begin for-each TR > id = jQuery(this).find(".IdCell").text(); > foo = jQuery(this).find("#foo").val(); > bar = jQuery(this).find("#bar"

[jQuery] Re: adding a class to the label of a checked radio button

2007-12-03 Thread Karl Swedberg
Hi sperks, I'm pretty sure you can do that by changing this line ... $('div#searchLabels label.attr("for","' + selectedInput + '")').addClass("selected"); to this ... $('#searchLabels label[for=' + selectedInput + ']').addClass("selected"); Instead of returning the attribute itself, yo

[jQuery] getScript making multiple calls

2007-12-03 Thread Feed
Hello all, I think I not using getScript properly and would appreciate very much if you could help. I have a page which is load via ajax GET and I need the script to run again each time new data is loaded (when the user clicks a button). Something like this (this file is called scripts.js) $(".

[jQuery] Scroll to top animate

2007-12-03 Thread Olaf Bosch
Hi all, I try to animate the scrolling to top of the Page, is works not :( HTML: .. CONTENT . . CONTENT top - JS: $("#toplink a").click(function(){ var h = $("body").height(); // alert (h); $("body")

[jQuery] Problem in delete cookie with jQuery Cookie plugin

2007-12-03 Thread Leandro Vieira Pinho
Hi Guys, I´m working with this piece of code: $(this).toggle( function() { $(this).children().slideToggle('fast', function() { $.cookie('_wp_el_' + i, i, { expires: 30, path: '/', domain: 'leandrovieira.com' }); }); }, function() {

[jQuery] Re: Smoothly scroll to the anchor given in the URL

2007-12-03 Thread RU
Maccer - See - http://www.hypergurl.com/anchors.html It does not require jQuery On Dec 3, 6:30 am, Maccer <[EMAIL PROTECTED]> wrote: > Hi! > > I have a page with a imagemap with link areas. The hrefs look like this: > > href="?city=NameOfCity#memberlist" > > When one of those links are clicke

[jQuery] adding a class to the label of a checked radio button

2007-12-03 Thread sperks
I think that this bit of script is adding a class to the for attribute, but I'm wanting to add the class to the element that has that for attribute. Can anyone help me do the targeting better? Thanks $(document).ready(function() { $('div#searchLabels').addClass('active'); // allows me to

[jQuery] Re: ExtJS

2007-12-03 Thread Jörn Zaefferer
Glen Lipka schrieb: I really see them as totally different tools that actually can be used together in parallel. One developer said, "We use ExtJS for the widgets and the Framework and jQuery for all the basic interactivity." I actually think this is a great model. I can't program a single

[jQuery] Re: ExtJS

2007-12-03 Thread Andy Matthews
They're planning on releasing an updated version of jQuery UI on december 18th, one day after the next release of jQuery. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kaare Rasmussen Sent: Monday, December 03, 2007 10:58 AM To: jquery-en@go

[jQuery] Re: Smoothly scroll to the anchor given in the URL

2007-12-03 Thread Andy Matthews
There are several plugins for this behavior: http://www.freewebs.com/flesler/jQuery.LocalScroll/ http://www.freewebs.com/flesler/jQuery.ScrollTo/ -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maccer Sent: Monday, December 03, 2007 8:30 AM To

[jQuery] Re: Help with jquery.autocomplete and extraParams

2007-12-03 Thread Jörn Zaefferer
Shawn schrieb: Hope that helps. But the rate you do things, you have probably already done this.. :) Thanks again for all your efforts. It sure helps! I haven't tackled it yet, but currently the approach of an option to specify the name of the hidden input seems to be the most viable to

[jQuery] Re: ExtJS

2007-12-03 Thread Glen Lipka
I really see them as totally different tools that actually can be used together in parallel. One developer said, "We use ExtJS for the widgets and the Framework and jQuery for all the basic interactivity." I actually think this is a great model. I can't program a single click-handler in ExtJS. I

[jQuery] Re: ExtJS

2007-12-03 Thread Kaare Rasmussen
Looks good, but perhaps not quite there yet. E.g. no edit option for the tablesorter. Also, it was incredible slow on Konqueror (Safari engine). > http://ui.jquery.com > > On 12月3日, 下午8时36分, "Kaare Rasmussen" <[EMAIL PROTECTED]> wrote: > > Inspired by this Christmas Calendar > > (http://catalys

[jQuery] Re: Geocoding with Google Maps while a page is loading

2007-12-03 Thread Tane Piper
You might be interested in my plugin, jMap2 - http://hg.pastemonkey.org/jmaps On Dec 1, 2007 9:26 PM, Mazso <[EMAIL PROTECTED]> wrote: > > For several hours I tried to get the Google Map GeoCoding Script of > Blackpool Community Church Javascript Team working with jQuery but I > failed. Loading th

[jQuery] jCarousel

2007-12-03 Thread [EMAIL PROTECTED]
Hello. Can you please explain to me why when I have more than 3 items in the mycarousel ul element, manual and auto scroll always goes from the 1st item to the 3rd, to the 4th, and then back to the 1st again, skipping the 2nd and then ignoring any item after the 4th? This is quite frustrating and

[jQuery] jQuery.getScript() way to test if the script has already been downloaded?

2007-12-03 Thread seth
Hi, Is there a way to see if a script has already been downloaded before i 'download' it again? i.e. i have this: $(document).ready(function(){ $("#editor").click(function(){ $.getScript("/fckeditor/fckeditor.js", function(){ $.rteditor("body,{ buttons: { Cancel: false, Submit: true }

[jQuery] Re: Superfish delay problem

2007-12-03 Thread areikiera
Thanks Joel! I could've sworn I'd changed that in the javascript file, but apparently not. Thanks for taking the time to help all of us helpless javascript rookies. We really appreciate it. Very few people would have the patience for it, so thanks again! Just out of curiousity, is there a fun

[jQuery] dataType & POST

2007-12-03 Thread Jean-Sébastien
(i post this message again i've posted it 2 hours ago but it didn't appear yet.) in jquery doc is written : warning "script" will turn posts into gets so, is there a way to send POST or DELETE or PUT ajax query with datatype: 'script'? regards

[jQuery] dataType & POST

2007-12-03 Thread Jean-Sébastien
on jquery, is sayed (about dataType='script'): # warning "script" will turn posts into gets . Is there another to have a dataType='script' and force POST, or PUT or DELETE ? regards

[jQuery] Smoothly scroll to the anchor given in the URL

2007-12-03 Thread Maccer
Hi! I have a page with a imagemap with link areas. The hrefs look like this: href="?city=NameOfCity#memberlist" When one of those links are clicked, I would like the page to smoothly scroll down to the anchor #memberlist. However, the page is reloaded and processed by PHP when a link is cli

[jQuery] Re: Newbie question regarding requesting confirmation when a link is selected.

2007-12-03 Thread kiboro
Just a quick point. You shouldn't really have 'delete' as a hyperlink. Any actions which affect your database should be a POST from a form submission. The reason for this is simple. If your site is public and google or someone crawls your site it will hit all the delete hyperlinks (ignoring the j

[jQuery] Re: ExtJS

2007-12-03 Thread Cloudream
http://ui.jquery.com On 12月3日, 下午8时36分, "Kaare Rasmussen" <[EMAIL PROTECTED]> wrote: > Inspired by this Christmas Calendar > (http://catalyst.perl.org/calendar/2007/1) i want to ask for input regarding > ExtJS vs. jQuery. > > The ExtJS overview and demos are very straight forward and rather impre

[jQuery] FJAX instead of AJAX-DRUPAL

2007-12-03 Thread [EMAIL PROTECTED]
I couldn't find any AJAX module to handle img's and txt, so I'm trying to use FJAX that I have used easily in normal web sites. The problem in Drupal is the JS part of the FJAX . If you r not familiar wiht FAJX their web site is http://www.fjax.net/. Is quite smaller than AJAX and uses a swf as

[jQuery] Problem with radio/checkboxes on ajax post

2007-12-03 Thread e2e
Hi, I use this function to submit my post requests. But now I have a problem with radio buttons and checkboxes. It sends all button values to server, so the last radio buttons' (even it's not checked) value passes as value. checkboxes are same, even it's not checked, it sends checked value. $("f

[jQuery] Re: Help finding a plugin

2007-12-03 Thread Adrian Lynch
That's the one! Cheers. Adrian On Dec 2, 3:30 pm, Flesler <[EMAIL PROTECTED]> wrote: > This is it:http://jquery.com/plugins/project/LocalScroll? > > Ariel Flesler > > On Dec 1, 10:41 am, Adrian Lynch <[EMAIL PROTECTED]> wrote: > > > I'm looking for a plugin that I remember someone posting on he

[jQuery] Re: $(document).ready still fires too early in svn trunk (rev 4000)

2007-12-03 Thread moe
Unfortunately I haven't had success in reproducing it so far. It seems like the problem depends on page complexity so I'm basically throwing floats, divs and images at the page in the hope of eventually reaching a tipping point. I'll work on the mockup again when I have more time and post it if I

[jQuery] Re: :empty pseudo-class and whitespaces

2007-12-03 Thread Karl Swedberg
It's not a bug in :empty. I just changed the documentation to this: Matches all elements that have no children (including text nodes). Then, for the "demo" tab, I changed it to this: Finds all elements that are empty - they don't have child elements or text. Does that help clarify

[jQuery] Re: ExtJS

2007-12-03 Thread Eridius
Another reason why jQuery is for me and a better choice in my opinion is the license. Believe released under the MIT license allow me to include this in my PHP Framework I am building which will allow me to bring some very nice built-in feature to it. Kaare Rasmussen-3 wrote: > > > Inspired

[jQuery] Re: weird behaviour with slideViewer and Chili 1.9

2007-12-03 Thread GianCarlo Mingati
fixed. Disabled the automatic highlighting ChiliBook.automatic = false; then in $(window).bind("load", funct . wich is the event used by slideviewer: $("code").chili(); and it works. GC On Dec 3, 1:13 pm, GianCarlo Mingati <[EMAIL PROTECTED]> wrote: > Hi all. > I've included Chili 1.9 to

[jQuery] Re: jQuery improving performance

2007-12-03 Thread Flesler
I'm not sure which one is faster but instead of $ ("tr.Grid_Item,tr.Grid_AltItem"), maybe $ ("tr").filter('.Grid_Item,.Grid_AltItem') is faster. Also instead of calling 3 times $(this), you can do: var $this = $ (this); $this... Ariel Flesler On Dec 3, 5:57 am, Suni <[EMAIL PROTECTED]> wrote

[jQuery] Re: ExtJS

2007-12-03 Thread Eridius
ExtJS is designed to play together since most of the plugins are designed by the ExtJS team. I was excited to start play with it however in the end really did not like it. One thing is that it high a bit of a learning curve were as with jQuery I was able to start coding very very quickly. Anot

[jQuery] ExtJS

2007-12-03 Thread Kaare Rasmussen
Inspired by this Christmas Calendar (http://catalyst.perl.org/calendar/2007/1) i want to ask for input regarding ExtJS vs. jQuery. The ExtJS overview and demos are very straight forward and rather impressive at a glance. I guess that what makes the biggest impression is that the library see

[jQuery] window unload, blockUI and IE6

2007-12-03 Thread Lawrence Oluyede
I'm trying to use the $(window).unload() event handler in IE6 but it doesn't work. It works fine in Firefox. this is my test code: --- var waitCallback = function() { $.blockUI.defaults.pageMessage = "Please be patient..."; $.blockUI({backgroundColor: '#666', color: '#fff'}); } $(document).r

[jQuery] :empty pseudo-class and whitespaces

2007-12-03 Thread Christoph Roeder
Hello, I think the :empty pseudo-class has a bug, the docs are wrong or I misunderstood the docs. The Problem is, that :empty only matches elements when they really have no children, incl. textnodes with whitespaces or newlines. http://docs.jquery.com/Selectors/empty > Matches all elements that

[jQuery] Re: Firefox/Opera JS bug?

2007-12-03 Thread [EMAIL PROTECTED]
Hi Allan, >From looking at your code, you're not actually preloading the rollover image. This is an old preloader I had knocking about, I'm sure it can be jQuery'fied: You just need to pass in an array of images to preload... var images = ['image1.gif', 'image2.gif'] etc... preloadImages(image

[jQuery] Re: Geocoding with Google Maps while a page is loading

2007-12-03 Thread Mazso
Okay, I got it. Using function load() and $(load) works. Here ist the complete code: $(document).ready(function() { if (GBrowserIsCompatible()) { var map = new GMap($("#map")[0]); map.addControl(new GLargeMapControl()); map.addControl(new

[jQuery] window unload, blockUI and IE6

2007-12-03 Thread Lawrence Oluyede
I'm trying to use the $(window).unload() event handler in IE6 but it doesn't work. It works fine in Firefox. this is my test code: --- var waitCallback = function() { $.blockUI.defaults.pageMessage = "Please be patient..."; $.blockUI({backgroundColor: '#666', color: '#fff'}); } $(document).rea

[jQuery] Re: new jARIA plugin

2007-12-03 Thread Richard D. Worth
Chris, This looks really good. Especially, thanks for gathering a bunch of summary information in your well-written docs. I was about to dive back into ARIA, and you gave me a great starting point. A quick bit of feedback on the API: 1. I prefer acronyms exceeding 3 chars to be not all caps. Aria

[jQuery] Re: How to global a variable?

2007-12-03 Thread Klaus Hartl
On 2 Dez., 20:56, Ryura <[EMAIL PROTECTED]> wrote: > Thanks for the reply, Mike. > > I've tried that but I'm still thrown the error z is not defined > $(function(){ > z=$("#getID").text();}); > > document.write(z); An additional thought: I think it isn't 100% obvious that you actually want to cr

[jQuery] Re: global error handler

2007-12-03 Thread Suni
I came across the same problem earlier, when trying to create a global way of notifying the user about timed out sessions in ajax-calls. It would be really handy if the global ajax-events would fire before locals. I ended up doing modifications to the jQuery core to make this possible.

[jQuery] Re: jQuery improving performance

2007-12-03 Thread Suni
This might help a bit (not tested): jQuery("tr.Grid_Item,tr.Grid_AltItem").each( function() { // Use tr to skip checking nont-tr-elements var td_nodes = jQuery(this).find('td'); // Get the td nodes with a single select and store them in a variable var Id = td_nodes.eq(2).text();