Dear Paul,
Just to make things clear actually my problem now is combining the jquery with normal javascript. Hope you can help to see how to overcome this. Thank you.
| SitePoint Sponsor |




Dear Paul,
Just to make things clear actually my problem now is combining the jquery with normal javascript. Hope you can help to see how to overcome this. Thank you.


Programming Group Advisor
Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
Car is to Carpet as Java is to JavaScript




Dear Paul,
I know now that till the Driver Licenses I am using the normal javascript and only the driver employment tab I am using the jquery method. So I was thought dont include the Driver Employment tab but once I have inserted all the previous data from the different tab then will link me to Driver Employment. Do you have any other idea how to solve this?




Dear Paul,
A good news I am able to solve by splitting it into 2 different forms. I have one problem here if you press the Driver License tab and click on the License Expiry Date pick button you will notice the Calendar always appearing at the bottom I am trying to solve this. Any idea? But if I dont use the tab method the pop appear at the right location just below the input button.




Dear Paul,
I manage to solve the calendar issue too. Now I test in google chrom when the Driver Employment I dont choose add any rows it will still validate Driver Details where I have not key in the fields but in IE it just submit the whole page. Secondly I want to ask you why when I press the tabs it will highlight accordingly the tabs. But when I try to highligh via this method it does now highlight even though the content is change accordingly.
//If any errors occurred, return false, otherwise true
if(gotDriverNameError=="true" || gotDateOfBirthError=="true" || gotDriverNewICNoError=="true")
{
showTab("driverDetails");
return false;
}
else if(gotChild1DateOfBirthError=="true" || gotChild2DateOfBirthError=="true" || gotChild3DateOfBirthError=="true" )
{
showTab("driverNextOfKin");
return false;
}
else
return true;


I'm sorry, I'm in the middle of moving this week so I can't delve as deeply as I used to, for a while.
Programming Group Advisor
Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
Car is to Carpet as Java is to JavaScript




Dear Paul,
No worries are you moving from christchurch to where now? Take care and keep in touch.


Programming Group Advisor
Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
Car is to Carpet as Java is to JavaScript




Dear Paul,
How are you doing? Have you moved? I would like to ask when you are free then I would like to have a look at my codes.
Bookmarks