![]() | |
#11
| |||
| |||
|
|
sheldonlg a écrit : http://www.sheldonlg.com/multiplesel.../multiple5.php Apparently no problem with focus (Fx 2 Mac) |
#12
| |||
| |||
|
|
SAM wrote: is your div in same form that the form in rear when this div comes at front ? No, a form was not needed for the complete screen since there is no submittal anywhere. It is all with AJAX. |
|
This, though, is in its own form in order to use the multiple selection stuff. |
|
does that happens also with Firefox ? I haven't even done IE. I do all my development first on Firefox because of its tremendous developer tools. |
#13
| |||
| |||
|
|
sheldonlg a écrit : I have a problem with not seeing the current focus while in a particular screen in a my app. The focus does not show for a type=text or textarea. I have tried to reproduce this problem in a test application, but have not been successful is doing that. The actual app has a screen which is displayed on a template and the contents are the return from an AJAX call. In that content there is a hidden block. Clicking on a button in the displayed area causes that hidden block to appear (with a gray background in a fixed location on the screen). It is in that area that I have both text fields and text areas. I also have dropdown lists and buttons. Only the text areas and text fields do not display focus when there, but I can type into them so I know that focus is there. CSS (for others than IE) : input { background: silver } input:focus { background: white } HTML : input onfocus="if(IE) this.background='white';" onblur="if(IE) this.background='';" id="hiddenInput" name="Name" JS : IE = false; /*@cc_on IE=true; @*/ is your div styled visibity: hidden; or display: none; ? is your div in same form that the form in rear when this div comes at front ? does that happens also with Firefox ? |
#14
| |||
| |||
|
|
When that form comes up, the cursor everywhere is that left-up pointing arrow. When the mouse is over a text field or a text area element, the cursor changes to a vertical I-beam. However, the blinking vertical line does not appear in the text field or the text area if I click on them to set focus there. However, focus is set there as I can type in information. I want to have that blinking vertical bar on as visual feedback as to where the focus is. |
#15
| |||
| |||
|
|
On Mar 18, 7:14 pm, sheldonlg <sheldonlg> wrote: When that form comes up, the cursor everywhere is that left-up pointing arrow. When the mouse is over a text field or a text area element, the cursor changes to a vertical I-beam. However, the blinking vertical line does not appear in the text field or the text area if I click on them to set focus there. However, focus is set there as I can type in information. I want to have that blinking vertical bar on as visual feedback as to where the focus is. It is difficult to see what the problem is without an exact-ish example. |
|
Did you try, instead of changing visibility from hidden to visible, to change with JavaScript the value of inner.HTML |
#16
| |||
| |||
|
|
It is difficult to see what the problem is without an exact-ish example. I know. I wish I could reproduce it here. Did you try, instead of changing visibility from hidden to visible, to change with JavaScript the value of inner.HTML No, there is much to much to generate to then use an innerHTML setting. |
#17
| |||
| |||
|
|
No, there is much to much to generate to then use an innerHTML setting. |
#18
| |||
| |||
|
|
I tried the CSS stuff. That does what it says, but it doesn't solve my problem. Let me more precise. When that form comes up, the cursor everywhere is that left-up pointing arrow. When the mouse is over a text field or a text area element, the cursor changes to a vertical I-beam. |
|
However, the blinking vertical line does not appear in the text field or the text area if I click on them to set focus there. |
![]() |
| Thread Tools | |
| Display Modes | |
| |