lucky type button otherwise submit sets search
This commit is contained in:
parent
97f9ed52bf
commit
43d6f41f1d
10
index.html
10
index.html
@ -78,19 +78,19 @@
|
|||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
id="search"
|
|
||||||
class="btn btn-light"
|
class="btn btn-light"
|
||||||
type="submit"
|
id="search"
|
||||||
onclick="onClickSearch()"
|
onclick="onClickSearch()"
|
||||||
|
type="submit"
|
||||||
>
|
>
|
||||||
Google Search
|
Google Search
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
id="lucky"
|
|
||||||
class="btn btn-light"
|
class="btn btn-light"
|
||||||
title="Open the first search result"
|
id="lucky"
|
||||||
type="submit"
|
|
||||||
onclick="onClickLucky()"
|
onclick="onClickLucky()"
|
||||||
|
title="Open the first search result"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
I'm feeling lucky
|
I'm feeling lucky
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user