Default text in search text field


#1

Hello,

I am trying to figure out how I can introduce a default text in my
searchbox that is removed automatically when the user tries to write
something.

Is this possible to do it with some kind of ferret command? The only way
I can find I can do it is with some javascript code.

Thanks in advance

Makoto


#2

Makoto Gim wrote:

Hello,

I am trying to figure out how I can introduce a default text in my
searchbox that is removed automatically when the user tries to write
something.

Is this possible to do it with some kind of ferret command? The only way
I can find I can do it is with some javascript code.

Thanks in advance

Makoto

Yes you have to use JS code to make it simpler and faster.


Regards,

T.Veerasundaravel.
http://tinyurl.com/25vma7h
@veerasundaravel


#3

Hello Veera,

Thanks a lot, it worked perfectly!!!

regards

@makotogim

Veera S. wrote:

Makoto Gim wrote:

Hello,

I am trying to figure out how I can introduce a default text in my
searchbox that is removed automatically when the user tries to write
something.

Is this possible to do it with some kind of ferret command? The only way
I can find I can do it is with some javascript code.

Thanks in advance

Makoto

Yes you have to use JS code to make it simpler and faster.


Regards,

T.Veerasundaravel.
http://tinyurl.com/25vma7h
@veerasundaravel