How do I create a div button without javascript?
I have a button image made out of divs. When I click this I want to post back and redirect. What is the best way to do this and can it be done without usi开发者_开发技巧ng javascript?
If you want to trigger the post back from the 'div' click then you'll need to use JavaScript. See this question for further information.
Use an input element of type 'submit'...
<input type="submit" value="Submit" />
Then redirect on the server (it will vary depending on the programming language being used)
精彩评论