[jQuery] Re: validate plugin + form plugin + thickbox

2007-05-18 Thread Mandy Singh
It should probably be fixed at the plugin level, ie, if a field is hidden don't try to focus it. was wrking in FF but not in IE (I am on IE 7). On 5/18/07, Mandy Singh [EMAIL PROTECTED] wrote: In the validate(map) using focusInvalid: false, does the trick. On 5/18/07, Mandy Singh [EMAIL

[jQuery] Re: validate plugin + form plugin + thickbox

2007-05-18 Thread Mandy Singh
In the validate(map) using focusInvalid: false, does the trick. On 5/18/07, Mandy Singh [EMAIL PROTECTED] wrote: I too have experienced an issue when a form field is hidden cos its populated by some other script on the page (on some user action) like for eg, selecting something from a custom

[jQuery] Re: question about a javascript syntax

2007-05-18 Thread Ⓙⓐⓚⓔ
You'll find it everywhere! the first is a closure, it allows 'some code' to have real local variables the second is a closure with the added benefit that $ can be used for jQuery. It's used in plugins just to make sure $ is really jQuery's $ and not the $ from another library. there are lots of

[jQuery] Re: question about a javascript syntax

2007-05-18 Thread Erik Beeson
Imagine this: var sayHello = function(name) { alert('Hello, ' + name); } sayHello('World'); If we don't need to call sayHello more than once, we could make the function anonymous (not give it a name) and call it directly by replacing sayHello in the second line with the function... part from

[jQuery] jquery.us

2007-05-18 Thread george.gsgd
Has anyone seen this: http://jquery[dot]us (not linked so as not to aid their efforts) Obviously someone trying to cash in with google ads and spammy keyword stuffing. But I got a hit in my referers so they must be doing something right (even though that's so wrong).

[jQuery] Re: question about a javascript syntax

2007-05-18 Thread Guapo
Jack,thank u for your reply! Eric,your explaination is great! very helpful to me! Thank u again! God bless you!

[jQuery] Re: jquery.us

2007-05-18 Thread John Resig
Well, that's just weird; definitely trying to make $ with adwords. This is the type of thing that you can ban a site for. Here's what everyone can do: 1) Go to the site and click Ads by Google in the Adsense block. 2) Click the Send Google your thoughts on the site or the ads you just saw link

[jQuery] Re: Autocomplete plugin

2007-05-18 Thread Jose
On 5/18/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi Brian and Shelane, the quietness isn't really a bad thing. Most of the stuff that we got requests for has been implemented. And those that come in more slowly give us the foundation for further improvments that need more time. In the

[jQuery] Re: No action on change

2007-05-18 Thread Creazion
Hi Diego, thank you for the help. The link gave me the right idea to solve my problem. First I've to say that I use dhtmlgoodies_calendar instead of datepicker. I put the following code into the dhtmlgoodies_calendar.js: $(returnDateTo).trigger('blur'); near the line:

[jQuery] How can I exclude an object easyly?

2007-05-18 Thread Drifter
I'm a beginner of jQuery developement I can't find any easy-defined method that can return the object group excluding an object In detail, When I right clicked on a document I want to apply an object with custom contextMenu1 and I also want to apply the other objects with cumtom

[jQuery] Re: kelvinluck - date-picker V2

2007-05-18 Thread Vincent Majer
Thanks, It's now working.. With linked selects, and holidays indicated.. very great script ! saved my life ! Thanks kelvin, i'll send the url to the list, when the site will be online ! jquery all the ways.. :-) Kelvin Luck a écrit : Vincent Majer wrote: In fact, the code on your

[jQuery] Re: $(document).ready fires endlessly in firefox, opera

2007-05-18 Thread Erik Beeson
I've never heard of that happening. Could you provide a test page that shows the problem? --Erik On 5/18/07, Gordon [EMAIL PROTECTED] wrote: The title pretty much says it all. I can't find for sure what's causing it but I suspect that other scripts that mine has to work alongside are

[jQuery] Re: jquery.us

2007-05-18 Thread Giuliano Marcangelo
done On 18/05/07, John Resig [EMAIL PROTECTED] wrote: Well, that's just weird; definitely trying to make $ with adwords. This is the type of thing that you can ban a site for. Here's what everyone can do: 1) Go to the site and click Ads by Google in the Adsense block. 2) Click the Send

[jQuery] BBCode Buttons with jQuery.

2007-05-18 Thread Ruben S.
Is there a way to make BBCode buttons like for example phpBB forums ? I mean, when you select a piece of text in a TEXTAREA with the mouse and click on B button the result is : [b]selected text[/b] or any other bbcode tag. Thanx in advance!!

[jQuery] Re: jquery.us

2007-05-18 Thread Gordon
Submitted a report On May 18, 8:03 am, george.gsgd [EMAIL PROTECTED] wrote: Has anyone seen this: http://jquery[dot]us (not linked so as not to aid their efforts) Obviously someone trying to cash in with google ads and spammy keyword stuffing. But I got a hit in my referers so they must be

[jQuery] $(document).ready fires endlessly in firefox, opera

2007-05-18 Thread Gordon
The title pretty much says it all. I can't find for sure what's causing it but I suspect that other scripts that mine has to work alongside are causing this problem. Interestingly it doesn't happen in IE, but what does happen is that various effects and functions that are supposed to run on

[jQuery] Re: jquery.us

2007-05-18 Thread Alexandre Plennevaux
It seems they have leeched the html of the original jquery.com code. there are no more google ads. That was quick! Do you think there is any correlation to the hacking and now this attempt at stealing jquery ? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]

[jQuery] Re: jquery.us

2007-05-18 Thread Erik Beeson
I still see google ads... --Erik On 5/18/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: It seems they have leeched the html of the original jquery.com code. there are no more google ads. That was quick! Do you think there is any correlation to the hacking and now this attempt at

[jQuery] Re: jquery.us

2007-05-18 Thread Alexandre Plennevaux
Indeed, i had adblocks activated. Just sent my report -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: vendredi 18 mai 2007 11:19 To: jquery-en@googlegroups.com Subject: [jQuery] Re: jquery.us I still see google ads...

[jQuery] Re: history plugin examples

2007-05-18 Thread Sam Collett
I have a test page on using it in a way other than for AJAX: http://www.texotela.co.uk/sandbox/historytest/ However, it does not seem to go back properly in IE (you may have to go back twice instead of once to get to the previous page). On May 17, 7:20 pm, Benjamin Sterling [EMAIL PROTECTED]

[jQuery] Re: jquery.us

2007-05-18 Thread Toby
Google ad's are still at the top of the page for me, just followed John's process with them :¬) I don’t know why people waste their time doing crap like this, must be some sad existence... really... -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

[jQuery] Re: $(document).ready fires endlessly in firefox, opera

2007-05-18 Thread Rob Desbois
Have you tried tracing through the scripts or printing a stack trace with Firebug to find out what is calling the function? --rob On 5/18/07, Gordon [EMAIL PROTECTED] wrote: Wish I could but the information I'm allowed to divulge is fairly limited, I'm working under ND agreements. But surely

[jQuery] Re: BBCode Buttons with jQuery.

2007-05-18 Thread Yansky
I wrote a greasemonkey script that adds BBCode-ish buttons and a text box to a forum: http://userscripts.org/scripts/source/9061 It might give you some ideas as to how to implement it on your site. Here's a screenshot of what it looks like in action:

[jQuery] Re: $(document).ready fires endlessly in firefox, opera

2007-05-18 Thread Gordon
I'm looking at firebug now, trying to figure out how it works. On May 18, 11:30 am, Rob Desbois [EMAIL PROTECTED] wrote: Have you tried tracing through the scripts or printing a stack trace with Firebug to find out what is calling the function? --rob On 5/18/07, Gordon [EMAIL PROTECTED]

[jQuery] Compatibility (jQ + Libraries) + (Prototype + Libraries)

2007-05-18 Thread DaveG
According to the Compatibility page (http://docs.jquery.com/Using_jQuery_with_Other_Libraries) it's possible to redefine $ to something else to avoid conflicts with Prototype. Thus all your jQ code will now use myjQ. prefix rather than $. How will this work if you're also using jQ

[jQuery] Re: Compatibility (jQ + Libraries) + (Prototype + Libraries)

2007-05-18 Thread Erik Beeson
jQuery plugins are designed to deal with this situation. See this section of the plugin authoring page: http://docs.jquery.com/Plugins/Authoring#Custom_Alias_in_plugin_code Also, this this thread from earlier this evening:

[jQuery] New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
Hello, I've got a new plugin for jQuery. It's a simple data model, useful for implementing a client-side MVC pattern. The data model is a simple javascript object/array hiearchy. The plugin provides methods for binding parts of the model to DOM elements and/or functions - so that when the value

[jQuery] Re: Disabling Tooltips + Tooltip Text

2007-05-18 Thread Jörn Zaefferer
DaveG wrote: A global switch/method to turn tooltips on/off, or a method on the jQuery object you used to apply the tooltip? Either this: $.Tooltip.on(); $.Tooltip.off(); This would be better for me as I then don't have to track all the tips. I simply need a way to turn on/off all tips.

[jQuery] Re: jquery.us

2007-05-18 Thread Christopher Jordan
done = done + 1; John Resig wrote: Well, that's just weird; definitely trying to make $ with adwords. This is the type of thing that you can ban a site for. Here's what everyone can do: 1) Go to the site and click Ads by Google in the Adsense block. 2) Click the Send Google your thoughts on

[jQuery] Re: question about a javascript syntax

2007-05-18 Thread Dmitrii 'Mamut' Dimandt
Look at this article: http://www.hunlock.com/blogs/Functional_Javascript It explains a lot of things about functions including your question I found Jörn Zaefferer's jQuery plugin authoring guide at http://bassistance.de/2006/12/27/jquery-plugin-authoring-guide/, there i found javascript

[jQuery] Re: jquery.us

2007-05-18 Thread Brandon Aaron
Totally lame. Reported. -- Brandon Aaron On 5/18/07, george.gsgd [EMAIL PROTECTED] wrote: Has anyone seen this: http://jquery[dot]us (not linked so as not to aid their efforts) Obviously someone trying to cash in with google ads and spammy keyword stuffing. But I got a hit in my referers

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Karl Swedberg
On May 18, 2007, at 9:57 AM, Michael Price wrote: Try: if ($(#your_id_here).length 1) { // CODE TO EXECUTE } I don't think that will work, because jQuery will only ever match zero or one element by id using the # id selector. --Karl _ Karl Swedberg

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Brandon Aaron
I like that! In addition to what Jörn said I would suggest using the $.model namespace for all your other properties and methods. So $.modelOptions would then become $.model.options. This will cut down on the jQuery global namespace clutter. Again, nice work! -- Brandon Aaron On 5/18/07,

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Michael Price
No, that won't work. And ID-selector returns always zero or one elements. But you can use this: $([EMAIL PROTECTED]).size() 1 Fair enough, I learn something new every day :) I just assumed (bad idea) it would work, I was coding off the top of my head, so to speak. Regards, Michael Price

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Karl Swedberg
You could try this: if ($('[EMAIL PROTECTED]').length == 2) { // do something ? } That selector will probably be a little slow, though, depending on the complexity of the DOM, because it has to crawl through every single element. if you can narrow it down to within a certain div, that

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Klaus Hartl
Michael Price wrote: [EMAIL PROTECTED] wrote: Hi, How can I use JQuery to discover if a particular ID occurs twice in my page? I can't use View Source' because the DOM is changing as the user interacts with the page. Try: if ($(#your_id_here).length 1) { // CODE TO EXECUTE } This

[jQuery] Re: jquery.us

2007-05-18 Thread Jake McGraw
wonder what it's looking like on his/her side, done. On 5/18/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: John Resig wrote: We'll have this guy banned in no time. Hopefully. I also had to disable Adblock first... -- Jörn Zaefferer http://bassistance.de

[jQuery] KelvinLuck - DatePicker V2 - another question..

2007-05-18 Thread Vincent Majer
hi, All is now working well.. But i would like to specify a range of dates to appears different .. yet, i use this code : var Holidays = {}; Holidays['d' + ((new Date(2007, 9, 27)).getTime())] = 'Toussaint'; Holidays['d' + ((new Date(2007, 9, 28)).getTime())] = 'Toussaint'; Holidays['d' +

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Jörn Zaefferer
Mark Gibson wrote: Hello, I've got a new plugin for jQuery. It's a simple data model, useful for implementing a client-side MVC pattern. The data model is a simple javascript object/array hiearchy. The plugin provides methods for binding parts of the model to DOM elements and/or functions - so

[jQuery] Re: jquery.us

2007-05-18 Thread Jörn Zaefferer
John Resig wrote: We'll have this guy banned in no time. Hopefully. I also had to disable Adblock first... -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: Autocomplete plugin

2007-05-18 Thread Jörn Zaefferer
Shelane Enos wrote: I can't find the message that contained the link to the most current version. Can you send that again (I see the one on your website isn't the most up-to-date). Are you looking for this? http://dev.jquery.com/browser/trunk/plugins/autocomplete/ -- Jörn Zaefferer

[jQuery] Re: validate plugin + form plugin + thickbox

2007-05-18 Thread Jörn Zaefferer
Mandy Singh wrote: Another observation: Including the validate plugins packed version throws an error in IE6 but works fine in IE7 and FF. using the min version works fine everywhere. I have included the pack version of jquery before including the validate plugin. Any thoughts or

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Michael Price
[EMAIL PROTECTED] wrote: Hi, How can I use JQuery to discover if a particular ID occurs twice in my page? I can't use View Source' because the DOM is changing as the user interacts with the page. Try: if ($(#your_id_here).length 1) { // CODE TO EXECUTE } This should fire the code if

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Jörn Zaefferer
Michael Price wrote: [EMAIL PROTECTED] wrote: Hi, How can I use JQuery to discover if a particular ID occurs twice in my page? I can't use View Source' because the DOM is changing as the user interacts with the page. Try: if ($(#your_id_here).length 1) { // CODE TO EXECUTE } No,

[jQuery] Re: question about a javascript syntax

2007-05-18 Thread Jake McGraw
Wonderfully in-depth and thorough answer, I really have to reread my JS books. - jake On 5/18/07, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote: Look at this article: http://www.hunlock.com/blogs/Functional_Javascript It explains a lot of things about functions including your question

[jQuery] Radio button .click() difficulty

2007-05-18 Thread SamCKayak
Here's a prototype of a quiz form... http://trainthetrainers.net/test.htm I've run into a problem with the .check() function with radio buttons... On all the quiz choices, clicking anywhere on the question EXCEPT THE RADIO BUTTON, will dynamically check the radio button. Clicking on the radio

[jQuery] Question about scroll in dimensions plugin

2007-05-18 Thread Wizzud
The description of the usage of the scroll option is that it controls whether or not the scroll offsets of the parent elements should be included in the calculation of an element's offset. With reference to the http://dev.jquery.com/~brandon/plugins/dimensions/test/offset.html visual test

[jQuery] Re: jquery.us

2007-05-18 Thread Aaron Heimlich
jQuery(aaron).reportMoron(); On 5/18/07, John Resig [EMAIL PROTECTED] wrote: Well, that's just weird; definitely trying to make $ with adwords. This is the type of thing that you can ban a site for. Here's what everyone can do: 1) Go to the site and click Ads by Google in the Adsense block.

[jQuery] Funky jquery recursion ...

2007-05-18 Thread ZebZiggle
Hey all! I'm working on a comments section for my project and it goes like this: 1. The user clicks comments and I ajax-load the comment contents ... which contains the form for submitting the comment. 2. I want to use ajaxForm to submit the new comment and refresh the comments section. The

[jQuery] Issue building an AJAX form with the Form plug-in - can you post to a page on sub-domain?

2007-05-18 Thread Enayet
I build an AJAX form that uses the default Form plug-in. The form resides on an XXX.myserver.com and it's posting to an action page on YYY.myserver.com. When I test the page and submit the form, I get directed to the action page. If I put the action page on XXX.myserver.com and change the code to

[jQuery] show/hide revisited

2007-05-18 Thread Schnuck
i can imagine that most people here cant see this topic anymore but however help is needed. i have this bit of code here (and god knows how old, unstylish and inefficient the code below might be) and all i am trying is to make one or two particular divs with set ids/classes to show and hide

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread wls
You're correct. IE is caching GETs. The work around is to make a unique GET (e.g., all the date/time bogus parameters) or to use POST instead. See http://www.wwco.com/~wls/blog/2007/04/12/an-advanced-crash-course-in-ajax/ -wls

[jQuery] Re: Funky jquery recursion ...

2007-05-18 Thread ZebZiggle
Sorry, I mean script type=text/javascript alert('hello'); $('#commentForm').ajaxForm(function() { showComments(212); }); /script

[jQuery] Re: KelvinLuck - DatePicker V2 - another question..

2007-05-18 Thread Sam Collett
You could try using a loop: var Holidays = {} var startDate = new Date(2007, 9, 27), endDate = new Date(2007, 10, 8); for(var d = startDate; d = endDate; d = (new Date(startDate.setDate(startDate.getDate() + 1 { Holidays['d' + d.getTime()] = 'Toussaint'; } On May 18, 2:51 pm,

[jQuery] Re: KelvinLuck - DatePicker V2 - another question..

2007-05-18 Thread Vincent Majer
Thanks, i'll try that ! Sam Collett a écrit : You could try using a loop: var Holidays = {} var startDate = new Date(2007, 9, 27), endDate = new Date(2007, 10, 8); for(var d = startDate; d = endDate; d = (new Date(startDate.setDate(startDate.getDate() + 1 { Holidays['d' +

[jQuery] Re: How can I exclude an object easyly?

2007-05-18 Thread Glen Lipka
There is a context menu plugin which might be good for you. http://www.trendskitchens.co.nz/jquery/contextmenu/ On a simple level however, you can exclude in various ways. One way (from jquery.com/api) Example: Removes all elements that match div p.selected from the total set of all paragraphs.

[jQuery] Re: Next / Previous Links

2007-05-18 Thread Bradley Holloway
Hey Sean, Thanks again man! Just to make sureI put this in the head of my document and then add #nextLink to the Next link like this: a href=# id=nextLinkNext/a and the #prevLink to the Previous link like this: a href=# id=prevLinkPrevious/a Right? Thanks, Brad - Original Message

[jQuery] OT: Weird IE display issue

2007-05-18 Thread litzinger
I'm experiencing a weird IE display issue that isn't really JavaScript or JQuery related (but I've tried JS to fix it, though it never worked). Its hard to explain, so I made a video of it, and the link to the page is below... http://brianlitzinger.com/dropbox/IEsucks2.mov

[jQuery] Re: multiple AJAX requests

2007-05-18 Thread bleen
nevermind... I was reusing a variable

[jQuery] $().width and IE

2007-05-18 Thread Gordon
I'm having a little trouble with the width function of jQuery and IE, I suspect that what I've run into is an IE bug rather than a jQuery one, but it's annoying nonetheless and I'd like some advice for a fix. My problem is that I need to create an effect where elements inside a containing

[jQuery] multiple AJAX requests

2007-05-18 Thread bleen
I have a page with 2 AJAX requests that happen on document.ready... here's what happens: request1 goes out request2 goes out request2 receives response intended for request1 response comes in from request2, but does not get handled What do I do about this? -- Alex

[jQuery] multiple AJAX requests

2007-05-18 Thread bleen
I have a page with 2 AJAX requests that happen on document.ready... here's what happens: request1 goes out request2 goes out request2 receives response intended for request1 response comes in from request2, but does not get handled What do I do about this? -- Alex

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
I've renamed the plugin to MVC (jquery.mvc.js) as I think it really falls more into the Controller part of MVC pattern. It makes it's purpose clearer, and avoids confusion with the term modal! New links: http://jollytoad.googlepages.com/mvc-demo.html

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
On May 18, 2:47 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Thats quite interesting stuff. Some things of my mind: Use the metadata plugin to specify and read metadata. It would be nice if the textarea with the serialized model data could be edited. Once you change something, the form is

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Wizzud
You're right about more demos. On your current demo, click one checkbox and both get set/unset. But even more interesting is that in Firefox, if you click to the left or right of the checkboxes, they get triggered - even if you're right across the other side of the page! Seems to be triggering

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Ⓙⓐⓚⓔ
What if you don't care if its cached, or would actually like it to be cached? GET is GET, and POST is POST I think it would be nice if firefox safari cached my GETs POST is so much better for passing parameters... they don't get logged in the apache logs and you don't have length limits.

[jQuery] JavaScript not working within page brought up by clicking AJAX tab.

2007-05-18 Thread Rex
I am unable to use JavaScript within a page brought up when I click an AJAX tab. The AJAX tab script I'm using came from here: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ For right now, the page being called has only a simple alert(); command inside. When I go to this page

[jQuery] Re: jquery.us

2007-05-18 Thread Chris W. Parker
On Friday, May 18, 2007 9:48 AM Chris W. Parker said: On Friday, May 18, 2007 12:37 AM John Resig said: Here's what everyone can do: 1) Go to the site and click Ads by Google in the Adsense block. 2) Click the Send Google your thoughts on the site or the ads you just saw link on the

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
On May 18, 3:12 pm, Brandon Aaron [EMAIL PROTECTED] wrote: I like that! In addition to what Jörn said I would suggest using the $.model namespace for all your other properties and methods. So $.modelOptions would then become $.model.options. This will cut down on the jQuery global namespace

[jQuery] Re: $().width and IE

2007-05-18 Thread Diego A.
Use the dimensions plugin: http://dev.jquery.com/browser/trunk/plugins/dimensions?rev=1798 On May 18, 5:18 pm, Gordon [EMAIL PROTECTED] wrote: I'm having a little trouble with the width function of jQuery and IE, I suspect that what I've run into is an IE bug rather than a jQuery one, but

[jQuery] Re: JQuery Powered Site- Just Launched- AskSolvers.com

2007-05-18 Thread Chris W. Parker
On Thursday, May 17, 2007 4:41 PM Michael E. Carluen said: I just launched a new jQuery powered site- http://asksolvers.com http://asksolvers.com/ . It is still pretty new, and still in the process of publicly promoting the site... comments and suggestions welcome. Those are some

[jQuery] Re: jquery.us

2007-05-18 Thread Chris W. Parker
On Friday, May 18, 2007 12:37 AM John Resig said: Here's what everyone can do: 1) Go to the site and click Ads by Google in the Adsense block. 2) Click the Send Google your thoughts on the site or the ads you just saw link on the subsequent page. 3) Check The site is hosting/distributing

[jQuery] Re: jquery.us

2007-05-18 Thread Erik Beeson
I just put something like: The contents of this site are copied from http://jquery.com/ without permission. --Erik On 5/18/07, Chris W. Parker [EMAIL PROTECTED] wrote: On Friday, May 18, 2007 9:48 AM Chris W. Parker said: On Friday, May 18, 2007 12:37 AM John Resig said: Here's what

[jQuery] Re: datePicker v2 beta

2007-05-18 Thread tlphipps
Another issue I've uncovered is related to the :hover effects. In your original date picker you were obviously using as because the hover effect worked correctly in IE. However, hovering doesn't work in v2 because of IE's quirkiness. Anybody have any input on how to get the :hover effect back

[jQuery] Re: jquery.us

2007-05-18 Thread Ⓙⓐⓚⓔ
I wonder what godaddy would say? whois jquery.us Domain Name: JQUERY.US Domain ID: D12359895-US Sponsoring Registrar:GO DADDY SOFTWARE, INC. Domain Status:

[jQuery] Re: Next / Previous Links

2007-05-18 Thread Sean Catchpole
Yup, you go it! ~Sean

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Bil Corry
stylo~ wrote on 5/17/2007 10:11 PM: You MUST add a variable to the url: + new Date().getTime(); I setup a simple test with three AJAX calls using load. One loads a page without any no-cache directives, one loads a page with no-cache directives and one loads a page by using an unique url

[jQuery] Re: datePicker v2 beta

2007-05-18 Thread tlphipps
Sorry, one more thing. I can't get a clean compressed/packed version of v2. Has anybody else had any luck packing this? On May 8, 6:46 pm, Will [EMAIL PROTECTED] wrote: Overall, I think the new date picker and jquery are really awesome! I do have one comment though. I find the date parsing

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Bil Corry
Ⓙⓐⓚⓔ wrote on 5/18/2007 10:41 AM: looks like you got the headers perfect! What is a Lasso/8? Lasso is the middleware language I use (similar to PHP): http://www.lassosoft.com/ At a recent developer conference, jQuery was presented and made a believer out of many of us, so expect

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread stylo~
What if you don't care if its cached, or would actually like it to be cached? If you refer to my post, I suggested an option to not cache, so would be cached if not specified, as it should be. Trust me (or trust google), headers won't always work even if you got ie7 to behave. The url trick is

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Ⓙⓐⓚⓔ
wow! it does! load: function( url, params, callback, ifModified ) { if ( jQuery.isFunction( url ) ) return this.bind(load, url); callback = callback || function(){}; // Default to a GET request var type = GET; // If the second parameter was

[jQuery] Using jQuery to select text

2007-05-18 Thread S. Robert James
I'd like to prefill a text box in a form with a typical value, but select the text, so that if the user begins typing, the prefilled text is overwritten, wihtout him having to erase it. (Just like the location bar in my browser - if I click on it, the text becomes selected, so that one key

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Brian Cherne
It's not documented (as far as I can tell) but if you send a params object to .load() it should be sent via the POST method. I'm looking at the unpacked source of jQuery 1.1.1... load: starts on line 1842 and the GET/POST condition starts on line 1849. Brian. On 5/18/07, Shelane [EMAIL

[jQuery] Re: datePicker v2 beta

2007-05-18 Thread tlphipps
Thanks Karl. I've come up with code that will do what I need based on your link, but I can't figure out where it needs to be placed in the datepicker code in order to fire at the correct time (when the calendar pops up). On May 18, 12:38 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On May 18,

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Dan G. Switzer, II
Bil, You MUST add a variable to the url: + new Date().getTime(); I setup a simple test with three AJAX calls using load. One loads a page without any no-cache directives, one loads a page with no-cache directives and one loads a page by using an unique url (appends the time to the url). If

[jQuery] Re: datePicker v2 beta

2007-05-18 Thread Karl Swedberg
On May 18, 2007, at 1:09 PM, tlphipps wrote: Anybody have any input on how to get the :hover effect back in IE with v2? Not sure about the datePicker v2 in particular, but this blog entry discusses the the topic in more general terms:

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Ⓙⓐⓚⓔ
looks like you got the headers perfect! What is a Lasso/8? ServerLasso/8Mime-Version1.0Content-Typetext/html; charset=UTF-8Expires-1 Last-ModifiedFri, 18 May 2007 17:39:42 GMTCache-Controlno-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0Pragma

[jQuery] Re: jquery.us

2007-05-18 Thread abba bryant
done = done++; george.gsgd wrote: Has anyone seen this: http://jquery[dot]us (not linked so as not to aid their efforts) Obviously someone trying to cash in with google ads and spammy keyword stuffing. But I got a hit in my referers so they must be doing something right (even

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread [EMAIL PROTECTED]
Just wanted to get consensus, will this work if ($('[EMAIL PROTECTED]').length == 2) { // do something ? } ? Thanks, - Dave On May 18, 9:07 am, Karl Swedberg [EMAIL PROTECTED] wrote: You could try this: if ($('[EMAIL PROTECTED]').length == 2) { // do something ? } That

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Shelane Enos
Yep, Jason Huck did an awesome presentation at the Lasso Summit http://www.corefive.com/Lasso_and_jQuery/ and that's why I'm here in this jQuery community now. On 5/18/07 10:55 AM, Bil Corry [EMAIL PROTECTED] wrote: ?ⓐⓚⓔ wrote on 5/18/2007 10:41 AM: looks like you got the headers perfect!

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Bil Corry
Dan G. Switzer, II wrote on 5/18/2007 10:57 AM: One thing to remember is to check your browser's cache settings. I always have mine set to check for newer version with every visit. That said, I just turned IE6 to Automatic and got the following: Button #1: Cached Button #2: Not Cached Button

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Karl Swedberg
Who needs consensus? All we need is a test :-) : http://test.learningjquery.com/multipleid.html --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 18, 2007, at 2:01 PM, [EMAIL PROTECTED] wrote: Just wanted to get consensus, will this work if

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Michael Geary
From: [EMAIL PROTECTED] How can I use JQuery to discover if a particular ID occurs twice in my page? I can't use View Source' because the DOM is changing as the user interacts with the page. Reading between the lines here, it sounds like you don't have the View Source Chart plugin for

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread Bil Corry
Bil Corry wrote on 5/18/2007 11:16 AM: So it might be possible to enable caching in FF with the headers, something to play with I guess. It is possible, at least in IE7 and FF2, to have it cache the AJAX call via the Expires header. The demo is the last button:

[jQuery] Re: datePicker v2: setStartDate() is not a function?

2007-05-18 Thread Jean Nascimento
Even pass in parameters is right =/ i´m with same problem for that i still have the old version lol On 5/18/07, Chris W. Parker [EMAIL PROTECTED] wrote: Hello, I'm trying to implement datePicker v2 but Firebug says $('#date').setStartDate is not a function. I must be missing something simple

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Karl Swedberg
On May 18, 2007, at 2:32 PM, Michael Geary wrote: Even if the jQuery code previously posted does the trick, every web developer should have this extension, so go get it now: http://jennifermadden.com/scripts/ViewRenderedSource.html Now you can locate the duplicate ID by selecting View Source

[jQuery] Re: JQuery Powered Site- Just Launched- AskSolvers.com

2007-05-18 Thread Michael E. Carluen
Yeah... some 20 something odd years ago that is. There's nothing like putting your young to work early- their college ain't cheap, eh. It's all fun getting the kids involved in projects, you should try it. Happy Friday to you Chris. -Original Message- From:

[jQuery] Re: IE Caching AJAX calls

2007-05-18 Thread [EMAIL PROTECTED]
Just a word to the wise, but Expires: -1 will trip up some proxies. HTTP/1.1 clients are supposed to treat invalid date formats as being in the past -- but they don't always get it right. It is safer to use an actual date: Expires: Thu, 01 Dec 1994 16:00:00 GMT On May 17, 2:04 pm, Bil

[jQuery] datePicker v2: setStartDate() is not a function?

2007-05-18 Thread Chris W. Parker
Hello, I'm trying to implement datePicker v2 but Firebug says $('#date').setStartDate is not a function. I must be missing something simple because I can click calendar and have the calendar appear. So it works, just not completely. Any ideas where I'm going wrong? Relevant code is at the end.

[jQuery] CSS background image not changing using toggleClass

2007-05-18 Thread [EMAIL PROTECTED]
I have an FAQ page that shows and hides information when a question is clicked. I'm trying to replace the background image of the toggled question. What happens is that I can see that the class that has the changed background specified is getting added to the html, however, the background image

  1   2   >