Submit form using ahref

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
snehathomas184
Forum Newbie
Posts: 7
Joined: Tue May 27, 2014 3:40 am

Submit form using ahref

Post by snehathomas184 »

Am using button created using css...How to submit the form using this button in php?
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Submit form using ahref

Post by Celauran »

A button's default behaviour is to submit the form, so you shouldn't need to do anything. You could attach a JS listener to it and have it submit on click.
Post Reply