I think that is exactly what I'm looking for 2wdh, although how would I do that with an input area? (Such as a search bar)
I don't know javascript, so I'm pretty helpless at this point.
Right now I have this:
Code:
<script>
function clearValue( object ) {
if ( object.innerHTML == 'search' ) {
object.innerHTML = '';
}
}
</script>
<input type="text" onFocus="clearValue( this );" name="search" value="search" id="search_text" size="14" />
__________________
╠ Please login or register to view this content. Registration is FREE
for cheap hosting solutions. ╣
Use the coupon code " SINGLECENT" to pay just a single cent for the first month!
Last edited by Madman340; 04-09-2010 at 05:21 PM..
|