<script src="/js/jquery-1.11.1.min.js">
$(document).ready(function(){
$("#toggle").on("click",function(){
$("#interval").on("click",function(){
jQuery.fx.interval = 500;
<button id="toggle">切换 div</button>
<button id="interval">以较少的帧数来运行动画</button>
<div style="background:#98bf21;height:100px;width:100px;margin:50px;">