关于与jQuery和java相关的主题的问题 [英] Question about the topic related to jQuery and java

查看:51
本文介绍了关于与jQuery和java相关的主题的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何运行jQuery?我们是否需要将jQuery文件保存到我们的网站相关路径中...而且我们还需要任何java脚本来运行任何jQuery ???因为我在java和jQuery中非常弱..

How do we run jQuery?? Do we need to save that jQuery file to our website related path... And also do we need any java script for running any jQuery??? As I''m very weak in java and jQuery..

推荐答案

嘿,为什么不开始使用Jquery的简单教程。以下链接可能对您有所帮助:



http:/ /www.w3schools.com/jquery/default.asp [ ^ ]



http://www.jquery-tutorial .net / [ ^ ]



你需要在你的网络应用程序中引用jQuery文件,如下所示:



Hey, why don''t you start with a simple tutorial for Jquery. The links below might be helpful to you:

http://www.w3schools.com/jquery/default.asp[^]

http://www.jquery-tutorial.net/[^]

You need to refer the jQuery file in your web app as below:

<!DOCTYPE HTML >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> My First JQuery Page</title>

</head>
<body>
<div id="mydiv">This is the DIV
</div>
<input id="textName" type="text" />

<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">


(document).ready(function(){
(document).ready(function () {


(#mydiv)。css(background-color,Red);
("#mydiv").css("background-color", "Red");


这篇关于关于与jQuery和java相关的主题的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆