For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > June 2004 > java dropdown transfer thingy question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author java dropdown transfer thingy question
M.E.

2004-06-25, 6:43 pm

I have explained at the linked below my problem. Basically it is a Java code
.. It is a dropdown box. when you select an item it goes to another text area
.. You can add items to that text area. Problem is when I summit it only
submits the first item in the textbox ignoring other items. How can I get it
to post all the items in the textbox (it is not really a text box, you need
to have a look.

Actual page suing this code is here. http://golfoz.com.au/designyourown.php
just near the Options (F. Golf Tour Destinations)


I have asked this in forums without help. below is more detail of my
question.
http://forums.cookienest.com/viewtopic.php?t=26926&sid=6876cd16f1fd26d5d5d8851182e3e971

Thanks in advance.




Virgil Green

2004-06-25, 6:43 pm

"M.E." <somewhere@downunder.com.au> wrote in message
news:cb7uvp$2ed4$1@otis.netspace.net.au...
> I have explained at the linked below my problem. Basically it is a Java

code
> . It is a dropdown box. when you select an item it goes to another text

area
> . You can add items to that text area. Problem is when I summit it only
> submits the first item in the textbox ignoring other items. How can I get

it
> to post all the items in the textbox (it is not really a text box, you

need
> to have a look.
>
> Actual page suing this code is here.

http://golfoz.com.au/designyourown.php
> just near the Options (F. Golf Tour Destinations)
>
>
> I have asked this in forums without help. below is more detail of my
> question.
>

http://forums.cookienest.com/viewtopic.php?t=26926&sid=6876cd16f1fd26d5d5d88
51182e3e971
>


First, you aren't using Java. You're using Javascript and they have little
to do with each other.

Second, You should post a working example here (or anywhere you expect to
get help).

Third, I did follow your link. While I didn't dig through all the code, I
did notice that the SELECT element you are using does not specify that it
allows multiple selections. I'd suggest looking at that. Just a guess on my
part from a cursory examination. While looking at that, I'd look into having
the options you add to the target box be marked as selected.

- Virgil


M.E.

2004-06-25, 6:44 pm

Thanks Virgil,

Obviously you can detect a novus user.

!. Thanks for clarifying

2.Working example was long so I provide a link instead. But I'll take your
advise next time.

3. Sorry I meant to say repeated options, which it does. How do I go about
options I add to the target box be marked as selected ?





"Virgil Green" <vjg@DESPAMobsydian.com> wrote in message
news:gKVBc.7926$Zu1.7734@newssvr24.news.prodigy.com...
> "M.E." <somewhere@downunder.com.au> wrote in message
> news:cb7uvp$2ed4$1@otis.netspace.net.au...
> code
> area
get[color=darkred]
> it
> need
> http://golfoz.com.au/designyourown.php
>

http://forums.cookienest.com/viewtopic.php?t=26926& sid=6876cd16f1fd26d5d5d88

> 51182e3e971
>
> First, you aren't using Java. You're using Javascript and they have little
> to do with each other.
>
> Second, You should post a working example here (or anywhere you expect to
> get help).
>
> Third, I did follow your link. While I didn't dig through all the code, I
> did notice that the SELECT element you are using does not specify that it
> allows multiple selections. I'd suggest looking at that. Just a guess on

my
> part from a cursory examination. While looking at that, I'd look into

having
> the options you add to the target box be marked as selected.
>
> - Virgil
>
>



Virgil Green

2004-06-25, 6:44 pm

"M.E." <somewhere@downunder.com.au> wrote in message
news:cbbfcv$1d6r$1@otis.netspace.net.au...
> "Virgil Green" <vjg@DESPAMobsydian.com> wrote in message
> news:gKVBc.7926$Zu1.7734@newssvr24.news.prodigy.com...
Java[color=darkred]
text[color=darkred]
only[color=darkred]
> get
>

http://forums.cookienest.com/viewtopic.php?t=26926& sid=6876cd16f1fd26d5d5d88

little[color=darkred]
to[color=darkred]
I[color=darkred]
it[color=darkred]
> my
> having
> Thanks Virgil,
>
> Obviously you can detect a novus user.
>
> !. Thanks for clarifying
>
> 2.Working example was long so I provide a link instead. But I'll take your
> advise next time.
>
> 3. Sorry I meant to say repeated options, which it does. How do I go about
> options I add to the target box be marked as selected ?
>


See this link:
http://www.devguru.com/Technologies/ecmascript/quickref/option.html

Bear in mind, I haven't tried this. I'm just taking a shot in the dark.

- Virgil


M.E.

2004-06-29, 3:56 am

Sorry Virgil, You lost me. It is not clear to me as I do not understand
Java.




"Virgil Green" <vjg@DESPAMobsydian.com> wrote in message
news:79fCc.7919$f5.3081@newssvr22.news.prodigy.com...
> "M.E." <somewhere@downunder.com.au> wrote in message
> news:cbbfcv$1d6r$1@otis.netspace.net.au...
> Java
> text
> only
I[color=darkred]
you[color=darkred]
>

http://forums.cookienest.com/viewto...16f1fd26d5d5d88
> little
> to
code,[color=darkred]
> I
> it
on[color=darkred]
your[color=darkred]
about[color=darkred]
>
> See this link:
> http://www.devguru.com/Technologies...ref/option.html
>
> Bear in mind, I haven't tried this. I'm just taking a shot in the dark.
>
> - Virgil
>
>



Tim Van Wassenhove

2004-06-29, 3:57 pm

In article <cbr2fu$1iii$1@otis.netspace.net.au>, M.E. wrote:
> Sorry Virgil, You lost me. It is not clear to me as I do not understand
> Java.


You even have problems with reading (eg: Java != ECMAScript).

--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
M.E.

2004-06-29, 8:56 pm

That's right Tim. It is a language I do not understand and I am trying to
help my Japanese friend's web site form. So Java to me it's bit like
Japanese to you probably.
Where do I use this Java != ECMAScript.

"Tim Van Wassenhove" <euki@pi.be> wrote in message
news:2kd7eoFmeldU1@uni-berlin.de...
> In article <cbr2fu$1iii$1@otis.netspace.net.au>, M.E. wrote:
>
> You even have problems with reading (eg: Java != ECMAScript).
>
> --
> Tim Van Wassenhove <http://home.mysth.be/~timvw>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com