Click here to Skip to main content
15,890,336 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Sending a form to your email address Pin
Manas Bhardwaj17-Aug-08 0:16
professionalManas Bhardwaj17-Aug-08 0:16 
GeneralRe: Sending a form to your email address Pin
Christopher Clarke17-Aug-08 12:42
Christopher Clarke17-Aug-08 12:42 
GeneralRe: Sending a form to your email address Pin
wizard 20220-Aug-08 17:46
wizard 20220-Aug-08 17:46 
AnswerRe: Sending a form to your email address Pin
naresh thakur4-Sep-08 3:13
naresh thakur4-Sep-08 3:13 
QuestionCultureInfo - Arabic Currency formatting Pin
Blumen16-Aug-08 0:06
Blumen16-Aug-08 0:06 
AnswerRe: CultureInfo - Arabic Currency formatting [modified] Pin
Jörgen Andersson16-Aug-08 10:42
professionalJörgen Andersson16-Aug-08 10:42 
GeneralRe: CultureInfo - Arabic Currency formatting Pin
Blumen16-Aug-08 18:27
Blumen16-Aug-08 18:27 
QuestionJavaScript change individual characters to upper case Pin
jonatec15-Aug-08 0:04
jonatec15-Aug-08 0:04 
Hi.

I want to type into a HTML text box so that after each character is entered, a JavaScript function will raise the character to upper case and after doing so the cursor position will remain after the character entered ready for the next character, if that makes sense, just the same as typing say into a Word document, but each time a letter is entered it is immediately upper cased. Problem with my code is that after the .toUpperCase() method the cursor leapes over to the end of the line, which is unsatisfactory. I don't want to use the onblur event to do the job instead the change needs to be dynamic as I type. For example text contains "FRED SMITH", I want to the position cursor in the space and enter in a middle name, which may be typed in lowercase, but end up with: "FRED MICHAEL SMITH". Any ideas please?

<pre>
<html></head>
<body>
<input id='txt1' value='FRED SMITH' onkeyup='txt1_onkeyup()'>
</body>
</html>
<script language='javascript'>
function txt1_onkeyup()
{
if(
event.keyCode == 35 ||
event.keyCode == 36 ||
event.keyCode == 37 ||
event.keyCode == 39
) // ignore cursor keys.
{return;}
else
{
if (event.keyCode != 8)
{
var o=document.all;
o.txt1.value = o.txt1.value.toUpperCase();
}
}
}
</script>
</pre>
AnswerRe: JavaScript change individual characters to upper case Pin
astanton197815-Aug-08 7:29
astanton197815-Aug-08 7:29 
GeneralRe: JavaScript change individual characters to upper case Pin
Perspx15-Aug-08 10:58
Perspx15-Aug-08 10:58 
GeneralRe: JavaScript change individual characters to upper case Pin
jonatec18-Aug-08 0:19
jonatec18-Aug-08 0:19 
QuestionDevelope Web service Pin
Hemant Thaker14-Aug-08 21:45
Hemant Thaker14-Aug-08 21:45 
AnswerRe: Develope Web service[Ignore Repost] Pin
Manas Bhardwaj15-Aug-08 1:43
professionalManas Bhardwaj15-Aug-08 1:43 
QuestionCustom data types in web services and web references Pin
Yellowseed14-Aug-08 11:58
Yellowseed14-Aug-08 11:58 
AnswerRe: Custom data types in web services and web references Pin
Shog914-Aug-08 14:35
sitebuilderShog914-Aug-08 14:35 
GeneralRe: Custom data types in web services and web references Pin
Yellowseed15-Aug-08 3:58
Yellowseed15-Aug-08 3:58 
QuestionRemeber input elements when changing page Pin
William Engberts14-Aug-08 3:53
William Engberts14-Aug-08 3:53 
AnswerRe: Remeber input elements when changing page Pin
Mohammad Dayyan15-Aug-08 11:20
Mohammad Dayyan15-Aug-08 11:20 
QuestionAJAX : Retrieve Specific Tag by id & count tag from external html Pin
Lu5ck14-Aug-08 3:24
Lu5ck14-Aug-08 3:24 
AnswerRe: AJAX : Retrieve Specific Tag by id & count tag from external html Pin
SamRST14-Aug-08 3:52
SamRST14-Aug-08 3:52 
AnswerRe: AJAX : Retrieve Specific Tag by id & count tag from external html Pin
Shog914-Aug-08 9:41
sitebuilderShog914-Aug-08 9:41 
GeneralRe: AJAX : Retrieve Specific Tag by id & count tag from external html Pin
Lu5ck14-Aug-08 16:29
Lu5ck14-Aug-08 16:29 
QuestionDynamic row adding..... Pin
SamRST14-Aug-08 1:50
SamRST14-Aug-08 1:50 
AnswerRe: Dynamic row adding..... Pin
SomeGuyThatIsMe14-Aug-08 7:16
SomeGuyThatIsMe14-Aug-08 7:16 
GeneralRe: Dynamic row adding..... Pin
SamRST16-Aug-08 19:52
SamRST16-Aug-08 19:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.