Text duplicating when web page disabled
When I disable my webpage the text in my edit fields is duplicating. e.g. ABC changes to ABCABC. This only seems to happen when I have my edit fields in a . A smaple of my code is provided. I'd appreciate any help. Thanks, B
Test
<script type="text/javascript">
</script>
input
*
Busy posted this at 21:59 — 3rd July 2003.
He has: 6,151 posts
Joined: May 2001
whats type=edit?
you'll also need to fix your table, add a rowspan or colspan as your first table row has one cell, but second has two.
you should also either remove the slash '/' from the input boxs or put a space between content and slash, like: .. stuff />
sitebasics posted this at 11:08 — 7th July 2003.
They have: 4 posts
Joined: Jul 2003
Looks like the form.disabled is causing the problem. I don't think the browser is recognizing the .disabled piece, because it's not part of the browser object hierarchy. Use a standard js var instead -- without the dot.
Try this -- it doesn't throw the error for me
Test
<script type="text/javascript">
</script>
input
*
Kay Stoner
[email protected]
www.sitebasics.net
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.