Integrating JavaScript within PHP....
If you're trying to do this with PHP, you might be more successful creating an initial page with the buttons that should be enabled at the start (New, Update, Delete), and then create a sub-page that displays a different form depending on the action the user selected previously. This way, the user only sees the buttons relevant to his/her current action. Here's some beginning code to help you out:
<?php
$action = $_POST['action'];
if($action == 'new')
{
//display the form for creating a new conference leader
}
else if ($action == '$update')
{
//display the form for updating a conference leader
}
et cetera.
Each sub-form would be processed by a third-level page (e.g. handle_create.php, handle_delete.php, etc.)
×