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 -->
|
||||
<div>
|
||||
<button
|
||||
id="search"
|
||||
class="btn btn-light"
|
||||
type="submit"
|
||||
id="search"
|
||||
onclick="onClickSearch()"
|
||||
type="submit"
|
||||
>
|
||||
Google Search
|
||||
</button>
|
||||
<button
|
||||
id="lucky"
|
||||
class="btn btn-light"
|
||||
title="Open the first search result"
|
||||
type="submit"
|
||||
id="lucky"
|
||||
onclick="onClickLucky()"
|
||||
title="Open the first search result"
|
||||
type="button"
|
||||
>
|
||||
I'm feeling lucky
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user