mirror of
https://github.com/resume/resume.github.com.git
synced 2025-12-30 15:49:30 -06:00
Instead of having a check for click and then removing teh values, I focus() ans select() onload.
This commit is contained in:
@@ -70,9 +70,8 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('input#username').live('click', function() {
|
||||
$(this).val('');
|
||||
});
|
||||
$('input#username').focus();
|
||||
$('input#username').select();
|
||||
|
||||
$(window).keyup(function(e) {
|
||||
if (e.keyCode == 13) {
|
||||
|
||||
Reference in New Issue
Block a user