Refresh dropdown list

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Refresh dropdown list

    On a cfform I have a cfselect dropdown .

    The situtation is that when an option isn't listed I have a "Add button" next
    to the drop down that opens a new window where the user can add an option to
    the DB that the select list is created from.

    I won't use a combo box ( some people will create 5 versions of the same
    option just so they won't have to look at the list and there goes normalization
    etc --been there had that problem).

    I need to refresh this dropdown list when the new option item has been added.
    Is there a CF method of doing this or a Javascript that will do it??

    And Thanks

    jbogren Guest

  2. Similar Questions and Discussions

    1. Dropdown list
      I would like to display 15 items (lines) in the dropdown list, but by default the list displays only 11 lines. How can I have all the 15 items...
    2. Dropdown Property List??
      I'm writing an aspx server control and I need to have a property that displays a dropdown list of things I have in an arraylist. I'm trying to do...
    3. Tool Tip for DropDown list
      Hi, I have a dropwnlist of fixed width. The item names in the dropdown list are quite big. The Tooltip property for a dropdownlist control...
    4. dropdown list can't selected.
      I have a EditItemTemplate in a datagrid that contain a dropdown that bound to a dataset. In that grid I have a ItemCreated to handle the dropdow...
    5. Binded DropDown list
      Hi I'm using a datagrid with a dropdown list in it. The dropdown list is filled with values from SQL database, it's autopostback property is set to...
  3. #2

    Default Re: Refresh dropdown list

    You can use a meta tag to tell the page to refresh on a set interval, or
    when the popup window closes it can call the window.opener (I think that is
    the js reference) and tell it to refresh..

    hth,
    ---nimer


    "jbogren" <webforumsuser@macromedia.com> wrote in message
    news:cutr6m$cms$1@forums.macromedia.com...
    > On a cfform I have a cfselect dropdown .
    >
    > The situtation is that when an option isn't listed I have a "Add button"
    > next
    > to the drop down that opens a new window where the user can add an option
    > to
    > the DB that the select list is created from.
    >
    > I won't use a combo box ( some people will create 5 versions of the same
    > option just so they won't have to look at the list and there goes
    > normalization
    > etc --been there had that problem).
    >
    > I need to refresh this dropdown list when the new option item has been
    > added.
    > Is there a CF method of doing this or a Javascript that will do it??
    >
    > And Thanks
    >

    Mike Nimer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139