Skip to main content
Inspiring
September 21, 2013
Question

fill cfselect with jQuery

  • September 21, 2013
  • 0 replies
  • 360 views

<cfselect name="MyList" id="MyList">

      <cfoutput query="MySP">

      <option value="#MySP.MyID#"

          <cfif (isDefined("form.MyID") AND form.MyID EQ MySP.MyID)>selected="selected"</cfif>>#MySP.MyCODE#</option>

       </cfoutput>

</cfselect>

I have above code and a cfseelct on the form.

I use cfoutpit query to fill the option list.

I would like to know does cfselect or standard slelect can fill option data using jQuery Ajax?

Your help and information s great appreciated,

Regards,

Iccsi,

    This topic has been closed for replies.