Solved

input control and onfocus event with FireFox

Posted on 2011-03-18
6
391 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

695 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