[英]How do you find a url behind an html submit button?
This may be a stupid question as I am not familiar with html at all. 这可能是一个愚蠢的问题,因为我根本不熟悉html。 How does one find a url behind an input type submit button.
如何在输入类型提交按钮后面找到网址。
<input type="submit" name="ctl00$content$search" value="Search" onclick="return searchContinue(this);WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$content$search", "", true, "", "", false, false))" id="ctl00_content_search">
I am just not familiar to find the required url to trigger the submit action. 我只是不熟悉找到触发提交操作所需的URL。 I am trying to write a script in python that will trigger the submit action.
我试图用python编写一个脚本,该脚本将触发Submit操作。
Address is in <form action="some_url">
. 地址在
<form action="some_url">
。
If there is no action
then form use current page address. 如果没有
action
则使用当前页面地址。
The URl will be in <form action="/example.php">
URl将位于
<form action="/example.php">
Example: 例:
<html>
<body>
<form action="/submit.php">
<input type="text" name="Name"></input>
<input type=submit"></input>
</body>
</html>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.