This is what I have at the moment
Code: Select all
<input type="text" name="dt" value="<?php echo $value; ?>" size="35" maxlength="10" onfocus="Javascript:document.findby.what[2].checked=true;" />
Code: Select all
onfocus="Javascript:document.findby.what[2].checked=true;"
Code: Select all
onfocus="if (this.value=='<?php echo $value; ?>'){this.value='';};return false;" onblur="if (this.value==''){this.value='<?php echo $value; ?>';return false;}"
Code: Select all
<input type="text" name="dt" value="<?php echo $value; ?>" size="35" maxlength="10" onfocus="Javascript:document.findby.what[2].checked=true;" />
Code: Select all
<input type="text" name="dt" value="<?php echo $value; ?>" size="35" maxlength="10" onfocus="Javascript:document.findby.what[2].checked=true;" onfocus="if (this.value=='<?php echo $value; ?>'){this.value='';};return false;" onblur="if (this.value==''){this.value='<?php echo $value; ?>';return false;}" />
Please, any help would be great.