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
<charlie.grie...@gmail.com>wrote:

> until you learn it, sure.  no different than any other tool.
>
>
> On Mon, Dec 15, 2008 at 9:05 PM, Rick Faircloth 
> <r...@whitestonemedia.com>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 <r...@whitestonemedia.com>
>> 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 <r...@whitestonemedia.com>
>> 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?)
>>
>>
>>
>> <script type="text/javascript">
>>
>>
>>
>>        $(document).ready(function(){
>>
>>               $('#emailError').hide();
>>
>>        });
>>
>>
>>
>>
>>
>>        function validateEmail() {
>>
>>
>>
>>               $("input.email").blur(function() {
>>
>>
>>
>>                      if (this.val.length == 0)
>>
>>                            $('#emailError').show();
>>
>>               });
>>
>>        });
>>
>>
>>
>> </script>
>>
>>
>>
>> *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 <r...@whitestonemedia.com>
>> 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.
>>
>
>
>
> --
> 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.

Reply via email to