I'm trying to use an easing jQuery function called easeInBounce but it doen't work. I had search all about that and all pages says that I've to put {easing:'easeInBounce'}
like here but it doesn't work.
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<div>Push!</div>
<input type="text">
<input type="text" class="middle">
<input type="text">
<script>
$( "div" ).ready(function() {
$( this ).css({
borderStyle: "inset",
cursor: "wait"
});
$( "input" ).slideDown( {easing: 'easeInBounce'}, 1000, function() {
$( this )
.css( "border", "2px red inset" )
.filter( ".middle" )
.focus();
$( "div" ).css( "visibility", "hidden" );
});
});
</script>
As you can see I have changed the click and I put .ready to load the effect when loads the page.
This doesn't work and I don't know how to do that.
Thanks