
29.02.2008, 13:44
|
|
Флудер
Регистрация: 20.11.2006
Сообщений: 3,316
Провел на форуме: 16641028
Репутация:
2371
|
|
PHP код:
<script type='text/javascript'>
function highlight(element)
{
if(element.style.backgroundColor != '#FFFFCC')
element.style.backgroundColor = '#FFFFCC';
else
if(element.style.backgroundColor == '#FFFFCC')
element.style.backgroundColor = '#FFF';
}
</script>
<input type="text" onFocus="highlight(this)" onBlur="highlight(this)"/>
|
|
|