I have a Cold Fusion based calendar. I have(graphic) button on it that allows a user to delete stuff off the calendar when clicking it. I want a "are you sure"? I know I can use javascript, but my problem arises since the "button" has to pass javascript variables through url parameters.
<a href="calendar2_action.cfm?delete=yes&EventID=#Events.EventID#&month=#url.month#&day=#url.day#&year=#url.year#&type=#url.type#"><img src="images/delete.gif" border="0"></a>
How can I make this work by passing the url variables and poping up a "Are you sure" box with an OK and CANCEL option?
<a href="calendar2_action.cfm?delete=yes&EventID=#Events.EventID#&month=#url.month#&day=#url.day#&year=#url.year#&type=#url.type#"><img src="images/delete.gif" border="0"></a>
How can I make this work by passing the url variables and poping up a "Are you sure" box with an OK and CANCEL option?