[jQuery] Re: Using setTimeout()

2007-09-03 Thread barophobia
On 9/2/07, Michael Geary [EMAIL PROTECTED] wrote: Is that the wrong progression? Yes. You left out the setTimeout, which is never canceled. (And step 4 doesn't happen either - nobody cancels the ajaxStart - that function has already been called.) Assume the AJAX request takes 75

[jQuery] Re: Using setTimeout()

2007-09-02 Thread barophobia
On 9/1/07, Michael Geary [EMAIL PROTECTED] wrote: Also, it looks like you have a race condition. What happens if the entire AJAX request completes in less than 100 milliseconds? I assumed that $.ajaxStart() would be canceled and $.ajaxStop() would execute. I looked over your code but I don't

[jQuery] Using setTimeout()

2007-09-01 Thread barophobia
Hello, I'm trying to delay the appearance of $.ajaxStart() using setTimeout() but I've been unable to get it to work. I've used it once before in something else and I'm basically just trying to copy that for $.ajaxStart(). http://www.pastebin.ca/678318 When I run that code I get t has no

[jQuery] Re: Why is the + being turned into a space?

2007-08-27 Thread barophobia
On 8/26/07, Erik Beeson [EMAIL PROTECTED] wrote: The reason this is happening to you when you use ajax is because when you pass a String as the data parameter, it is assumed that it's already escaped. When you don't use ajax, the browser takes care of escaping the + for you (it is escaped as

[jQuery] Why is the + being turned into a space?

2007-08-26 Thread barophobia
Hello, I'm having a weird issue with data being passed through $.ajax. If I submit my form through normal means I do not witness the unexpected behavior. Only when I submit the form through $.ajax does it happen. The problem is that I'm trying to submit an email address with a + sign in it.

[jQuery] Re: Fwd: jQuery and UTF8

2007-08-23 Thread barophobia
Just wanted to let everyone know that I finally got this solved. And thanks to everyone for the help. There were several issues pointed out in this thread that helped me to build a more solid UTF-8 compliant app. So... the MAJOR problem I was having was in the jQuery code itself. It was the

[jQuery] Re: Fwd: jQuery and UTF8

2007-08-21 Thread barophobia
On 8/21/07, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: I had work with lot of UTF-8 and had no problem: 1. You don't have font? 2. or Your current charset is different from one that is been loaded? 3. or Do you have any link for me to check? 1. I do have the font. It appears

[jQuery] Re: Fwd: jQuery and UTF8

2007-08-20 Thread barophobia
On 8/20/07, Bil Corry [EMAIL PROTECTED] wrote: Your server should be sending this as the content-type if serving UTF-8: text/html; charset=UTF-8 Otherwise, you're leaving it up to the browser to decipher the charset. Thanks for the info but I have some questions still. 1. Why do you

[jQuery] Re: Fwd: jQuery and UTF8

2007-08-20 Thread barophobia
On 8/20/07, Bil Corry [EMAIL PROTECTED] wrote: barophobia wrote on 8/20/2007 11:58 AM: 1. Why do you think the standard pages work fine? Do you have a meta tag defining the charset? Most likely that wouldn't be present in an AJAX call but would tell the browser the correct charset

[jQuery] jQuery and UTF8

2007-08-15 Thread barophobia
Hello, I've got some Japanese text in my MySQL database that shows up correctly through phpMyAdmin as well as when it is loaded directly as HTML. However, when I load it through .load() it only shows up as question marks. Is there an obvious solution? I couldn't find any good info on jQuery

[jQuery] Do my emails make it to the list?

2007-08-15 Thread barophobia
I can see my emails in the Gmail interface but it doesn't seem that they're actually making it to everyone else. Please respond (off list). Thanks, Chris.

[jQuery] Fwd: jQuery and UTF8

2007-08-15 Thread barophobia
I'm forwarding this email again as it seems that it may not have made its way to the list the first time. -- Forwarded message -- From: barophobia [EMAIL PROTECTED] Date: Tue, 14 Aug 2007 20:02:52 -0700 Subject: jQuery and UTF8 To: jquery-en@googlegroups.com Hello, I've got

[jQuery] Re: Fwd: jQuery and UTF8

2007-08-15 Thread barophobia
On 8/15/07, pd [EMAIL PROTECTED] wrote: I can't be sure this will help, but does your server side script return the document with specifically with a utf8 charset header? Well, hopefully this is the right way... According to Firebug, the Response Headers for the document that is loaded

[jQuery] Re: What am I missing from this plugin?

2007-07-24 Thread barophobia
On 7/23/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Making it be unobtrusive would be up the developer. The easy way to do this would be for the user to hide the button via CSS and show it after attach your plug-in. The developer could also make their button be able to automatically

[jQuery] Re: What am I missing from this plugin?

2007-07-23 Thread barophobia
On 7/18/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Also, I think I'd change the plug-in a bit. IMO, I would make more sense to use like: $(#button).generate_password(#passwordField, iLength); That way you can attach the behavior to any element. Also, by using a selector for the field

[jQuery] Re: What am I missing from this plugin?

2007-07-21 Thread barophobia
On 7/18/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: You need to var the generate_to variable in the click handler. Currently it's a global variable, which makes the second instance overwrite the first instance. Change: generate_to = $(this).attr('for'); to: var generate_to =

[jQuery] Re: addClass() not executing until cursor enters confirm() box.

2007-07-18 Thread barophobia
On Jul 11, 6:31 am, Richard D. Worth [EMAIL PROTECTED] wrote: Chris, Hi Richard, I thought my message never made it through so I'm surprised to see your response! I reposted the code (I don't think I've changed it at all since my first post) at http://www.pastebin.ca/624311 Thanks for your

[jQuery] What am I missing from this plugin?

2007-07-18 Thread barophobia
I am trying to make a plugin that will be used to generate a password. After many days of deliberation I decided to call it generate_password(). Now that I've got the name out of the way I'm having a bit of trouble getting it to work right. You can see the behavior here:

[jQuery] addClass() not executing until cursor enters confirm() box.

2007-07-08 Thread barophobia
Hello, I have the following code: http://www.pastebin.ca/609684 When someone clicks the appropriate element I want the row of that element to change its background. But what happens is that when they click the link the confirm box is created but the row for that element doesn't change until

[jQuery] Re: Help with stopping event propagation.

2007-06-20 Thread barophobia
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of barophobia Sent: mercredi 20 juin 2007 8:41 To: jquery-en@googlegroups.com Subject: [jQuery] Help with stopping event propagation. (I saw another email come through but not this one and it's been about 30 minutes since I originally sent