Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6242513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:58:08+00:00 2026-05-24T11:58:08+00:00

I have a ext series of functions attached to a onClick handler that appear

  • 0

I have a ext series of functions attached to a “onClick” handler that appear to be badly broken in IE 8

I have an html submit button inside a form.

 <input id="myButton1 type="submit"> 

I do an Ext.get on the button ID

 var myButtonJS =Ext.get(myButton1);

I atttach the onClick as follows

  myButtonJS.on('click',function ()....)

In firefox 4 either a click on the button or pressing enter triggers the submit and the onClick. It works as expected every time in FF.

the onClick triggers a loop which polls a status bar that displays the progress of the submit process. onClick does not retrun a value it only acts as a trigger.

If I Change the the onClick to Submit then neither FF or IE triggers the js .

In IE 8 Clicking on the button triggers the onClick but not the submit and pressing enter triggers only the submit and not the onClick….changing from compatibility mode to quirks mode has no effect.

JSFiddle version of the code Fiddle

Could someone point out how to bring IE to heel and not break the working Firefox ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:58:09+00:00Added an answer on May 24, 2026 at 11:58 am

    I’m not very familiar with extJS, but here are my thoughts:

    • Are you returning a true/false value on the onclick? (I have no idea
      what the purpose for the onclick is, I take it’s for validation.)

    • Submitting with ENTER key will occur for all the browsers, you might
      want to change the event to onSubmit, then do you javascript and submitting the form using document.forms["myform"].submit();

    • If you still want to use the onClick, make sure your are submitting
      the form if the javascript click code is allowing the user to submit
      form using the above snippet.

    Let me know if this helped you.

    UPDATE

    See updated working link : http://fiddle.jshell.net/QzMVH/5/

    Your problem was that your progress bar tag was a <p> tag instead of a <div> . Change it and it should work fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

ExtJS 4.1 I have Ext.Form.Panel and Ext.Button inside of it bound to form with
I have read that gwt-ext is slow and it seems too bulky. How does
I have a view designed like that: Ext.define('MY.view.NotificationMails', { extend: 'Ext.grid.Panel', alias: 'widget.NotificationMailsPanel', id:
I have an Ext.form.Panel that calls a PHP page by passing search parameters. The
I have an Ext Js panel that I am adding to my main TabPanel.
I have an Ext Js listview that I am attempting to get rid, or
I have an Ext.FormPanel which has a Save button which is supposed to do
I have ext.net GridPanel on the page. GridPanel contains a button. How to force
I have a simple Ext JS 4 form inside a window (MVC style app).
I have an img tag in my webapp that uses the onload handler to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.