[Javascript] I'd like to ask you one more time...
William T. Simmons
tsimmons at employmentlawadvisors.com
Thu Feb 6 18:17:44 CST 2003
Chris,
That e-mail link on that page is to this list. I don't know if the person who posted that message is monitoring the list now. There may be a way to find out what his direct e-mail address is, but someone else will probably have to help you with that. Good luck!
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com
----- Original Message -----
From: Chris Tammes
To: javascript at LaTech.edu
Sent: Thursday, February 06, 2003 5:02 PM
Subject: [Javascript] I'd like to ask you one more time...
I send you this mail before. I want to ask you once again for the script. I tried myself, but it didn't work out. I hope you can help me.
Would you please send me the script?
Thanks,
Chris Tammes
Holland
----- Original Message -----
From: Chris Tammes
To: javascript at LaTech.edu
Sent: Tuesday, February 04, 2003 5:41 PM
Subject: script request PassSelectOneText(form)
Hi there,
At this link: https://lists.latech.edu/pipermail/javascript/2002-August/003965.html
I found a script of yours and it really helped me out. You said you could mail such for select-multiple. I would ask you to mail me the script because It would would be of great help.
If the links doesn't work, this is the script I talk about:
<script LANGUAGE="JavaScript">
<!--
function PassSelectOneText(form) {
for (var i = 0; i < form.elements.length; i++) {
if (form.elements[i].type == 'select-one') {
GetSelectOneText(form,form.elements[i]);
}
}
function GetSelectOneText(form,selectOne) {
var text = selectOne.options[selectOne.selectedIndex].text;
var exists = false;
var name = selectOne.name+'Text'
for (var i = 0; i < form.elements.length; i++) {
if (form.elements[i].name == name) {
exists = true
}
}
if (!exists) {
form.innerHTML += '<input type="hidden" name="' + name + '">'
}
form.elements[name].value = text;
}
}
// -->
</script>
Thanks,
Chris Tammes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030206/1cac0478/attachment.htm>
More information about the Javascript
mailing list