PDA

Click to See Complete Forum and Search --> : <onclick>


kill_bill_gates
Dec 2nd, 2004, 11:20 AM
can smb explain me the usage of <onclick> parameter? with an example ,for example...

kill_bill_gates
Dec 2nd, 2004, 11:48 AM
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.......

ober0330
Dec 2nd, 2004, 01:44 PM
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()".