form in the input box

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_34664239/article/details/90546744

In doing input box to search for data, when switching pages and found a fun, of course, it is nothing, but we usually do not pay attention, is the form of action, combined with the input of the name, click on the enter key in the input in time, It will automatically jump, carrying the parameters

<form name="searchForm" target="_blank" action="searchBox.html">
	<div class="y-box input-group" name='inputbox'>
		<input type="text" class="y-left input-text" name="keyword" autocomplete="off" placeholder="请输入关键字"/>
		<div class=" y-right btn-submit ">
			<button  type="submit ">
				<i class="y-icon icon-search " ga_event="mh_search "></i>
			</button>
		</div>
	</div>
</form>

Results are as follows:
input
Click on the keyboard Enter key, jump directly, keyword is the name of the attribute value input, aaa is input the value
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/qq_34664239/article/details/90546744