Jump to content

[SOLVED] Auto select field


emediastudios

Recommended Posts

most likely javascript is what your looking for - something like this:

 


<script language="javascript">
function readyform()
{
document.formNameHere.formFieldNameHere.focus();
}
window.onload=function()
{
readyform();
}
</script>

</head><body>

<form name="formNameHere">
<input type="text" name="formFieldNameHere">
</form>

most likely javascript is what your looking for - something like this:

 


<script language="javascript">
function readyform()
{
document.formNameHere.formFieldNameHere.focus();
}
window.onload=function()
{
readyform();
}
</script>

</head><body>

<form name="formNameHere">
<input type="text" name="formFieldNameHere">
</form>

Your the man!! ;)

Thanks heaps

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.