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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 #1555 of 1584 |
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




Tue Apr 8, 2008 9:47 pm

phidelt1350
Offline Offline
Send Email Send Email

Forward
Message #1555 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