No announcement yet.

Confirmation Message in onClick Event?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Confirmation Message in onClick Event?

    Hi !
    I have been trying to display a confirm message in a onClick event in a grid application, but I found out that i cannot use sc_confirm()?

    I need to display a confirmation message to ask it the user really want to perform that action and then perform different action depends on his/her choice.

    Is there any way to do this?
    Last edited by Brian; 10-30-2014, 11:41 PM.

  • #2
    You can add a button to perform the action, and your confirmation message is one of the properties. So this is the most easy way.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development /


    • #3
      Thanks for the reply.
      But what if the action cannot be performed on button?
      I mean, if i create a image link as button on each row, it is not considered as a button, is there any way to display a confirmation message in this case?