2 Replies Latest reply on Apr 3, 2009 6:50 AM by idesdema

    Related selects - ajax and cfc

    idesdema Level 1
      I am trying to do Ben Forta's tute on the related selects with cf8. The states will populate but then I get an error...

      "Error invoking cfc/select.cfc...."

      Two parts attached.

      Code first, then cfc
        • 1. Re: Related selects - ajax and cfc
          cfwild Level 1
          Just looking at the code, everything looks right. I'd run these functions and dump the results into a cfdump tag. I'd make sure you're getting output.

          You can also just output the query into the cfselect tag. Unsure of your rationale for using the array code/loop.

          Depending on your db you can also add in a blank row on top to make your initial "select" come up blank instead of your first "option". You can also use QueryNew to accomplish this. When you "bind" you can't use the built in tag features.

          • 2. Re: Related selects - ajax and cfc
            idesdema Level 1
            It was a query error.... I am considering the ticket closed because it is working now.

            Not gonna lie... cf8 ajax is really freegin sweet!

            Thanks for looking into it!