我有这个:
HTML
这是一个在模式窗口中打开 href 的按钮:
<a class="iframe button pink" href="http://www.test.php" > Pay Now <link rel="stylesheet" href="http://www.fethr.com/clients/res/buttonmodal.css">
表格:
<form method="post" />
<input type="text" name="xx" />
<input type="text" name="yy" />
<a class="iframe button pink" href="http://www.test.php" > Pay Now <link rel="stylesheet" href="http://www.fethr.com/clients/res/buttonmodal.css">
<script src="http://www.fethr.com/clients/res/buttonmodal.js"></script></a>
</form>
这个锚按钮。如果我单击它,它将在模式窗口中打开 href。我正在尝试将其用作提交按钮并将值发布到 href 以及在模式窗口中打开它。这可能吗?