• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Firefox problem

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
simple question firefox is not calling my function when I put
onkeydown="specialkeypressed();" on my button.
But it works fine in IE.

my function is

this




WTF
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Works for me. Did you do a hard refresh?

Eric
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hard refresh???

What do you mean by this.
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.google.com/search?q=hard+refresh
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you have a onkeypress and onkeydown events on the same html tag in firefox.
Because they work seperately but when I have two or more onkey...etc events on the same element it doesn't work usually just the onkeypress works and the other 2 onkeydown , onkeyup doesn't work?

In IE. it works you can have more then one onkey...etc on a html element.

Curious what the problem is.

What I am trying to do is get the current text on the textbox but when some one pushes delete or backspace the method gets the previous text on the textfield before the delete modifications where made....etc thats my problem.

thanks for your help
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should work, just do not use alert to test if they are working. That is what console and firebug is for.

Eric
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok,
Is their a javascript debugger for IE.

I know firefox has firebug... But it is hard to debug in IE.

Thanks I will look more into this issue either way I found a work around.
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IE8 has a built in debugger and their is Firebug lite.

Eric
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IE. has a built in debugger?

When I view the details of any error it only gives the line number...etc
I would like away to step thru the javascript code like I can do with firefox.

Basically their was an plugin for eclipse to debug firefox / javascript.
But I need to debug IE as well ....

Doesn't have to be in eclipse but it must be something I can use to set break points , step thru the code ,...etc

Like a regular debugger would do for c/c++ like gdb ,...etc

Anybody know?

Thanks for any info
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IE8 Hit F12

And it is possible to step through code in other versions of IE. Just have to have an IDE that can do it.

Eric
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool I didn't know that existed for IE.
Awsome F12!!!

Is their something in firefox built in that would do the equivalent.
I tried F12 on firefox but it doesn't bring up any built in debugger?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Firefox, you need Firebug and that opens with Ctrl-F12
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where can I get FireBug is this not built into the firefox browser?
Is their no debugger built into the firefox browser?

Thanks

Also is their a plug in for eclipse gallieo that allows you to use IE consol debugger to debug the js files in eclipse.

Anyway thanks this was eye opening to know their was a debugger built in to IE all along.
 
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A simple search reveals that Firebug is a Firefox plugin.
 
reply
    Bookmark Topic Watch Topic
  • New Topic