Dear All,
I have page at this site http://183.78.169.54/v3/addTab.php . The problem if you click on the tab Driver Employement and click Add it will change the content to Driver Details content but the tab Driver Details is not highlighted. Everything is done via the function showTab(_id) for changing the tab and highlithing it. The problem when I press the individual tab is ok it gets highlighted. The problem is here when is called from javascrip the showTab does not highlight the tabs. Any solution please?

PHP Code:
if(gotDriverNameError=="true" || gotDateOfBirthError=="true" || gotDriverNewICNoError=="true")
            {
                
showTab("driverDetails");
                return 
false;
            }
            else if(
gotChild1DateOfBirthError=="true" || gotChild2DateOfBirthError=="true" || gotChild3DateOfBirthError=="true" )
            {
                
showTab("driverNextOfKin");
                return 
false;
            }