• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Events: onblur events kills onclick event some time vice versa

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have Javascript,xsl code, My functionality is, onBlur event of text box validation service will be called through AJAX. Also when I click on submit button I have to submit the form.
Now Situation is, When i enter value in textbox and without clicking anywhere i directly click on submit button then some time Onblur function get called and No onClick function.
And strange part is its opposite some time.
As I understand, It has to do with Events and AJAx request,
Can anyone please suggest why events are override..
Please, thanks in advance.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Without seeing code it is impossible to tell what is going on. Make a small example that shows the problem.
 
reply
    Bookmark Topic Watch Topic
  • New Topic