[jQuery] Re: Why won't this work in ie ?

2009-03-13 Thread ricardobeat

try this, with the proper closing slash as you're using for :

$.each(json, function(i, item){
  $('')
 .attr('href', 'http://example.com')
 .html('test')
 .appendTo('#gallery');
});
}

On Mar 12, 4:57 pm, joshm  wrote:
> In my jquery code I do:
> $.each(json, function(i, item) {
> $('').attr('href', 'http://example.com').html('test').appendTo
> ('#gallery');
>
> }
>
> I have a div to hold the content in the html:
> 
> 
>
> In firefox I will get  a series of links, in ie7 i get nothing...
>
> I can replace the code with this and it works fine in ie:
>
> $.each(json, function(i, item) {
> $('').attr('src', item).attr('class', 'thumb').appendTo
> ('#gallery');
>
> }
>
> Something about the chaining perhaps?


[jQuery] Re: Why won't this work?

2008-12-16 Thread Rick Faircloth
Ok, Charlie.

 

I think everything's worked out, even the validation onblur.

 

You can check out the working demo here:

 

http://wsm-dev.com/wsm-dev/ajax_login_3/index.cfm

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Tuesday, December 16, 2008 11:37 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

rick:

 

have you tried putting the:

 

$(document).ready(function(){

  $('#emailError').hide();

});

 

on the index.cfm page?  i believe i just read something that indicated that the 
ajax page load will
be part of the document that it is loading within.

 

On Mon, Dec 15, 2008 at 9:07 PM, Charlie Griefer  
wrote:

until you learn it, sure.  no different than any other tool.

 

On Mon, Dec 15, 2008 at 9:05 PM, Rick Faircloth  
wrote:

Thanks for the insight, Charlie.

 

It seems there are many considerations when

putting Ajax to work.it's going to cause me pain

everywhere I deploy it.

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 11:01 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

but if you go here:

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100
<http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true>
&width=250&modal=true

 

...it works.

 

there's something about the fact that you're calling the page inside of the 
thickbox plugin that
makes it different.  i haven't used the plugin, and i'm still fairly new to 
jQuery, so unfortunately
i'm not sure what specifically the issue is, or what the resolution is.  but 
i'd guess that when the
thickbox loads the page, the $(document).ready() doesn't fire in the same way 
that it fires on a
normal page load (or... at all, it would seem).

On Mon, Dec 15, 2008 at 7:24 PM, Rick Faircloth  
wrote:

The code on the server has been update now, Charlie.

Not working on there, either.

 

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

 

But a successful login now takes me to the site_manager.cfm page

thanks to some changes in the code by Matt Williams!

 

You can see the current code here:

 

http://paste.pocoo.org/show/95547/

 

Rick

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Rick Faircloth
Sent: Monday, December 15, 2008 9:58 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

Yes, that's copied and pasted from the IDE, however.

 

I don't think that would be a problem.the second pair of quotes

were put in when I pasted the code into the email.

I had double quotes for the second set and was trying

to be consistent.  I usually use those quotes.

 

I've got the entire login function up at

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

but that version doesn't include the error message bit

that I'm working on.  Someone's reviewing the code

and if I change the online version, it might throw them off.

 

Once I hear from them, I'll add that to it.

 

Can't solve a problem with the online version right now, either.

On successful login, the user should be taken to site_manager.cfm.

But the success text is showing up where the login failure text shows.

 

You can see all the code that's currently working online at

http://paste.pocoo.org/show/95530/

 

I thought I'd try this site out for collaboration and see if that

works better than email zip files all over the place.  If you look

at the site above, you can click on "Paste Details" near the top

and see some response options.  If you click on "reply to this paste"

you can edit the code and it'll put your version in the line that you

can see if you click on "show paste tree."

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:48 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

is that the actual code that you copied/pasted from your IDE?  i'm noticing 
'smart quotes' here:

 

$('#emailError').show();  

 

could that be hosing you?

 

is this on a server somewhere we can see it in all its glory in a browser?

 

On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth  
wrote:

Well.bummer.  Works for me, too, when it's

on *your* server, Charlie.  You've just got the magic touch.

 

Will this entire block run for you

with all the other code on there?

(Have I coded this properly?)

 



 

   $(document).ready(function(){

  $('#emailError').hide();

   });

[jQuery] Re: Why won't this work?

2008-12-16 Thread Rick Faircloth
I got the #emailError message to hide, but now

I'm trying to figure out how to get it to display

"onblur" of the input.

 

I sent another message to the list for that concern.

 

Thanks,

 

Rick

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Tuesday, December 16, 2008 11:37 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

rick:

 

have you tried putting the:

 

$(document).ready(function(){

  $('#emailError').hide();

});

 

on the index.cfm page?  i believe i just read something that indicated that the 
ajax page load will
be part of the document that it is loading within.

 

On Mon, Dec 15, 2008 at 9:07 PM, Charlie Griefer  
wrote:

until you learn it, sure.  no different than any other tool.

 

On Mon, Dec 15, 2008 at 9:05 PM, Rick Faircloth  
wrote:

Thanks for the insight, Charlie.

 

It seems there are many considerations when

putting Ajax to work.it's going to cause me pain

everywhere I deploy it.

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 11:01 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

but if you go here:

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100
<http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true>
&width=250&modal=true

 

...it works.

 

there's something about the fact that you're calling the page inside of the 
thickbox plugin that
makes it different.  i haven't used the plugin, and i'm still fairly new to 
jQuery, so unfortunately
i'm not sure what specifically the issue is, or what the resolution is.  but 
i'd guess that when the
thickbox loads the page, the $(document).ready() doesn't fire in the same way 
that it fires on a
normal page load (or... at all, it would seem).

On Mon, Dec 15, 2008 at 7:24 PM, Rick Faircloth  
wrote:

The code on the server has been update now, Charlie.

Not working on there, either.

 

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

 

But a successful login now takes me to the site_manager.cfm page

thanks to some changes in the code by Matt Williams!

 

You can see the current code here:

 

http://paste.pocoo.org/show/95547/

 

Rick

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Rick Faircloth
Sent: Monday, December 15, 2008 9:58 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

Yes, that's copied and pasted from the IDE, however.

 

I don't think that would be a problem.the second pair of quotes

were put in when I pasted the code into the email.

I had double quotes for the second set and was trying

to be consistent.  I usually use those quotes.

 

I've got the entire login function up at

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

but that version doesn't include the error message bit

that I'm working on.  Someone's reviewing the code

and if I change the online version, it might throw them off.

 

Once I hear from them, I'll add that to it.

 

Can't solve a problem with the online version right now, either.

On successful login, the user should be taken to site_manager.cfm.

But the success text is showing up where the login failure text shows.

 

You can see all the code that's currently working online at

http://paste.pocoo.org/show/95530/

 

I thought I'd try this site out for collaboration and see if that

works better than email zip files all over the place.  If you look

at the site above, you can click on "Paste Details" near the top

and see some response options.  If you click on "reply to this paste"

you can edit the code and it'll put your version in the line that you

can see if you click on "show paste tree."

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:48 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

is that the actual code that you copied/pasted from your IDE?  i'm noticing 
'smart quotes' here:

 

$('#emailError').show();  

 

could that be hosing you?

 

is this on a server somewhere we can see it in all its glory in a browser?

 

On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth  
wrote:

Well.bummer.  Works for me, too, when it's

on *your* server, Charlie.  You've just got the magic touch.

 

Will this entire block run for you

with all the other code on there?

(Have I coded this properly?)

 



 

   $(document).ready(function(){

  $('#emailError').hide();

 

[jQuery] Re: Why won't this work?

2008-12-16 Thread Charlie Griefer
rick:
have you tried putting the:

$(document).ready(function(){
$('#emailError').hide();
});

on the index.cfm page?  i believe i just read something that indicated that
the ajax page load will be part of the document that it is loading within.

On Mon, Dec 15, 2008 at 9:07 PM, Charlie Griefer
wrote:

> until you learn it, sure.  no different than any other tool.
>
>
> On Mon, Dec 15, 2008 at 9:05 PM, Rick Faircloth 
> wrote:
>
>>  Thanks for the insight, Charlie.
>>
>>
>>
>> It seems there are many considerations when
>>
>> putting Ajax to work…it's going to cause me pain
>>
>> everywhere I deploy it.
>>
>>
>>
>>
>>
>> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
>> Behalf Of *Charlie Griefer
>> *Sent:* Monday, December 15, 2008 11:01 PM
>>
>> *To:* jquery-en@googlegroups.com
>> *Subject:* [jQuery] Re: Why won't this work?
>>
>>
>>
>> but if you go here:
>>
>>
>> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true
>>
>>
>>
>> ...it works.
>>
>>
>>
>> there's something about the fact that you're calling the page inside of
>> the thickbox plugin that makes it different.  i haven't used the plugin, and
>> i'm still fairly new to jQuery, so unfortunately i'm not sure what
>> specifically the issue is, or what the resolution is.  but i'd guess that
>> when the thickbox loads the page, the $(document).ready() doesn't fire in
>> the same way that it fires on a normal page load (or... at all, it would
>> seem).
>>
>> On Mon, Dec 15, 2008 at 7:24 PM, Rick Faircloth 
>> wrote:
>>
>> The code on the server has been update now, Charlie.
>>
>> Not working on there, either.
>>
>>
>>
>> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm
>>
>>
>>
>> But a successful login now takes me to the site_manager.cfm page
>>
>> thanks to some changes in the code by Matt Williams!
>>
>>
>>
>> You can see the current code here:
>>
>>
>>
>> http://paste.pocoo.org/show/95547/
>>
>>
>>
>> Rick
>>
>>
>>
>> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
>> Behalf Of *Rick Faircloth
>> *Sent:* Monday, December 15, 2008 9:58 PM
>>
>>
>> *To:* jquery-en@googlegroups.com
>> *Subject:* [jQuery] Re: Why won't this work?
>>
>>
>>
>> Yes, that's copied and pasted from the IDE, however…
>>
>>
>>
>> I don't think that would be a problem…the second pair of quotes
>>
>> were put in when I pasted the code into the email.
>>
>> I had double quotes for the second set and was trying
>>
>> to be consistent.  I usually use those quotes.
>>
>>
>>
>> I've got the entire login function up at
>>
>> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm
>>
>> but that version doesn't include the error message bit
>>
>> that I'm working on.  Someone's reviewing the code
>>
>> and if I change the online version, it might throw them off.
>>
>>
>>
>> Once I hear from them, I'll add that to it.
>>
>>
>>
>> Can't solve a problem with the online version right now, either.
>>
>> On successful login, the user should be taken to site_manager.cfm.
>>
>> But the success text is showing up where the login failure text shows.
>>
>>
>>
>> You can see all the code that's currently working online at
>>
>> http://paste.pocoo.org/show/95530/
>>
>>
>>
>> I thought I'd try this site out for collaboration and see if that
>>
>> works better than email zip files all over the place.  If you look
>>
>> at the site above, you can click on "Paste Details" near the top
>>
>> and see some response options.  If you click on "reply to this paste"
>>
>> you can edit the code and it'll put your version in the line that you
>>
>> can see if you click on "show paste tree."
>>
>>
>>
>> Rick
>>
>>
>>
>>
>>
>>
>>
>> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
>> Behalf Of *Charlie Griefer
>> *Sent:* Monday, December 15, 2008 9:48 PM
>> *To:* jquery-en@googlegroups.com
>> *Subject:* [jQuery] Re: Why wo

[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
until you learn it, sure.  no different than any other tool.

On Mon, Dec 15, 2008 at 9:05 PM, Rick Faircloth wrote:

>  Thanks for the insight, Charlie.
>
>
>
> It seems there are many considerations when
>
> putting Ajax to work…it's going to cause me pain
>
> everywhere I deploy it.
>
>
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Charlie Griefer
> *Sent:* Monday, December 15, 2008 11:01 PM
>
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> but if you go here:
>
>
> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true
>
>
>
> ...it works.
>
>
>
> there's something about the fact that you're calling the page inside of the
> thickbox plugin that makes it different.  i haven't used the plugin, and i'm
> still fairly new to jQuery, so unfortunately i'm not sure what specifically
> the issue is, or what the resolution is.  but i'd guess that when the
> thickbox loads the page, the $(document).ready() doesn't fire in the same
> way that it fires on a normal page load (or... at all, it would seem).
>
> On Mon, Dec 15, 2008 at 7:24 PM, Rick Faircloth 
> wrote:
>
> The code on the server has been update now, Charlie.
>
> Not working on there, either.
>
>
>
> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm
>
>
>
> But a successful login now takes me to the site_manager.cfm page
>
> thanks to some changes in the code by Matt Williams!
>
>
>
> You can see the current code here:
>
>
>
> http://paste.pocoo.org/show/95547/
>
>
>
> Rick
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Rick Faircloth
> *Sent:* Monday, December 15, 2008 9:58 PM
>
>
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> Yes, that's copied and pasted from the IDE, however…
>
>
>
> I don't think that would be a problem…the second pair of quotes
>
> were put in when I pasted the code into the email.
>
> I had double quotes for the second set and was trying
>
> to be consistent.  I usually use those quotes.
>
>
>
> I've got the entire login function up at
>
> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm
>
> but that version doesn't include the error message bit
>
> that I'm working on.  Someone's reviewing the code
>
> and if I change the online version, it might throw them off.
>
>
>
> Once I hear from them, I'll add that to it.
>
>
>
> Can't solve a problem with the online version right now, either.
>
> On successful login, the user should be taken to site_manager.cfm.
>
> But the success text is showing up where the login failure text shows.
>
>
>
> You can see all the code that's currently working online at
>
> http://paste.pocoo.org/show/95530/
>
>
>
> I thought I'd try this site out for collaboration and see if that
>
> works better than email zip files all over the place.  If you look
>
> at the site above, you can click on "Paste Details" near the top
>
> and see some response options.  If you click on "reply to this paste"
>
> you can edit the code and it'll put your version in the line that you
>
> can see if you click on "show paste tree."
>
>
>
> Rick
>
>
>
>
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Charlie Griefer
> *Sent:* Monday, December 15, 2008 9:48 PM
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> is that the actual code that you copied/pasted from your IDE?  i'm noticing
> 'smart quotes' here:
>
>
>
> $('#emailError').show();
>
>
>
> could that be hosing you?
>
>
>
> is this on a server somewhere we can see it in all its glory in a browser?
>
>
>
> On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth 
> wrote:
>
> Well…bummer.  Works for me, too, when it's
>
> on **your** server, Charlie.  You've just got the magic touch.
>
>
>
> Will this entire block run for you
>
> with all the other code on there?
>
> (Have I coded this properly?)
>
>
>
> 
>
>
>
>$(document).ready(function(){
>
>   $('#emailError').hide();
>
>});
>
>
>
>
>
>function validateEmail() {
>
>
>
> 

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Thanks for the insight, Charlie.

 

It seems there are many considerations when

putting Ajax to work.it's going to cause me pain

everywhere I deploy it.

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 11:01 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

but if you go here:

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100
<http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true>
&width=250&modal=true

 

...it works.

 

there's something about the fact that you're calling the page inside of the 
thickbox plugin that
makes it different.  i haven't used the plugin, and i'm still fairly new to 
jQuery, so unfortunately
i'm not sure what specifically the issue is, or what the resolution is.  but 
i'd guess that when the
thickbox loads the page, the $(document).ready() doesn't fire in the same way 
that it fires on a
normal page load (or... at all, it would seem).

On Mon, Dec 15, 2008 at 7:24 PM, Rick Faircloth  
wrote:

The code on the server has been update now, Charlie.

Not working on there, either.

 

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

 

But a successful login now takes me to the site_manager.cfm page

thanks to some changes in the code by Matt Williams!

 

You can see the current code here:

 

http://paste.pocoo.org/show/95547/

 

Rick

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Rick Faircloth
Sent: Monday, December 15, 2008 9:58 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

Yes, that's copied and pasted from the IDE, however.

 

I don't think that would be a problem.the second pair of quotes

were put in when I pasted the code into the email.

I had double quotes for the second set and was trying

to be consistent.  I usually use those quotes.

 

I've got the entire login function up at

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

but that version doesn't include the error message bit

that I'm working on.  Someone's reviewing the code

and if I change the online version, it might throw them off.

 

Once I hear from them, I'll add that to it.

 

Can't solve a problem with the online version right now, either.

On successful login, the user should be taken to site_manager.cfm.

But the success text is showing up where the login failure text shows.

 

You can see all the code that's currently working online at

http://paste.pocoo.org/show/95530/

 

I thought I'd try this site out for collaboration and see if that

works better than email zip files all over the place.  If you look

at the site above, you can click on "Paste Details" near the top

and see some response options.  If you click on "reply to this paste"

you can edit the code and it'll put your version in the line that you

can see if you click on "show paste tree."

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:48 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

is that the actual code that you copied/pasted from your IDE?  i'm noticing 
'smart quotes' here:

 

$('#emailError').show();  

 

could that be hosing you?

 

is this on a server somewhere we can see it in all its glory in a browser?

 

On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth  
wrote:

Well.bummer.  Works for me, too, when it's

on *your* server, Charlie.  You've just got the magic touch.

 

Will this entire block run for you

with all the other code on there?

(Have I coded this properly?)

 



 

   $(document).ready(function(){

  $('#emailError').hide();

   });

 

 

   function validateEmail() {

  

  $("input.email").blur(function() {

 

 if (this.val.length == 0)

   $('#emailError').show();   

  });

   });

                    



 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:36 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

still workin' fine for me.

 

http://charlie.griefer.com/code/rick.cfm

On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth  
wrote:

Yeah, there's plenty of other code running.

Here's what's on the page.see anything that conflicts?

 

-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.




-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.




-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.



[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
but if you go here:
http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true

...it works.

there's something about the fact that you're calling the page inside of the
thickbox plugin that makes it different.  i haven't used the plugin, and i'm
still fairly new to jQuery, so unfortunately i'm not sure what specifically
the issue is, or what the resolution is.  but i'd guess that when the
thickbox loads the page, the $(document).ready() doesn't fire in the same
way that it fires on a normal page load (or... at all, it would seem).

On Mon, Dec 15, 2008 at 7:24 PM, Rick Faircloth wrote:

>  The code on the server has been update now, Charlie.
>
> Not working on there, either.
>
>
>
> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm
>
>
>
> But a successful login now takes me to the site_manager.cfm page
>
> thanks to some changes in the code by Matt Williams!
>
>
>
> You can see the current code here:
>
>
>
> http://paste.pocoo.org/show/95547/
>
>
>
> Rick
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Rick Faircloth
> *Sent:* Monday, December 15, 2008 9:58 PM
>
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> Yes, that's copied and pasted from the IDE, however…
>
>
>
> I don't think that would be a problem…the second pair of quotes
>
> were put in when I pasted the code into the email.
>
> I had double quotes for the second set and was trying
>
> to be consistent.  I usually use those quotes.
>
>
>
> I've got the entire login function up at
>
> http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm
>
> but that version doesn't include the error message bit
>
> that I'm working on.  Someone's reviewing the code
>
> and if I change the online version, it might throw them off.
>
>
>
> Once I hear from them, I'll add that to it.
>
>
>
> Can't solve a problem with the online version right now, either.
>
> On successful login, the user should be taken to site_manager.cfm.
>
> But the success text is showing up where the login failure text shows.
>
>
>
> You can see all the code that's currently working online at
>
> http://paste.pocoo.org/show/95530/
>
>
>
> I thought I'd try this site out for collaboration and see if that
>
> works better than email zip files all over the place.  If you look
>
> at the site above, you can click on "Paste Details" near the top
>
> and see some response options.  If you click on "reply to this paste"
>
> you can edit the code and it'll put your version in the line that you
>
> can see if you click on "show paste tree."
>
>
>
> Rick
>
>
>
>
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Charlie Griefer
> *Sent:* Monday, December 15, 2008 9:48 PM
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> is that the actual code that you copied/pasted from your IDE?  i'm noticing
> 'smart quotes' here:
>
>
>
> $('#emailError').show();
>
>
>
> could that be hosing you?
>
>
>
> is this on a server somewhere we can see it in all its glory in a browser?
>
>
>
> On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth 
> wrote:
>
> Well…bummer.  Works for me, too, when it's
>
> on **your** server, Charlie.  You've just got the magic touch.
>
>
>
> Will this entire block run for you
>
> with all the other code on there?
>
> (Have I coded this properly?)
>
>
>
> 
>
>
>
>$(document).ready(function(){
>
>   $('#emailError').hide();
>
>});
>
>
>
>
>
>function validateEmail() {
>
>
>
>   $("input.email").blur(function() {
>
>
>
>  if (this.val.length == 0)
>
>$('#emailError').show();
>
>   });
>
>});
>
>
>
> 
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Charlie Griefer
> *Sent:* Monday, December 15, 2008 9:36 PM
>
>
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> still workin' fine for me.
>
>
>
> http://charlie.griefer.com/code/rick.cfm
>
> On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth 
> wrote:
>
> Yeah, there's plenty of other code running.
>
> Here's what's on the page…see anything that conflicts?
>
>
>
> --
> I have failed as much as I have succeeded. But I love my life. I love my
> wife. And I wish you my kind of success.
>
>
>
>
> --
> I have failed as much as I have succeeded. But I love my life. I love my
> wife. And I wish you my kind of success.
>



-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
The code on the server has been update now, Charlie.

Not working on there, either.

 

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

 

But a successful login now takes me to the site_manager.cfm page

thanks to some changes in the code by Matt Williams!

 

You can see the current code here:

 

http://paste.pocoo.org/show/95547/

 

Rick

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Rick Faircloth
Sent: Monday, December 15, 2008 9:58 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

Yes, that's copied and pasted from the IDE, however.

 

I don't think that would be a problem.the second pair of quotes

were put in when I pasted the code into the email.

I had double quotes for the second set and was trying

to be consistent.  I usually use those quotes.

 

I've got the entire login function up at

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

but that version doesn't include the error message bit

that I'm working on.  Someone's reviewing the code

and if I change the online version, it might throw them off.

 

Once I hear from them, I'll add that to it.

 

Can't solve a problem with the online version right now, either.

On successful login, the user should be taken to site_manager.cfm.

But the success text is showing up where the login failure text shows.

 

You can see all the code that's currently working online at

http://paste.pocoo.org/show/95530/

 

I thought I'd try this site out for collaboration and see if that

works better than email zip files all over the place.  If you look

at the site above, you can click on "Paste Details" near the top

and see some response options.  If you click on "reply to this paste"

you can edit the code and it'll put your version in the line that you

can see if you click on "show paste tree."

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:48 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

is that the actual code that you copied/pasted from your IDE?  i'm noticing 
'smart quotes' here:

 

$('#emailError').show();  

 

could that be hosing you?

 

is this on a server somewhere we can see it in all its glory in a browser?

 

On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth  
wrote:

Well.bummer.  Works for me, too, when it's

on *your* server, Charlie.  You've just got the magic touch.

 

Will this entire block run for you

with all the other code on there?

(Have I coded this properly?)

 



 

   $(document).ready(function(){

  $('#emailError').hide();

   });

 

 

   function validateEmail() {

  

  $("input.email").blur(function() {

 

 if (this.val.length == 0)

   $('#emailError').show();   

  });

   });





 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:36 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

still workin' fine for me.

 

http://charlie.griefer.com/code/rick.cfm

On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth  
wrote:

Yeah, there's plenty of other code running.

Here's what's on the page.see anything that conflicts?

 

-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.




-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.



[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Yes, that's copied and pasted from the IDE, however.

 

I don't think that would be a problem.the second pair of quotes

were put in when I pasted the code into the email.

I had double quotes for the second set and was trying

to be consistent.  I usually use those quotes.

 

I've got the entire login function up at

http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm

but that version doesn't include the error message bit

that I'm working on.  Someone's reviewing the code

and if I change the online version, it might throw them off.

 

Once I hear from them, I'll add that to it.

 

Can't solve a problem with the online version right now, either.

On successful login, the user should be taken to site_manager.cfm.

But the success text is showing up where the login failure text shows.

 

You can see all the code that's currently working online at

http://paste.pocoo.org/show/95530/

 

I thought I'd try this site out for collaboration and see if that

works better than email zip files all over the place.  If you look

at the site above, you can click on "Paste Details" near the top

and see some response options.  If you click on "reply to this paste"

you can edit the code and it'll put your version in the line that you

can see if you click on "show paste tree."

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:48 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

is that the actual code that you copied/pasted from your IDE?  i'm noticing 
'smart quotes' here:

 

$('#emailError').show();  

 

could that be hosing you?

 

is this on a server somewhere we can see it in all its glory in a browser?

 

On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth  
wrote:

Well.bummer.  Works for me, too, when it's

on *your* server, Charlie.  You've just got the magic touch.

 

Will this entire block run for you

with all the other code on there?

(Have I coded this properly?)

 



 

   $(document).ready(function(){

  $('#emailError').hide();

   });

 

 

   function validateEmail() {

  

  $("input.email").blur(function() {

 

 if (this.val.length == 0)

   $('#emailError').show();   

  });

   });





 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:36 PM


To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

still workin' fine for me.

 

http://charlie.griefer.com/code/rick.cfm

On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth  
wrote:

Yeah, there's plenty of other code running.

Here's what's on the page.see anything that conflicts?

 

-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.




-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.



[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
is that the actual code that you copied/pasted from your IDE?  i'm noticing
'smart quotes' here:
$('#emailError').show();

could that be hosing you?

is this on a server somewhere we can see it in all its glory in a browser?

On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth wrote:

>  Well…bummer.  Works for me, too, when it's
>
> on **your** server, Charlie.  You've just got the magic touch.
>
>
>
> Will this entire block run for you
>
> with all the other code on there?
>
> (Have I coded this properly?)
>
>
>
> 
>
>
>
>$(document).ready(function(){
>
>   $('#emailError').hide();
>
>});
>
>
>
>
>
>function validateEmail() {
>
>
>
>   $("input.email").blur(function() {
>
>
>
>  if (this.val.length == 0)
>
>$('#emailError').show();
>
>   });
>
>});
>
>
>
> 
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Charlie Griefer
> *Sent:* Monday, December 15, 2008 9:36 PM
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> still workin' fine for me.
>
>
>
> http://charlie.griefer.com/code/rick.cfm
>
> On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth 
> wrote:
>
> Yeah, there's plenty of other code running.
>
> Here's what's on the page…see anything that conflicts?
>
>
>
> --
> I have failed as much as I have succeeded. But I love my life. I love my
> wife. And I wish you my kind of success.
>



-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Well.bummer.  Works for me, too, when it's

on *your* server, Charlie.  You've just got the magic touch.

 

Will this entire block run for you

with all the other code on there?

(Have I coded this properly?)

 



 

   $(document).ready(function(){

  $('#emailError').hide();

   });

 

 

   function validateEmail() {

  

  $("input.email").blur(function() {

 

 if (this.val.length == 0)

   $('#emailError').show();   

  });

   });





 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:36 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

still workin' fine for me.

 

http://charlie.griefer.com/code/rick.cfm

On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth  
wrote:

Yeah, there's plenty of other code running.

Here's what's on the page.see anything that conflicts?

 

-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.



[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
still workin' fine for me.
http://charlie.griefer.com/code/rick.cfm

On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth wrote:

>  Yeah, there's plenty of other code running.
>
> Here's what's on the page…see anything that conflicts?
>
>
> --
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Yeah, there's plenty of other code running.

Here's what's on the page.see anything that conflicts?

 



function checkLogin(frm) {

   var frmData = 
{email_address:frm.email_address.value,password:frm.password.value};

   $('#loginResponse').html('').css('display','none');

   $.ajax({type:"POST", cache:false, url:'checkLogin.cfm', data:frmData, 
dataType:"text", 

  success:function(data){ checkLoginReturn(data); }

   });

   

}

 

function checkLoginReturn(data) {

   if (data == "Login Successful") {

  top.location.href = "site_manager.cfm"

   } else {

  //alert(data);

  $('#loginResponse').html(data).css('display','block');

   }

}

 

//Adds the onclick ability for cancel to close the modal window.

$(document).ready(function(){ 

   $('#btnCancel').click(function() {

  tb_remove();

   });

});

 



 

 



 

   $(document).ready(function(){

  $('#emailError').hide();

   });

 

   //function validateEmail() {

   

   //$(document).ready(function() {

  

  //$("input.email").blur(function() {

 

 //if (this.val.length == 0)

   //$("#emailError").show(); 

  //});  

   //});





 



 



 



Please enter your email address.

Email Address: 

Password: 











 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Charlie Griefer
Sent: Monday, December 15, 2008 9:25 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

hides it for me.  you may have something else going on in the page?  another 
element with the same
ID?  some other conflict?

 

run just the code that you posted in the original message (nothing else) and 
you should see it work.

On Mon, Dec 15, 2008 at 6:23 PM, Rick Faircloth  
wrote:

The script doesn't hide the  tag and its contents.no error is given,

it just doesn't work.  The  tag and its contents are visible on the page.

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Sam Sherlock
Sent: Monday, December 15, 2008 9:21 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

what does not work?

2008/12/16 Rick Faircloth 


Why won't this...



   $(document).ready(function(){
   $('#emailError').hide();
   });



hide this...

Please enter your email address.

???

Rick

 




-- 
I have failed as much as I have succeeded. But I love my life. I love my wife. 
And I wish you my
kind of success.



[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
hides it for me.  you may have something else going on in the page?  another
element with the same ID?  some other conflict?
run just the code that you posted in the original message (nothing else) and
you should see it work.

On Mon, Dec 15, 2008 at 6:23 PM, Rick Faircloth wrote:

>  The script doesn't hide the  tag and its contents…no error is given,
>
> it just doesn't work.  The  tag and its contents are visible on the
> page.
>
>
>
> *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On
> Behalf Of *Sam Sherlock
> *Sent:* Monday, December 15, 2008 9:21 PM
> *To:* jquery-en@googlegroups.com
> *Subject:* [jQuery] Re: Why won't this work?
>
>
>
> what does not work?
>
> 2008/12/16 Rick Faircloth 
>
>
> Why won't this...
>
> 
>
>$(document).ready(function(){
>$('#emailError').hide();
>});
>
> 
>
> hide this...
>
> Please enter your email address.
>
> ???
>
> Rick
>
>
>



-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
The script doesn't hide the  tag and its contents.no error is given,

it just doesn't work.  The  tag and its contents are visible on the page.

 

From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of Sam Sherlock
Sent: Monday, December 15, 2008 9:21 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Why won't this work?

 

what does not work?

2008/12/16 Rick Faircloth 


Why won't this...



   $(document).ready(function(){
   $('#emailError').hide();
   });



hide this...

Please enter your email address.

???

Rick

 



[jQuery] Re: Why won't this work?

2008-12-15 Thread Sam Sherlock
what does not work?

2008/12/16 Rick Faircloth 

>
> Why won't this...
>
> 
>
>$(document).ready(function(){
>$('#emailError').hide();
>});
>
> 
>
> hide this...
>
> Please enter your email address.
>
> ???
>
> Rick
>
>