Reply to can't focus form with script

Your name:

Reply:


Posted by Joe Butler on 10/16/07 02:02

Any ideas why this form is not focusing on the text area control?
Doesn't focus in FF1 or IE6 - nothing else tested, since it should work with
these as google works (but with a different script).

scripts are allowed to run in FF and IE.


<a name="event16">
</a>

<form name="form16" class="event" style="width: 80%;"
action="/cal/index.php" method="post">
<a href="/cal/index.php?cancel=16">&nbsp;cancel&nbsp;</a>

<input value="save" type="submit">
<input name="idsave" value="16" type="hidden">
<textarea name="edit" rows="5" cols="60">df df</textarea>
</form>

<script type="text/javascript">
<!-- document.form16.edit.focus();
// -->
</script>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация