>Do you have a link we can look at?
I setup a test page: http://208.106.220.252/soundings/T8Reporttest.cfm
Click Test eval 1. You'll see it error on the undefined form item. If you
select some data, the error goes away. I assume this is because the course item
is on the page at that point. I guess it can't be read in the
document.getelementbyid() when the page first loads for some reason?
Here's my output from getCourses() in the cfc. You can see I indeed DO have an
id assigned to it.
<cfsavecontent variable="showCourseMenu">
<cfif getCourses.recordcount GT 0>
Course: <select name="course" id="course" onChange="populateInstructors()">
<option value="All">All</option>
<cfoutput query="getCourses">
<option value="#sectionid#"<cfif ARGUMENTS.course EQ "#sectionid#">
selected</cfif>>#section# - #title#</option>
</cfoutput>
</select>
<cfelse>
<p>No courses were found using the filters you selected.</p>
</cfif>
</cfsavecontent>
<cfreturn showCourseMenu>
I had tried your trick for not loading up the courses on page load, but got
some errors and gave up on that part. If I can just get this straightened out
I'll be a happy camper.
Thanks much,
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4