1

How to work in internet explore. It's work in other Browser.But won't work in IE.

<div class="cashbook_wrapper"> <a href="new_reept.html"> <input name="" type="button" value="New Receipt" class="btn" /> </a> </div> 

3 Answers 3

2

Your HTML is invalid. The content model of an <a> element is:

Transparent, but there must be no interactive content descendant.

Your input is interactive content.

If you want a link, then use a link (not a link and a button). If you want it to look like a button, then use CSS.

Sign up to request clarification or add additional context in comments.

2 Comments

could give any example
1

You are using button inside link button. Use button or use link to do this. You can use to send on new page

<form action="new_reept.html"> </form> 

Now use submit button inside this not simple button

<input name="" type="submit" value="New Receipt" class="btn" /> 

Comments

0

If you really want to use a button as a link turn it into a form. However this is kind of bad practice. Why not just use a link?

<div class="cashbook_wrapper"> <form action="new_reept.html"> <input type="submit" value="New Receipt" class="btn" /> </form> </div> 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.