日期:2014-05-18  浏览次数:20398 次

jquery怎么引入程序中啊 谢谢
我的VS2005的跟目录下有一个jquery-1.1.3.1.pack.js   的jquery框架是吧
从这里下载的
http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.4.pack.js

我在项目里面引入了
        <script   language= "javascript "   type= "text/javascript "   src= "jquery-1.1.3.1.pack.js ">
                function   light()
                {
                        $( "#btnLight ").fadeIn( "fast ");
                        $( "#btnLight ").fadeOut( "slow ");
                }
        </script>
<input   id= "btnLight "   style= "width:   110px "   type= "button "   value= "button "   onclick= "light(); "   />

怎么实现不了了

请大家帮忙解决下   谢谢???

------解决方案--------------------
<script language= "javascript " type= "text/javascript " src= "jquery-1.1.3.1.pack.js "> </script>
<script language= "JavaScript ">
function light()
{
$( "#btnLight ").fadeIn( "fast ");
$( "#btnLight ").fadeOut( "slow ");
}
$(document).ready(function(){
light();
});
</script>
<input id= "btnLight " style= "width: 110px " type= "button " value= "button "/>