Solved

Need a got focus feature for an asp page

Posted on 2009-05-13
4
251 Views
Last Modified: 2013-11-07
Is there a way that I can get a text box to change to a given character if I put focus on the text box.  I would like the default text to be O and when I select the box it goes to X.  Thanks in advance.
0
Comment
Question by:mwhodges
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:Aanvik
ID: 24378166
Yes. with Java script you can do so.
0
 

Author Comment

by:mwhodges
ID: 24378176
I dont know java do you have any samples I could draw from?
0
 
LVL 5

Accepted Solution

by:
Aanvik earned 250 total points
ID: 24378283
0
 

Author Comment

by:mwhodges
ID: 24378531
I tried it and it just tells me on off focus wether my entry was a Y or N. I need it to where when I select the text box it automatically changess it to an x.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question