Solved

how to change a input box's cursor?

Posted on 2004-10-08
20
556 Views
Last Modified: 2011-09-20
Hi Experts,

I would like to know if I can change a input text's cursor. I mean not the mouse cursor, but the "blinking thin vertical line" in the input box. I want to change it to a block so It's easy for the operator to see it. Is that possible by Javascript, or Css, or I can do it by some setting for IE ? I only need it work for IE.

Thanks.
0
Comment
Question by:jackiechen858
  • 8
  • 5
  • 3
  • +2
20 Comments
 
LVL 13

Accepted Solution

by:
cLFlaVA earned 125 total points
Comment Utility
Nope.
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
Only cursor you can change is the mouse cursor.
0
 
LVL 12

Expert Comment

by:minichicken
Comment Utility
Damn... that was nice and fast... :p
0
 
LVL 11

Expert Comment

by:raj3060
Comment Utility
My guess would be check IE settings.
Let me check will be right back..
-Raj
0
 
LVL 11

Expert Comment

by:raj3060
Comment Utility
0
 
LVL 11

Expert Comment

by:raj3060
Comment Utility
oops, I guess that was something else.....LOL
0
 
LVL 7

Author Comment

by:jackiechen858
Comment Utility
I refuse to accept the answer :-(
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
JackieChen858-

I suggest you read the Tips on Questions and Answers section of this site.  Here's an excerpt from it:


Sometimes, you'll get an answer that isn't what you want to hear; that doesn't make it a bad answer. When you ask a question, the assumption is that you don't know the answer, so how you ask the question is important. If you ask "how do I keep my HTML code hidden", the only answer that is legitmate is "don't post in on the Internet" -- and the fact that you don't like it carries no weight. Further, the fact that you offered points means that the person who first tells you "you can't do that" is correct, and deserves the points.
0
 
LVL 7

Author Comment

by:jackiechen858
Comment Utility
hmm, don't be so serious. I am just try to be funny ( although it failed) . Sure i will give you the point if there is really no way to do it. But I wil still hold it for while, in case there are some genius who can find some super smart way to do it.
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
That's cool.  Just wanted you to understand that sometimes the answer is "you can't".  I really don't care about the points.

FYI - I also did a full search on this site and another, and didn't find any answers.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 33

Expert Comment

by:snoyes_jw
Comment Utility
You could probably write some insane JavaScript that would watch key presses and highlight the appropriate character, which would accomplish roughly the same thing, but that's probably needlessly complicated.
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
but then, wouldn't subsequent keypresses replace the highlighted character?
0
 
LVL 33

Expert Comment

by:snoyes_jw
Comment Utility
yep, so the insane JavaScript would have to handle that by storing the highlighted character and replacing it.  And then you'd have to tackle the issue of what if they really wanted to replace that character...ick.  I think we'll stick with the skinny line, and let people put on their glasses.
0
 
LVL 7

Author Comment

by:jackiechen858
Comment Utility
Thanks a lot.  I did some research and now I know it's called caret, and I can't do too much about it.
0
 
LVL 33

Expert Comment

by:snoyes_jw
Comment Utility
Hmm... I though ^ was a caret.
0
 
LVL 7

Author Comment

by:jackiechen858
Comment Utility
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
^ is a caret.

Micro$oft is one huge collaborative idiot.
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
jackie:

IF that worked, it would only work on your local machine.  no good for web pages.
0
 
LVL 7

Author Comment

by:jackiechen858
Comment Utility
Yeah, it's a intranet project, so It doesn't matter. This is the reason if it can be done by changing IE setting, I still can go with it. Now I am thinking if i really want to do it, I can write a activex control to do the TextBox thing, then I can use whatever caret or cursor I want. But since my boss didn't pay me enough, I already decided to let the operators to be blind, and let me enjoy my long weekend :-)
0
 
LVL 13

Expert Comment

by:cLFlaVA
Comment Utility
ahh, you are getting wiser by the second...

i despise you for having a long weekend, though...

:)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now