I am using Drupal 7. In my list I have 2000 subscribers. Now I want a confirmation box before executing the form. The only issue is If I have more than 20 users I want the confirmation form to ask the question” Do you want to continue with 20 users’ If the answer is yes, then perform some php operation on it else go to the main page.
Now I understand that $ operation and exit_operation are my php functions and wont execute in my js file. I just want to know how to execute these functions.