Click here to Skip to main content
15,922,325 members
Home / Discussions / Web Development
   

Web Development

 
GeneralParser Error on Localhost Pin
gaSquare3-Mar-05 5:04
gaSquare3-Mar-05 5:04 
GeneralRe: Parser Error on Localhost Pin
dazzler215-Apr-05 15:31
dazzler215-Apr-05 15:31 
GeneralRe: Parser Error on Localhost Pin
dazzler217-Apr-05 17:34
dazzler217-Apr-05 17:34 
GeneralASP not working Pin
tincatinca3-Mar-05 0:14
tincatinca3-Mar-05 0:14 
GeneralMultiple actions in one button Pin
Bhuvanish2-Mar-05 10:39
Bhuvanish2-Mar-05 10:39 
GeneralRe: Multiple actions in one button Pin
Shog92-Mar-05 10:52
sitebuilderShog92-Mar-05 10:52 
GeneralRe: Multiple actions in one button Pin
Bhuvanish3-Mar-05 7:02
Bhuvanish3-Mar-05 7:02 
GeneralFocus and onKeyUp event problem Pin
hwait2-Mar-05 3:22
hwait2-Mar-05 3:22 
Hello, people!
I know it was asked many times, but I haven't the decision yet.
The situation:
I have 3 frames, f1, f2 and f3. f3 has a link with code:
<a href='javascript:f1.func1();'>Smth.</a>
f1.func1() makes the form in f2, with one input field, and sets focus to the field. This all works ok. I need to catch the enter and arrows keys, therefore I catch onKeyUp event. The code for it:
<input name='name' id='1-12' type='text' class='input' onKeyUp='t1.keyLinePressed(event.keyCode,this);' onClick='t1.selField(this.id)' onBlur='if (this.value==0)t1.keyLinePressed(13,this);' onChange='t1.keyLinePressed(13,this);'>

The selField function sets the focus to the field using the:
timer=setTimeout("t2.form."+name+".focus();t2.form."+name+".select();",100);
where the name is a name of the input field.
It works fine too. The keyLinePressed() function rises up every time I push a key.

The code catches next situations:
1) When user clicks the link again (form already has the input field) system do nothing, only back the focus to the field.
2) When user pushes Enter key with wrong inputs system alerts him and also backs the focus to the field.

And here is the problem:
the focus moves back, and selects the text inputed, user can type new digits, BUT the onKeyUp doesn't rise! If I move focus by pressing TAB button - the onChange rises.
I didn't found the answer here in the conference. I don't know what to do.
Any Ideas?
Thanx

Generalinvalid syntax error Pin
ABBASI_RA2-Mar-05 3:04
ABBASI_RA2-Mar-05 3:04 
GeneralIs there any way to autopostback immediately when textbox's content is changed Pin
Kelvin Ang2-Mar-05 2:39
Kelvin Ang2-Mar-05 2:39 
GeneralRe: Is there any way to autopostback immediately when textbox's content is changed Pin
ABBASI_RA2-Mar-05 2:54
ABBASI_RA2-Mar-05 2:54 
GeneralRe: Is there any way to autopostback immediately when textbox's content is changed Pin
Kelvin Ang2-Mar-05 3:14
Kelvin Ang2-Mar-05 3:14 
GeneralRe: Is there any way to autopostback immediately when textbox's content is changed Pin
ABBASI_RA2-Mar-05 3:22
ABBASI_RA2-Mar-05 3:22 
GeneralRe: Is there any way to autopostback immediately when textbox's content is changed Pin
Kelvin Ang2-Mar-05 13:21
Kelvin Ang2-Mar-05 13:21 
GeneralPrint HTML Pin
Yulianto.1-Mar-05 16:03
Yulianto.1-Mar-05 16:03 
GeneralRe: Print HTML Pin
Andy Brummer2-Mar-05 9:14
sitebuilderAndy Brummer2-Mar-05 9:14 
GeneralI WANT ASP object listing data. Pin
tinkyawoo_mm1-Mar-05 10:10
tinkyawoo_mm1-Mar-05 10:10 
GeneralIf you can help please do. Pin
Javolin1-Mar-05 7:51
Javolin1-Mar-05 7:51 
GeneralRe: If you can help please do. Pin
theJazzyBrain1-Mar-05 21:53
theJazzyBrain1-Mar-05 21:53 
GeneralRe: If you can help please do. Pin
V.1-Mar-05 22:53
professionalV.1-Mar-05 22:53 
GeneralUnable to access Javascript Variable in JSP Scriptlet Pin
VijayJF1-Mar-05 1:46
VijayJF1-Mar-05 1:46 
GeneralRe: Unable to access Javascript Variable in JSP Scriptlet Pin
xxrl9-Mar-05 19:52
xxrl9-Mar-05 19:52 
Generalfile upload max size Pin
JKroschel28-Feb-05 8:55
JKroschel28-Feb-05 8:55 
GeneralcreateDocumentFromUrl Pin
Jack Clift27-Feb-05 21:12
Jack Clift27-Feb-05 21:12 
GeneralClient Window Size Settings Pin
Roger Wright26-Feb-05 21:59
professionalRoger Wright26-Feb-05 21:59 

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.