IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this community and its apps will no longer be available. More details available on our FAQ.
Topic
  • 1 reply
  • Latest Post - ‏2011-08-14T03:22:01Z by SystemAdmin
keerun
keerun
4 Posts

Pinned topic Function not called in second attempt

‏2011-07-07T05:51:23Z |
I have a submit button that calls a function in Ajax. When I click the button for the first time, the function is called. But when I click the button second time, it does not work. Can any one suggest where I got messed up?
Updated on 2011-08-14T03:22:01Z at 2011-08-14T03:22:01Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1140 Posts

    Re: Function not called in second attempt

    ‏2011-08-14T03:22:01Z  
    Does the Submit button invoke a JavaScript function to send an Ajax request? A Submit button is not required with Ajax and an HTML event may be used.