Solved

Need a got focus feature for an asp page

Posted on 2009-05-13
4
252 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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 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