Code: Select all
validateData()Code: Select all
action=javascript:validateData()Then
Code: Select all
validateData()- validates the data, which I'm okay with.
After javascript validation is complete, I would like javascript to sort of redirect to the same original html form, which is a php file. Then the php script must sort of get use
Code: Select all
$_POSTCode: Select all
$_GETIt's similar to using action with PHP where the action redirects to the PHP file to itself. I've seen this being done somewhere before, but since not having 60 years PHP experience, I'm not entirely sure how to achieve this.
Thanks for the help, in advance, as usual!