Skip to main content
Known Participant
March 25, 2010
Answered

Using cfselect onBlur to reload page using a Flash form

  • March 25, 2010
  • 1 reply
  • 1806 views

I am having trouble trying to get <cfselect onBlur=""> to work inside of a <cfform format="flash"> using Flash. As soon as I put any value into the quotation marks, the Flash form no longer displays.

    This topic has been closed for replies.
    Correct answer Fernis

    CFSELECT does not support onblur. But why would you use that? A select control does not "blur" when you change the value. You can use onchange.

    <cfselect name="fish" onChange="getURL('newUrl.cfm?page='+fish.text)">

    ...

    --

    -Fernis - fernis.net - ColdFusion Developer For Hire

    1 reply

    Fernis
    FernisCorrect answer
    Inspiring
    March 25, 2010

    CFSELECT does not support onblur. But why would you use that? A select control does not "blur" when you change the value. You can use onchange.

    <cfselect name="fish" onChange="getURL('newUrl.cfm?page='+fish.text)">

    ...

    --

    -Fernis - fernis.net - ColdFusion Developer For Hire

    Known Participant
    March 25, 2010

    Even onchange didn't work. But I will try with the syntax that you are showing here.

    The reason I wanted to have the page refresh is when I choose a different select option, I wanted the page to go back to the database and based on that selection change the value displayed on the page for the number of items added for that selection.