Web(在网站中使用ajax和jquery) [英] Web(use of ajax and jquery in website)

查看:114
本文介绍了Web(在网站中使用ajax和jquery)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi。我想在我的网站上使用ajax(比如3秒后的主图片更改)....

我也想使用不同的幻灯片等....但是我新用法告诉我如何直接复制ajax并使用?

任何帮助都将不胜感激!

hi.I want to use ajax(like main picture change after 3 second),in my web site....
also i want to use different slidebars etc ....but i am new use tell me how i direct copy ajax and use?
any help will be appreciated!

推荐答案

引用:

但是我是新用的告诉我如何直接复制ajax并使用?

but i am new use tell me how i direct copy ajax and use?

不,你永远不应该这样做。您可以从某个地方复制代码,但在粘贴到您的文件之前,请确保您首先了解它。有时候,代码可能会遇到任何问题会发生什么,当你直接实现它时,它会给你带来麻烦。



想想一个场景,哪里有钱交易将与代码一起发生,它只会要求您提供您的帐户详细信息。提供后,它会执行一些操作并向您显示已完成的消息。

但与此同时,您转移的金额可能会到达任何地方,因为您没有通过代码。它可能会到达某个未知帐户而不是您指定的帐户。



不要担心这种情况。您只需要事先了解要实施的代码。至少你会知道它将要做什么,你可以详细说明,如果有人问你。这是没用的。



AJAX入门

< h3> ASP.NET Ajax



  • [官方] ASP.NET Ajax:增强的交互性和响应能力 [ ^ ]
  • [MSDN] ASP.NET AJAX概述 [ ^ ]
  • AJAX简介 [ ^ ]
  • No, you should never do that. You can copy code from somewhere, but before pasting to your files, make sure you understand that first. Sometimes, what happens that the code may be having any issues and when you implement that directly, it can cause problems for you.

    Just think of one scenario, where money transaction will occur with the code and it only asks you to provide your account details. After you provide that, it does some operations and shows a message to you that it is done.
    But at the same time, the amount you transferred may reach anywhere as you have not gone through the code. It may reach some unknown account instead of the account you specified.

    Don't worry by this scenario. You just need to have a prior knowledge of the code you are going to implement. At least you will know what it is going to do and you can elaborate the same, if anybody asks to you. Else that is of no use.

    Getting Started with AJAX

    ASP.NET Ajax


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