user button

Discuss MySQL Ajax Table Editor

user button

Postby ashudson » Sat Jul 20, 2019 10:05 am

protected function initiateEditor($section) {
.....
$userButtons[] = array(
'label' => 'RETURN to '.$sectionname,
'button_info' => 'onclick="goToPageX('.$section.');" style="color: GREEN; font-weight:bold;"');
.....
}

and the function goToPageX is

function goToPageX(X)
{
window.location="https://www.ballymenafestival.net/userpages/user/seditclasses.php?action=Proceed&cid="+X;
}

My question is: where do I put the function?
ashudson
 
Posts: 16
Joined: Tue Jul 13, 2010 10:24 pm

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 9 guests

cron