/* ------------------------------ Members User Data ------------------------------ */ function FetchUserData() { // Instantiate the Ajax Executor and have it get the data from the other end var fullListingsAjaxExec = new AjaxExecutor( "/universalinclude/code/modules/inlinedMembersManagement/UserDataExtractor.asp", DisplayUserData ); } /* ------------------------------ Change Password ------------------------------ */ // pPasswordURL is a querystring that contains all the values to be passed to the server page function ExecuteChangePassword( pPasswordURL ) { // Instantiate the Ajax Executor and have it get the data from the other end var changePasswordAjaxExec = new AjaxExecutor( pPasswordURL, PasswordChanged ); } /* ------------------------------ Delete Account ------------------------------ */ function DeleteAccount() { var isConfirmed = VerifyAction( "Are you sure you want to delete your account?" ); if ( isConfirmed ) { var accountDeletionAjaxExec = new AjaxExecutor( "/universalinclude/code/modules/inlinedMembersManagement/AccountDeleter.asp", AccountDeleted ); } } /* ------------------------------ Update Newsletter Subscriptions ------------------------------ */ function FetchNewsletterSubscriptions( pSitenames ) { // Instantiate the Ajax Executor and have it get the data from the other end ajaxURL = "/universalinclude/code/modules/inlinedMembersManagement/NewsletterLoader.asp" var newsletterSubscriptionsAjaxExec = new AjaxExecutor( ajaxURL, DisplayNewsletters ); } // Where pSitenames is a comma-delimited string of sites that we want the newsletters for function FetchNewsletterSubscriptions2( pSitenames ) { // Instantiate the Ajax Executor and have it get the data from the other end ajaxURL = "/universalinclude/code/modules/inlinedMembersManagement/NewsletterLoader.asp?newsletterList=" + pSitenames; var newsletterSubscriptionsAjaxExec = new AjaxExecutor( ajaxURL, DisplayNewsletters ); } /* ------------------------------ Update Contest Permissions ------------------------------ */ function UpdateContestPermissions() { alert( 'UpdateContestPermissions()' ); } /* ------------------------------ Utility Functions ------------------------------ */ function VerifyAction( pMsg ) { return confirm( pMsg ); }