4 Replies Latest reply on May 1, 2009 12:31 PM by Waqas Arshad

    getting confirmation on ajax call

    Waqas Arshad Novice

      I am having a small problem. I wrote a javascrpit function to get the confirmation from the user for deletion or updating the record.

      I called that function from onsubmit = "function" of the form tag.
      I also have a h:selectOneMenu that updates some fields using a4j. Now the problem is that when i change the h:selectOneMenu it also calls that confirmation function. I only want to call that function when button is pressed and whole forms submit.
      Any Suggestion..?