|
Posted by judiphuongtu on December 20, 2004, 7:45 pm
Please log in for more thread options
I am trying to create an input form with a pull-down menu that allows a
user to add an item to the pull-down. I don't want the page to refresh
when I refresh the pull-down since there's entries on the form already.
Please help!
Thanks.
jptu
|
|
Posted by Neal on December 20, 2004, 11:01 pm
Please log in for more thread options
judiphuongtu wrote:
> I am trying to create an input form with a pull-down menu that allows a
> user to add an item to the pull-down. I don't want the page to refresh
> when I refresh the pull-down since there's entries on the form already.
> Please help!
So let me get this straight.
You want to design either a select drop-down or another type of dropdown,
and the user can look at it to see if options exist for them to choose or
not. Then if they don't see the option they want, they can magically,
without any reloading of a page, have the necessary code suddenly
materialize within the document to make that happen?
Do I have this right?
|
|
Posted by Harlan Messinger on December 21, 2004, 12:37 pm
Please log in for more thread options
> I am trying to create an input form with a pull-down menu that allows a
> user to add an item to the pull-down. I don't want the page to refresh
> when I refresh the pull-down since there's entries on the form already.
> Please help!
The only thing you can do is have the drop-down, with "Other" as the final
choice, and a text box afterwards with the label "If Other, describe here:"
or something like that.
|
|
Posted by Markus Ernst on December 21, 2004, 7:46 pm
Please log in for more thread options judiphuongtu@yahoo.com wrote:
> I am trying to create an input form with a pull-down menu that allows
> a user to add an item to the pull-down. I don't want the page to
> refresh when I refresh the pull-down since there's entries on the
> form already. Please help!
You can't do that with HTML, you need Javascript to create new options. The
option elements are handled as Objects, google for "new Option" or things
like that, or ask for more help in a Javascript group.
HTH
Markus
|
|
Posted by judiphuongtu on December 21, 2004, 12:15 pm
Please log in for more thread options
Markus Ernst wrote:
> judiphuongtu@yahoo.com wrote:
> > I am trying to create an input form with a pull-down menu that
allows
> > a user to add an item to the pull-down. I don't want the page to
> > refresh when I refresh the pull-down since there's entries on the
> > form already. Please help!
>
> You can't do that with HTML, you need Javascript to create new
options. The
> option elements are handled as Objects, google for "new Option" or
things
> like that, or ask for more help in a Javascript group.
>
> HTH
> Markus
I'll try the Javascript group. Thanks.
|
| Similar Threads | Posted | | How to periodically refresh content of my page? | June 11, 2006, 7:51 am |
| How to keep | July 31, 2007, 2:49 pm |
| JPG needs refresh button to appear | September 13, 2004, 4:21 pm |
| JPG needs refresh button to appear | September 13, 2004, 4:21 pm |
| dead images after refresh | August 23, 2004, 1:06 pm |
| Opera doesn't refresh IFrame | August 8, 2006, 9:52 am |
| Website needs refresh to change | May 15, 2007, 10:06 am |
| subwindow - refresh parent | July 23, 2007, 2:56 am |
| Is there an equivalent of META REFRESH in PDF? | October 19, 2007, 3:50 am |
| base tag has no effect over | November 2, 2004, 3:00 am |
|