English 中文(简体)
互联网探索者如何使用纽顿?
原标题:how use button in internet explorer?

供我使用

<a href= pag.php ><input type= button  value= Next /></a>

in firefox and crome when i click on the button i m redirected to pag.php but in ie it don t work. how can i do?

最佳回答

简单的方式是:

<input type= button  value= Next  onclick="location.href= pag.php "/>
问题回答

表格加吨用于向以下条目中规定的网页提交表格:<编码>action>属性,不填入<a> tags, 系坏辛加。 如果是多部分形式,则只增加action/code>的属性:<form>

<form method="POST" action="pag.php">
    <!-- your form elements -->
    <input type="submit" value="Next">
</form>

该表将提交<代码>pag.php。 否则,只是使用一种联系,或者,如果你坚持把这种联系看上去,则使用像以下这样的图像链接:

<a href="pag.php"><img src="image_that_looks_like_a_button.png"></a>

希望这一帮助。

不是你现在做的事,而是:

<form action="pag.php" method="post" enctype="multipart/form-data">

<INPUT TYPE="submit" name="Submit" value="Next">

</form>

但是,如果你想要取代纽顿的形象,那么:

<INPUT TYPE="image" SRC="image location" ALT="Next">

希望解决你们的问题!





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签