I think I might've fixed it james. I did a few ugly little things.  :)

First off, I did this in the JS call:

 function populateInstructors() {
        if (document.evalFilterForm.course)
        var course = document.getElementById("course").value;
        else
        var course = "All";
        ;
etc.. etc..

Then in my cfc, I added a <cfelse>, sticking a hidden input in there: 

 <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>
  <input name="course" id="course" type="hidden" value="All">
  <p>No courses were found using the filters you selected.</p>
  </cfif>
  </cfsavecontent>   
  <cfreturn showCourseMenu>

Preliminary tests show it working so far... I'll keep you posted.

Thanks much James!

Will

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281430
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to