Solved

input control and onfocus event with FireFox

Posted on 2011-03-18
6
385 Views
Last Modified: 2012-05-11
Hi,

I've a page with some input fields and need the onfocus event when a input control will be entered.
This works fine with IE but with FF 3.6.15 the event seems not to fire ...
The code I use is not such strange that I think there may be something wrong:
<input type="text" onblur="markAsBluredInnen(this, 'Anzahl', 0)" onfocus="markAsFocusedInnen(this)" value="1" class="excel-textbox">

Is there a now issue with FF and maybe a workaround?
With the right mouse button the event will be fired but this is not such useful for me ...

Thanks

Andre
0
Comment
Question by:andre72
  • 3
  • 3
6 Comments
 
LVL 16

Expert Comment

by:HagayMandel
ID: 35165178
Please provide a link or at least more code (javascript).
0
 

Author Comment

by:andre72
ID: 35165233
Please open:

Change the spinner Etagentüren to something greater than 0 (1 would be fine)
Choose the tab "Etagentüren" at the top right on the dark arrow
At the left side where had the spinner been before you can now see:
Beschreibung | Anzahl

The fields down of these headline are my none working textbox controls ...


0
 
LVL 16

Expert Comment

by:HagayMandel
ID: 35165347
Works OK in FF 3.6.15, Chrome 10.0.648.133 & IE7!!
I don't see the problem.
Try running it from another machine. there might be an issu with your FF configuration.
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:andre72
ID: 35165548
You can really change the values of the table at the included picture?
We tried out it with four machines with FF and no one works ...
table.png
0
 
LVL 16

Accepted Solution

by:
HagayMandel earned 500 total points
ID: 35170487
The problem is with the mouse event. Try using the keyboard, and you'll see that everything works.
I think that adding a 'onClick' event to that input field will cover the gap.
BTW, as it is, it doesn't work in Chrome as well.
0
 

Author Closing Comment

by:andre72
ID: 35179805
Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

816 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

12 Experts available now in Live!

Get 1:1 Help Now