Search the web
Sign In
New User? Sign Up
ajaxcfc · ajaxCFC Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ajaxCFC w/ jquery   Message List  
Reply | Forward Message #1557 of 1584 |
Re: ajaxCFC w/ jquery

Chris,
Thanks as always for the reply. I believe you've helped me on more
than one occasion now. I am going to boot up the work laptop and try
your changes right now.

So they changed some of the ajaxCFC syntax when they incorporated
jquery into the download?

Ryan


--- In ajaxcfc@yahoogroups.com, Chris Jordan <cjordan@...> wrote:
>
> Ryan,
>
> The first thing that jumps out at me is that in your line of jQuery
there, you're getting an id, but you're missing the pound sign that
goes along with doing that. In other words, that line should read:
>
> locationId = $('#locationId').value;
>
> The other thing is that the '.value' part should be '.val()'. So,
>
> locationId = $('#locationId').val()
>
>
> See if any of that helps. Also, have you checked out the tutorials
on my blog? (http://cjordan.us/index.cfm/AjaxCFC)
>
> Hope this helps,
> Chris
>
> ----- Original Message -----
> From: "Ryan" <ksu_stud@...>
> To: ajaxcfc@yahoogroups.com
> Sent: Tuesday, April 8, 2008 4:47:58 PM (GMT-0600) America/Chicago
> Subject: [ajaxcfc] ajaxCFC w/ jquery
>
>
>
>
>
>
>
> Hey Guys,
> It's been a while but I'm back writing code. I downloaded the latest
> version of ajaxCFC which has jQuery included. The ajaxCFC code seems
> to be working fine until I try to include the jquery.js file like so
>
> <script src="../ajaxcfc/branches/jquery/core/js/jquery.js"
> type="text/javascript"></script>
>
> Once I inlcude the file I start getting undefined errors when making
> simple calls like...
>
> locationID = $('locationID').value;
>
> Any ideas? I think jquery uses the $ function, is that the issue?
>
> Thanks,
> Ryan
>





Wed Apr 9, 2008 1:14 am

phidelt1350
Offline Offline
Send Email Send Email

Forward
Message #1557 of 1584 |
Expand Messages Author Sort by Date

Hey Guys, It's been a while but I'm back writing code. I downloaded the latest version of ajaxCFC which has jQuery included. The ajaxCFC code seems to be...
Ryan
phidelt1350
Offline Send Email
Apr 8, 2008
9:48 pm

Ryan, The first thing that jumps out at me is that in your line of jQuery there, you're getting an id, but you're missing the pound sign that goes along with...
Chris Jordan
c_s_jordan
Offline Send Email
Apr 8, 2008
10:02 pm

Chris, Thanks as always for the reply. I believe you've helped me on more than one occasion now. I am going to boot up the work laptop and try your changes...
Ryan
phidelt1350
Offline Send Email
Apr 9, 2008
1:14 am

Yes. They did. :o) I'll respond to your other post separately. :o) Chris ... From: "Ryan" <ksu_stud@...> To: ajaxcfc@yahoogroups.com Sent: Tuesday, April...
Chris Jordan
c_s_jordan
Offline Send Email
Apr 9, 2008
3:26 pm

Chris, Thanks again for your help. Your suggestion did work and the ajax code picked up the value for locationID. But now my return function won't work. I'm...
Ryan
phidelt1350
Offline Send Email
Apr 9, 2008
1:10 pm

Ryan, The proper jQuery that you want is: $('#layerSpan').html(getResult); Check out this page (http://docs.jquery.com/Manipulation) for some useful jQuery...
Chris Jordan
c_s_jordan
Offline Send Email
Apr 9, 2008
3:38 pm

Hi Ryan, The .val() function works on an element that has a value attribute, like an input type text:    <input type="text" name="messageTitle"...
Chris Jordan
c_s_jordan
Offline Send Email
Apr 16, 2008
10:36 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help