Solved

Need a got focus feature for an asp page

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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