Need a Javascript expert

They have: 14 posts

Joined: Nov 2000

I am working on a script and need an expert to help me get it to do what I want. I have a text box in a form and the values are set by a user entered text and saved as a cookie. The contents of the form are sent by e-mail. What I am trying to do is to be able to have the user select which items in the text box they want to send by clicking on the text. This would be multiple items. Here is the code I am working on.

document.write('Please enter '
+ 'the supplies you need '
+ 'Remember to save any changes to your supply list '
+ ''+deComma(GetCookie("supply"))
+'\n'
+ ''
+ '\n');

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Why don't u use a ?
Then you can select multiple items using [CTRL]

They have: 14 posts

Joined: Nov 2000

I was thinking of that and being fairly new to js I was looking through my books and could not find any reference of how to make this work with my cookie. In all the examples I come across the select menu items are defined right in the code.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.