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
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