raymanw
11-06-2006, 03:30 AM
I have a form that accepts user info.
I want to create a button that enables the user to check for the availability of the username entered before continuing with the rest of the form.
I have tried using the button onclick to call a JS function. The JS function have codes to compare the username with database select.
Is my approach wrong?
Can the button onclick event call a PHP function?
Thanks.
I want to create a button that enables the user to check for the availability of the username entered before continuing with the rest of the form.
I have tried using the button onclick to call a JS function. The JS function have codes to compare the username with database select.
Is my approach wrong?
Can the button onclick event call a PHP function?
Thanks.