[jQuery] Selecting readonly textboxes

2007-08-18 Thread Mohsen Saboorian
Hello list, Is it possible to select non-readonly textboxes with JQuery? I've tried the following queries, non of which worked: $(input:[EMAIL PROTECTED]) $(input:[EMAIL PROTECTED]'false']) $(input:[EMAIL PROTECTED]'true']) However it was possible to select readonly textboxes with the

[jQuery] Re: Selecting readonly textboxes

2007-08-18 Thread Ganeshji Marwaha
Try this $(input:text).not([EMAIL PROTECTED]); -GTG On 8/17/07, Mohsen Saboorian [EMAIL PROTECTED] wrote: Hello list, Is it possible to select non-readonly textboxes with JQuery? I've tried the following queries, non of which worked: $(input:[EMAIL PROTECTED]) $(input:[EMAIL

[jQuery] To Obstruse or not Obstruse - Elements of jQuery

2007-08-18 Thread Pops
Folks, This is originall a question to Erik Beeson (so I hope he is lurking around) from a previous thread on Creating DOM Elements on the fly , but I chose to post it as new topic since it lead to and also touches on some fews issues regarding the theory of jQuery. First, Erik provided a neat

[jQuery] Re: Creating DOM elements on the fly

2007-08-18 Thread Anurag
Thanks for the sample plugin code Sean, This looks like a really neat plugin, I'll have to take care of the indentation though. Can get very messy at 3 levels if not written well. Anurag On Aug 17, 4:19 pm, duma [EMAIL PROTECTED] wrote: Anurag, I've written a Dom element-creating plugin for

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-18 Thread Dragan Krstic
I'm always for separating thing. Maybe, this would be nice: Function my_f(arg1,arg2,arg3) { //code } $(...).click().f_call(my_f,{arg1: arg1,arg2: arg2,arg3: arg3}); or similar. Maybe, plug in mechanism can be extended to do this stuff. John, for us who prefer $(...).bind(click,f(){});

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-18 Thread Pops
On Aug 17, 5:43 pm, westamastaflash [EMAIL PROTECTED] wrote: So I wrote a periodic execution function for jQuery, similar to the PeriodicExecuter function of prototype. I'd like some feedback as to it's usefulness (or non-usefullness). This is my first plugin, so any suggestions as to what

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-18 Thread Pops
My Bad, your inline comments did imply to return false to stop the callback, other TRUE to continue. But how to you pass the options, specifically, changing the frequency? Thanks On Aug 18, 5:45 am, Pops [EMAIL PROTECTED] wrote: On Aug 17, 5:43 pm, westamastaflash [EMAIL PROTECTED] wrote:

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-18 Thread Ganeshji Marwaha
I am sure westamastaflash will reply to ur query, but in the meantime, since i am still awake (3 PM here), i thought i will do a good deed before i goto bed. try $.periodic(callback, {frequency: 5}); You were using quotes for the options object. That was probably the cause of the problem And

[jQuery] Re: ORing selectors

2007-08-18 Thread Dave Cardwell
On 17/08/07, Rob Desbois [EMAIL PROTECTED] wrote: Does anyone know offhand how much overhead using .add() instead of the comma incurs? Is it just the additional function call? --rob It is likely to be an additional function call or two, so the difference is negligible. If you have the

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-18 Thread Mario Moura
Hi Andy I really wish but I am not JQuery Ninja, yet. ; ) Mario 2007/8/17, Andy Matthews [EMAIL PROTECTED]: Yeah...would be nice if someone took something like that and converted it to a plugin. Mario? YOu up for it? :) -- *From:*

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-18 Thread Pops
On Aug 18, 5:59 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote: I am sure westamastaflash will reply to ur query, but in the meantime, since i am still awake (3 PM here), i thought i will do a good deed before i goto bed. try $.periodic(callback, {frequency: 5}); You were using quotes for

[jQuery] Re: To Obstruse or not Obstruse - Elements of jQuery

2007-08-18 Thread Pops
I fiqured this out: $('input type=checkbox id=cb/') .appendTo('#myFormId', 10) .click(function() { // do something }); The .appendTo overload (Erik's plugin) which is designed to clone the html does not return an array, hence chaining the .click

[jQuery] Re: Nice jQuery writeup

2007-08-18 Thread DaveG
IMO this should be prominently on the Jq site. This article explains the jQ way so well, it's invaluable. ~ ~ Dave Priest, James (NIH/NIEHS) [C] wrote: I didn't write this but saw it on Reddit while browsing at lunch: http://simonwillison.net/2007/Aug/15/jquery/ Jim

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-18 Thread westamastaflash
Sorry about not replying sooner, I was offline after I posted last night. Pops: About passing parameters: I tried to follow the example in the jQuery docs of using jQuery.extend to handle optional parameters to functions - I think it's like using named notation for parameters in PL/SQL - i.e.

[jQuery] Re: problem looping through table rows in IE

2007-08-18 Thread Potluri
Thats really surprising, the same code doesn't work for me but works for you. No I dont have IE in quirks mode. Does that make a difference?. Do you know any other way to make this work. Thanks. Olaf wrote: Potluri schrieb: Can you please help me out in how to make it work in IE. It

[jQuery] Re: hide some divs, show one

2007-08-18 Thread [EMAIL PROTECTED]
thanks ! On Aug 17, 6:45 pm, Justin Sepulveda [EMAIL PROTECTED] wrote: What you're looking for sounds a lot like tab functionality. I think you could pull it off using Klaus's tab plugin. http://www.stilbuero.de/2007/05/14/tabs-plugin-more-flexibility/ On Aug 17, 1:21 pm, [EMAIL

[jQuery] Re: How to show Updating container

2007-08-18 Thread Potluri
Thanks a lot Ganesh, It works for me. I've beenworking a lot on this. Regards, Vijay Potluri Ganeshji Marwaha wrote: try something like this... $(#some_table_name).click(function() { $(#rs_loading).show(function() { someFuncTORefine(); $(#rs_loading).hide(); });

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Cybolic
IE has problems with selectors on dynamic elements (elements created in script), but can handle classes just fine, so if you can change your code to hunt classes instead, that should work. ...or use Geneshjii's advice and see if you can't speed that up instead. Having class=srRow on every tr

[jQuery] Re: stop animation

2007-08-18 Thread Cybolic
I've just added an example of how to stop an animation to the jQuery documention's Effect page. No longer will people have to scour jQuery source code to find the answer :P On Aug 18, 12:03 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Hey Christian, This is either a huge co-incidence or we

[jQuery] Re: Totally new to this...

2007-08-18 Thread Shaft
WOW! Thanx! You actually got me hooked up bigtime - the visual JQuery is very helpful BUT.. I still have major problems on click/drag/drop Layers - it's as if the z-index returns to default... There are strange things happening there. Go here:

[jQuery] Simulate foucs on any div, really get Firebug and use it

2007-08-18 Thread Mitch
I finally figured out what was wrong with my attempt to get stopPropation to work so I could simulate focus on any div, not just an input element. This is the link to the demo and below is how it works (the foucs and unfocus part).

[jQuery] Re: anyone knows a jQuery based slideshow plugin like this?

2007-08-18 Thread Mitch
Interface Elments is very cool but I think its overkill. Its not that easy to use. jCarouselLite seems just the oppostie, too simple and not enough features. What you want to do doesnt need a plugin, its really easy in jQuery using show and hide or animate. I do which there was a carousel that

[jQuery] Re: stop animation

2007-08-18 Thread Ganeshji Marwaha
Cool, That seems to look like an extension of my jkwick source. Was jkwick the starting point? :-) Anyways, i guess u r facing the same problem as i am at this point. Initially i had it similar to yours, but the problem is the individual items bump left and right especially when we are hovering

[jQuery] Rolling region plugin?

2007-08-18 Thread howa
Anyone know there is such as plugin, e.g. div id=image1 img src='... desc... /div div id=image2 img src='... desc... /div div id=image3 img src='... desc... /div ... the effect is the DIVs keep rolling (over and over) from a limited area (which only show at most 2 items at the same time)

[jQuery] Re: Rolling region plugin?

2007-08-18 Thread Ganeshji Marwaha
i guess u r looking for jCarouselLite - http://gmarwaha.com/jquery/jcarousellite/ -GTG On 8/18/07, howa [EMAIL PROTECTED] wrote: Anyone know there is such as plugin, e.g. div id=image1 img src='... desc... /div div id=image2 img src='... desc... /div div id=image3 img src='...

[jQuery] Re: anyone knows a jQuery based slideshow plugin like this?

2007-08-18 Thread Mitch
With the paging feature you will need more then one line of code. Cycle has exactly what you want. Its called the Pager. I am going to use that myself, its so simple. http://www.malsup.com/jquery/cycle/int2.html Mitch

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-18 Thread polyrhythmic
IMO, part of good software craftmanship and being productive is being able to recognized code in brain speed. One might called say the art of jQuery Theory dissemination of information applies here. I agree! Also, something yet unaddressed in this thread is callbacks. I really enjoy the

[jQuery] Re: Creating DOM elements on the fly

2007-08-18 Thread duma
Thanks!! Yes, indentation helps make this readable ;-) AnuragMishra wrote: Thanks for the sample plugin code Sean, This looks like a really neat plugin, I'll have to take care of the indentation though. Can get very messy at 3 levels if not written well. Anurag -- View this

[jQuery] Re: fadeTo fades up in Safari and FF, down in IE

2007-08-18 Thread polyrhythmic
$(object).css(opacity, 0.7).fadeIn(400); Ha! That did the trick. Thanks. Aaron @Aaron: Does this accomplish your original goal, fading TO 70%, in all browsers? The code reads to me that it will fade from 70% to 100%. I have had so much trouble with the fadeTo working crossbrowser.

[jQuery] Re: Simulate foucs on any div, really get Firebug and use it

2007-08-18 Thread Mitch
Right on browthanks for your review, I love the word excellent. There is not much better, except maybe awesome. As far as being way to the right, I was trying to be clever and make the window float in the middle of the page by putting everything inside a table. That was before I really

[jQuery] Find URLs in text?

2007-08-18 Thread Rod Begbie
Quick question to attempt to avoid reinventing the wheel. Is anyone aware of a Javascript library (JQuery or otherwise) which will find URLs in a chunk of text and either turn them into links, or make it easy for me to do so myself? (Something like Perl's URI::Find module, or the urlizer

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-18 Thread Pops
+1 One thing about jQuery, atleast for me so far, it has brought back similar APL like mental translations requirements. In APL, essentially a math language of scalar, vectors and matrixes, forces or promotes you to envision all the data in your mind, thinking and soping out all your

[jQuery] Templating in attr and css?

2007-08-18 Thread Yehuda Katz
Hey guys, So I've been lobbying for syntax along the following lines: $(...).attr(foo, {{width() 40 ? 'bar' : 'baz'}}) or $(...).attr(target, {{rel}}) which would basically expand to: $(...).attr(foo, function() { return this.width() 40 ? bar : baz; }); and $(...).attr(target, function() {

[jQuery] Re: Totally new to this...

2007-08-18 Thread polyrhythmic
No need to start a new thread, if your questions are about the same page/topic. The animated slide effect works for me in Firefox 2.0.0.6 (latest stable ver), as well as Opera 9.02. It looks like the stay-on-top will work, but you have conflicting bindings, and I think we need to add a zIndex

[jQuery] Re: Totally new to this...

2007-08-18 Thread polyrhythmic
Ohhh, I see, the slideDown effect doesn't work after scrolling... I think the position property may somehow get reset during the animations? Unfortunately we're now getting in over my head as the animation code is quite complex. I'd love to know the reason, any insight from jQuery fx code

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Potluri
Thanks a lot it works for me. I realized that IE is not recognizing child selectors. Cybolic wrote: IE has problems with selectors on dynamic elements (elements created in script), but can handle classes just fine, so if you can change your code to hunt classes instead, that should

[jQuery] store checkbox id's in array object.

2007-08-18 Thread Potluri
Hi, I'm using this method to store id's of checked checkboxes in array object like $([EMAIL PROTECTED]'checkbox']:checked).each( function() { arrayName.push(this.id); } ); it works but above way takes .656 secs for storing in array object with 50 checkboxes. Is there a 1 line way to store

[jQuery] Re: stop animation

2007-08-18 Thread Joan Piedra
Omg,is this in the jquery-core?! O_o If it is then I won't need to use interface iutil and ifx anymore, yay! On 8/17/07, Cybolic [EMAIL PROTECTED] wrote: You can start and stop an animation like so: // start $('#animationElement').animate({width: 50}, slow); // stop

[jQuery] Re: stop animation

2007-08-18 Thread Yehuda Katz
stop() is going to be in jQuery 1.2, and I believe it is already in trunk. -- Yehuda On 8/18/07, Joan Piedra [EMAIL PROTECTED] wrote: Omg,is this in the jquery-core?! O_o If it is then I won't need to use interface iutil and ifx anymore, yay! On 8/17/07, Cybolic [EMAIL

[jQuery] Re: How to check multiple checkboxes checked at a time

2007-08-18 Thread George
I dare say someone can offer a better solution for your first request: To know whether all checkboxes are checked. I'd probably try !$ (#id1,#id2,#id3).is(:not(:checked)) which returns true if all are unchecked (Note the ! at the beginning). Your second request is easy: To know whether at least

[jQuery] Re: store checkbox id's in array object.

2007-08-18 Thread Klaus Hartl
Potluri wrote: Hi, I'm using this method to store id's of checked checkboxes in array object like $([EMAIL PROTECTED]'checkbox']:checked).each( function() { arrayName.push(this.id); } ); it works but above way takes .656 secs for storing in array object with 50 checkboxes. Is there a 1 line

[jQuery] Re: store checkbox id's in array object.

2007-08-18 Thread George
I don't know about finishing in 0.0 secs but there is an attrs() method in the moreSelectors plugin that returns an array of attribute values from all matched elements. Eg: $(input:checkbox:checked).attrs(id) will return an array [id1,id2,id3 etc] It can also accept a second parameter if you

[jQuery] Re: How to check multiple checkboxes checked at a time

2007-08-18 Thread Yehuda Katz
$.fn.all = function(selector) { return foo.filter(:checked).length == foo.length; }); Kudos to John for that one ;) -- Yehuda On 8/18/07, Joan Piedra [EMAIL PROTECTED] wrote: $('a.toggleCheckbox').click(function(){ $(':checkbox').each(function(){ if(this.checked) {

[jQuery] Re: stop animation

2007-08-18 Thread Ganeshji Marwaha
yehuda, i dont see it in the trunk... am i missing something... -GTG On 8/18/07, Yehuda Katz [EMAIL PROTECTED] wrote: stop() is going to be in jQuery 1.2, and I believe it is already in trunk. -- Yehuda On 8/18/07, Joan Piedra [EMAIL PROTECTED] wrote: Omg,is this in the jquery-core?!

[jQuery] Re: stop animation

2007-08-18 Thread Joan Piedra
Ganeshji, Maybe it's on plan to make it happen for 1.2, but It isn't in trunk just yet. Hope to see your plugin soon. On 8/18/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote: yehuda, i dont see it in the trunk... am i missing something... -GTG On 8/18/07, Yehuda Katz [EMAIL PROTECTED]

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Joan Piedra
Untested, but should work. $.ajax({ type: POST, url: /data/tags, data: format=xhtml, success: function(data){ $('#tags').html(data); } }); On 8/18/07, angelogladding [EMAIL PROTECTED] wrote: When I attempt to load into a ul (#tags) jQuery seems to be sending a `POST`

[jQuery] Re: fadeTo fades up in Safari and FF, down in IE

2007-08-18 Thread John Resig
I dunno, but using no jQuery at all, your alpha filter doesn't appear to be set up properly: http://dev.jquery.com/~john/ticket/fadeTo/ --John On 8/17/07, Aaron Scott [EMAIL PROTECTED] wrote: I have an element with this style associated with it: filter:alpha(opacity=0);

[jQuery] Re: Simulate foucs on any div, really get Firebug and use it

2007-08-18 Thread Aaron Heimlich
On 8/18/07, Mitch [EMAIL PROTECTED] wrote: I am pretty sure I can get the outdiv to float in the center of the page, I just have to remember how to do it. I believe this is what you're looking for: body { position: relative; margin-left: auto; margin-right: auto; width:

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Stephan Beal
On Aug 19, 12:10 am, Pops [EMAIL PROTECTED] wrote: The default is GET, however, if you pass the 2nd parameter as URL data and not a function, then jQuery assumes a POST is desired. Studying this seems odd. I can take a swag at the reasons: - As a poor's man security consideration

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-18 Thread westamastaflash
Looks like a lot of what I've done was done before with jQuery Timers - so take a look at that as well. On Aug 18, 9:40 am, westamastaflash [EMAIL PROTECTED] wrote: Sorry about not replying sooner, I was offline after I posted last night. Pops: About passing parameters: I tried to follow

[jQuery] Re: Simulate foucs on any div, really get Firebug and use it

2007-08-18 Thread Stephan Beal
On Aug 18, 9:43 pm, Mitch [EMAIL PROTECTED] wrote: In fact this demo has a little bit of every thing in it. That's what impressed me. It really is a full-fledged app (or appears to be - i couldn't figure out how to get it to do anything, so i assume it's a prototype or mock-up). You did a hell

[jQuery] Re: Find URLs in text?

2007-08-18 Thread Stephan Beal
On Aug 18, 9:50 pm, Rod Begbie [EMAIL PROTECTED] wrote: Quick question to attempt to avoid reinventing the wheel. Is anyone aware of a Javascript library (JQuery or otherwise) which will find URLs in a chunk of text and either turn them into links, or make it easy for me to do so myself?

[jQuery] Re: [OT] A Good Cause: AIR (Accessibility Internet Rally)

2007-08-18 Thread Kenneth
It's actually not my group, I'm just a participant, but I'll forward that information on.however, I can't see them changing the name from AIR since they've been using it for 10 years already. On 8/17/07, Andy Matthews [EMAIL PROTECTED] wrote: You should consider a new acronym for your

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Pops
The default is GET, however, if you pass the 2nd parameter as URL data and not a function, then jQuery assumes a POST is desired. Studying this seems odd. I can take a swag at the reasons: - As a poor's man security consideration against ajax injections. and - If you are sending JSON

[jQuery] Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Pops
In the docs for .load, it has: params (Object): (optional) A set of key/value pairs that will be sent as data to the server. That is not what I am seeing, the following $('#containerId').load(url,k1=v1k2=v2); The jQuery.js code at lin 1671: params = jQuery.param( params );

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 12:31 am, Pops [EMAIL PROTECTED] wrote: In the docs for .load, it has: params (Object): (optional) A set of key/value pairs that will be sent as data to the server. That is not what I am seeing, the following $('#containerId').load(url,k1=v1k2=v2); Hi, Pops! That should

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 12:39 am, Stephan Beal [EMAIL PROTECTED] wrote: $(...).load('url', {k1='v1', k2:'v2'}); s/k1=/k1:/, of course.

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Pops
On Aug 18, 6:15 pm, Stephan Beal [EMAIL PROTECTED] wrote: One of the negative side-effects is, however, that POST is not configured consistently across servers. For example, i had the example same problem as the OP... i was trying to load() an HTML file and it worked on my local system.

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread John Resig
Yes, a POST will be performed instead. I updated the docs to represent this: http://docs.jquery.com/Ajax#load.28_url.2C_params.2C_callback_.29 --John On 8/18/07, angelogladding [EMAIL PROTECTED] wrote: When I attempt to load into a ul (#tags) jQuery seems to be sending a `POST` request.

[jQuery] Re: stop animation

2007-08-18 Thread Ganeshji Marwaha
Ok, there is no way i can oppose that. You are an authority in what u r talking about and i comletely agree with u. I also understand exactly what u mean when u say that... That said, the interesting part is, in the case of my lavalamp plugin http://www.gmarwaha.com/jquery/lavalamp/test/test.html

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Pops
On Aug 18, 7:01 pm, John Resig [EMAIL PROTECTED] wrote: Yes, a POST will be performed instead. I updated the docs to represent this:http://docs.jquery.com/Ajax#load.28_url.2C_params.2C_callback_.29 John, I'm sure you read my recent new post regarding the DOC nit. You need to add, correct

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Pops
Stephan, You're pulling my leg? Firebug shows this when I enter the following in the console: console.log($.param({k1='v1', k2='v2'})); 0=%7B1=k2=13=%3D4='5=v6=17='8=%2C9=%2010=k11=212= %3D13='14=v15=216='17=%7D This is called in params = jQuery.param(params) in the .load method to

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread John Resig
Right, that's because you're not supposed to pass in a string, you pass in an options block. If you pass in a string it splits the string up by character, which is not what you want. --John On 8/18/07, Pops [EMAIL PROTECTED] wrote: On Aug 18, 7:01 pm, John Resig [EMAIL PROTECTED] wrote:

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Stephan Beal
On Aug 19, 12:55 am, Pops [EMAIL PROTECTED] wrote: What was you sending? i wasn't sending anything - i just wanted to load the contents of an HTML snippet file (not a complete/well-formed HTML document) into a DIV. We write our own web server and as such we conform to HTTP RFC standards, and

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread John Resig
You don't put the object in as a string - you put it in as an object: console.log($.param({k1:'v1', k2:'v2'})); which outputs: k1=v1k2=v2 --John On 8/18/07, Pops [EMAIL PROTECTED] wrote: Stephan, You're pulling my leg? Firebug shows this when I enter the following in the console:

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 1:16 am, Pops [EMAIL PROTECTED] wrote: Stephan, You're pulling my leg? Not as far as i know, but... Firebug shows this when I enter the following in the console: console.log($.param({k1='v1', k2='v2'})); 0=%7B1=k2=13=%3D4='5=v6=17='8=%2C9=%2010=k11=212=

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 1:21 am, Stephan Beal [EMAIL PROTECTED] wrote: Um... err... ??? i may be wrong on what the param object should be, but my understanding is that it's an Object/map of key/val pairs. Maybe someone out there can correct or confirm that? From the example on the docs page:

[jQuery] [PLUGIN] Templater

2007-08-18 Thread Yehuda Katz
Hi guys, I have just committed a new plugin to the trunk. It's a simple templater that allows you to create templates that get populated via JSON objects. Some examples: var tmp = $.makeTemplate(My name is {{foo}} and your name is {{bar}}); tmp({foo: Yehuda, bar: jQuery}) #= My name is Yehuda

[jQuery] Re: How to check multiple checkboxes checked at a time

2007-08-18 Thread Pops
On Aug 18, 4:28 pm, Potluri [EMAIL PROTECTED] wrote: Is there a way to check like $(#id1,#id2,#id3).attr(checked); should return true if all of them is checked. I believe another possible idiom would be: fResult = #('[EMAIL PROTECTED]@[EMAIL PROTECTED]:checked').length == 3; and also is

[jQuery] Re: [PLUGIN] Templater

2007-08-18 Thread Matt Stith
Sweet, i needed something like this about a week ago, ended up writing my own :-/ Cool anyways! nice job! On 8/18/07, Yehuda Katz [EMAIL PROTECTED] wrote: Hi guys, I have just committed a new plugin to the trunk. It's a simple templater that allows you to create templates that get

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Pops
On Aug 18, 7:17 pm, John Resig [EMAIL PROTECTED] wrote: Right, that's because you're not supposed to pass in a string, you pass in an options block. If you pass in a string it splits the string up by character, which is not what you want. Ok. I just tried it. console.log($.param({k1:'v1',

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Pops
On Aug 18, 7:19 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 19, 12:55 am, Pops [EMAIL PROTECTED] wrote: What was you sending? i wasn't sending anything - h, ok, but that should keep with GET if you are not passing parameters.? No? Apache can be configured to allow/disallow POST

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Pops
On Aug 18, 7:28 pm, Stephan Beal [EMAIL PROTECTED] wrote: http://docs.jquery.com/Ajax#load.28_url.2C_params.2C_callback_.29 .. In that usage, the params object is indeed an object/map. The problem with that example is that it uses an HTML file as the target, whereas (as mentioned in my

[jQuery] scrollable html table plugin

2007-08-18 Thread David
I have a question: scrollable html table are now vertical(scrollbar); Can be horizontal (scrollbar)?

[jQuery] [jqModal] - r11 release, improvements.

2007-08-18 Thread Brice Burgess
Ladies and Gentleman, A few hundred bytes were added to the jqModal plugin to aid those struggling with z-Index container stacking issues. Namely; there's now a shortcut** to overcome the overlay covers everything, including the dialog! issues. Other improvements include a fault-tolerant focus

[jQuery] Plugin for uploading multiple files/directories?

2007-08-18 Thread Steve Finkelstein
Hi all, I'm looking to allow a user to upload mutliple files or even better, an entire directory worth of files. Adding a progress bar for the batch or single file upload would be ideal. What's my best bet for doing this? Thanks. - sf

[jQuery] .load path problems

2007-08-18 Thread shakerman
Hi folks This is the basic loadContent function function loadContent() { $(#myContent).load(mypage.php); } This works fine if I'm in the root of my website: domain.com/page.php however I have several rewritten urls (mod rewrite) on the site with paths such as: domain.com/folder1/page.php

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-18 Thread Kyle
I just wanted to comment on something that seemed really out of place, though the openness of the community has already been addressed. People who are unwilling to become comfortable with the language they're working in (e.g., by using its available features, such as anonymous functions)

[jQuery] Proper use of the hoverIntent plug-in?

2007-08-18 Thread Spencer
I'm trying to use the hoverIntent plugin with jQuery, but I don't fully understand how it works and was hoping someone could help me out with a few issues I'm having. The page I'm working on is at http://schollsferryauto.com , the two buttons in the upper right corner of the page which are Hours

[jQuery] File upload plugin available?

2007-08-18 Thread Steve Finkelstein
Hi all, I'm looking for an elegant and visual appealing file upload plugin. I don't need any stunning effects, just something appealing to the eye, and can allow a user to upload an image or directory on their local system. Can anyone recommend such a utility with jquery? Thank you all! - sf

[jQuery] [jqModal] - r11 release, improvements.

2007-08-18 Thread Brice Burgess
Ladies and Gentleman, A few hundred bytes were added to the jqModal plugin to aid those struggling with z-Index container stacking issues. Namely; there's now a shortcut** to overcome the overlay covers everything, including the dialog! issues. Other improvements include a fault-tolerant focus

[jQuery] ASP.NET IDs

2007-08-18 Thread [EMAIL PROTECTED]
I have two small questions, if anybody can help: 1. This was recently published concerning .NET: if you have an element that has runat=server attribute you cannot call it directly as #loginForm because asp.net rewrites the id to something different just doa view source on your aspx page and

[jQuery] AJAX and jQuery-Partail Data retrieval

2007-08-18 Thread Outlines
Hey everyone, I have successfully integrated jquery(AJAX) into an mmorpg website, i am facing one problem that i cannot understand. Whenever in chat/message boards, i use a filter file to create image smilies, and filter words. Now when i dont include this file, everything works ok, but

[jQuery] Re: [PLUGIN] Templater

2007-08-18 Thread Sean Catchpole
Pretty cool Yehuda, I'll have to give it a shot so I can give ya some feedback. ~Sean

[jQuery] .blur() not doing it's job

2007-08-18 Thread Angelo Gladding
Hey all, I'm trying to blur (remove focus from) a link. Non-working code: $('#tags_clear').blur(); Working code: document.getElementById('tags_clear').blur(); Is there something glaringly obvious I'm missing here? Thanks, Angelo -- Angelo Gladding [EMAIL PROTECTED] http://angelogladding.com

[jQuery] Re: .blur() not doing it's job

2007-08-18 Thread John Resig
Nope, that should work - do you have a page with this code on it? --John On 8/18/07, Angelo Gladding [EMAIL PROTECTED] wrote: Hey all, I'm trying to blur (remove focus from) a link. Non-working code: $('#tags_clear').blur(); Working code: document.getElementById('tags_clear').blur();

[jQuery] Re: .blur() not doing it's job

2007-08-18 Thread Brandon Aaron
I believe this is fixed in SVN (Revision 2529). While you are waiting for 1.1.4, you can do it this way: $('#tags_clear')[0].blur(); -- Brandon Aaron On 8/18/07, John Resig [EMAIL PROTECTED] wrote: Nope, that should work - do you have a page with this code on it? --John On 8/18/07,

[jQuery] Re: .blur() not doing it's job

2007-08-18 Thread Angelo Gladding
Thanks Brandon that fixed it for the temporary. I had a feeling it was something like that from the docs. On 8/18/07, Brandon Aaron [EMAIL PROTECTED] wrote: I believe this is fixed in SVN (Revision 2529). While you are waiting for 1.1.4, you can do it this way: $('#tags_clear')[0].blur();

[jQuery] Avoiding invalid markup

2007-08-18 Thread Kyle
$(this).hide().parent().prepend(img class='ajax-loader' src='ajax- loader.gif' height='14px' style='padding-left:7px;' alt='loading...'/ ); This, obviously, is in the head tag. However, when I run it through the validator, it is returning an error: document type does not allow element img here

[jQuery] Re: ASP.NET IDs

2007-08-18 Thread Josh Bush
The easiest way around the asp.net control id rewriting is something like this: var $myControl=$(#%=MyControl.ClientID%); When that page is generated, the server will substitute in the real ID of the control it has generated. On Aug 18, 3:29 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I

[jQuery] Re: Avoiding invalid markup

2007-08-18 Thread Kyle
Code should read: $(this).hide().parent().prepend(img class='ajax-loader' src='ajax- loader.gif' height='14px' style='padding-left:7px;' alt='loading...'/ );

[jQuery] Re: stop animation

2007-08-18 Thread Ganeshji Marwaha
John, i now completely get what u mean... This is actually not stopping animation ;-). :-( we will wait for jquery 1.2 in the meantime... Thanks for letting us know. -GTG On 8/18/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Ok, there is no way i can oppose that. You are an authority in what

[jQuery] Re: Round button... ?!

2007-08-18 Thread [EMAIL PROTECTED]
try this... http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html On Aug 17, 5:20 pm, Tobias Parent [EMAIL PROTECTED] wrote: Hey, all - I'm trying to create an UNOBTRUSIVE JAVASCRIPT routine to replace links in a navigation menu with button graphics. All good, so