can smb explain me the usage of <onclick> parameter? with an example ,for example...
Printable View
can smb explain me the usage of <onclick> parameter? with an example ,for example...
well, infact ive made a login system which checks a csv folder (doesnt use sql) and logs u in.... The problem is, i want a graphical picture instead of the standart login button. What should i do? Plz heeeelp.......
onclick events are NOT php. That is a javascript functionality.
I also don't recommend using a csv file for a login system as it is less secure and not as easily maintained.
If you want to use a picture, simple set the src attribute of the button element and in the onclick event, simply call "submit()".