3 Replies - 827 Views - Last Post: 19 October 2009 - 11:42 AM Rate Topic: -----

#1 ramesh866  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 91
  • Joined: 03-October 09

highlighting a text box in asp.net

Posted 11 October 2009 - 11:28 PM

i have seen text box getting highlighted in gmail and some websites, when the focus is on the particular textbox. I want to know how it is done. By the way am using c# lang.
Is This A Good Question/Topic? 0
  • +

Replies To: highlighting a text box in asp.net

#2 Momerath  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 995
  • View blog
  • Posts: 2,390
  • Joined: 04-October 09

Re: highlighting a text box in asp.net

Posted 12 October 2009 - 12:10 AM

View Postramesh866, on 11 Oct, 2009 - 10:28 PM, said:

i have seen text box getting highlighted in gmail and some websites, when the focus is on the particular textbox. I want to know how it is done. By the way am using c# lang.

It's done in javascript by changing the text box attributes on the mouseover event.
Was This Post Helpful? 1
  • +
  • -

#3 ramesh866  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 91
  • Joined: 03-October 09

Re: highlighting a text box in asp.net

Posted 12 October 2009 - 09:18 AM

View PostMomerath, on 11 Oct, 2009 - 11:10 PM, said:

View Postramesh866, on 11 Oct, 2009 - 10:28 PM, said:

i have seen text box getting highlighted in gmail and some websites, when the focus is on the particular textbox. I want to know how it is done. By the way am using c# lang.

It's done in javascript by changing the text box attributes on the mouseover event.

thx a loads:)
By the way can you give any example?

This post has been edited by ramesh866: 12 October 2009 - 09:26 AM

Was This Post Helpful? 0
  • +
  • -

#4 ramesh866  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 91
  • Joined: 03-October 09

Re: highlighting a text box in asp.net

Posted 19 October 2009 - 11:42 AM

thx for not helping me out :). this can be done by css itself.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1