470,863 Members | 1,142 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,863 developers. It's quick & easy.

Document.Form Issue IE Specific

Hi, new here, wonder if anyone can help me out. Here's what I got.

IE doesn't seem to like this, but of course it works fine in Firefox. I trying to fill a textbox based on a selection made from a drop down menu. Any idea's? Am I missing something? It seems very simple, but apparently not.


<script language="javascript">
function fillA()
document.form1.printdept.value = document.form1.department.value;

<form method="post" name="form1">
<input type="text" class="hidetextbox" size="7" name="printdept">
<select class="noprint" name="department" onChange="fillA()">

Feb 9 '07 #1
3 1401
16,027 Expert Mod 8TB
Welcome to The Scripts (and thanks for using the code tags!)

Try specifying the value for each option, e.g.
[HTML]<option value="100">100</option>[/HTML]
Feb 9 '07 #2
Yeah that was it. It's always the little things.

Thanks again
Feb 9 '07 #3
16,027 Expert Mod 8TB
No problem, you're welcome.
Feb 9 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

12 posts views Thread by Kepler | last post: by
13 posts views Thread by Stumped and Confused | last post: by
136 posts views Thread by Matt Kruse | last post: by
23 posts views Thread by Stanimir Stamenkov | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.