mirror of
https://github.com/jimeh/fancy_input.git
synced 2026-02-19 11:36:41 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d01f9ee30a | |||
|
|
600c3c2486 | ||
| 2ca2566ae0 | |||
| 13454ae718 | |||
| 10d4620917 | |||
| b3d34e6b99 | |||
| 41c701d7f2 |
@@ -10,11 +10,11 @@ Check out the [Demo][].
|
|||||||
|
|
||||||
First of all you will need [jQuery][], visit their [site][jquery] for more info.
|
First of all you will need [jQuery][], visit their [site][jquery] for more info.
|
||||||
|
|
||||||
Then include both `jquery.fancy_input.js` and `jquery.fancy_input.css` on your page.
|
Then include the required files:
|
||||||
|
|
||||||
<script src="/fancy_input/jquery.fancy_input.js" type="text/javascript"></script>
|
<script src="/fancy_input/jquery.fancy_input.js" type="text/javascript"></script>
|
||||||
<script src="/fancy_input/jquery.fancy_suggest.js" type="text/javascript"></script>
|
<script src="/fancy_input/jquery.fancy_suggest.js" type="text/javascript"></script>
|
||||||
<link href="/fancy_input/jquery.fancy_input.css" rel="stylesheet" type="text/css" />
|
<link href="/fancy_input/jquery.fancy_suggest.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@@ -144,5 +144,5 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
|
|
||||||
[jquery]: http://jquery.com/
|
[jquery]: http://jquery.com/
|
||||||
[demo]: http://files.jimeh.me/projects/fancy_input/demo/
|
[demo]: http://files.jimeh.me/projects/fancy_input/demo/fancy_suggest.html
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
break;
|
break;
|
||||||
case Self.keys.RETURN:
|
case Self.keys.RETURN:
|
||||||
if (Self.selected_result !== null) {
|
if (Self.selected_result !== null) {
|
||||||
Self.activate_selected($options);
|
Self.activate_selected($e, $options);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user