首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Django的Ajax库

Django的Ajax库

  • 资源大小:72.71 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: django ajax

资 源 简 介

Django Ajax library is a Ajax library for Django. * easy call views method * DJS(Django JavaScript) 1.easy call views method djax called easily remote views method. var request = {}; var id = 2; var callback = function(msg){ alert(msg) }; xxx.sample.views.index(request, id, callback); This code is called "xxx.sample.views.index" methods used Ajax. 2.DJS(Django JavaScript) DJS(Django JavScript) is call javascript from python. page.replace_html("test", "AJAX")str = "
call id. %s" % idpage.insert_html("bottom", "test", str)page.visual_effect("highlight", "test", dict(duration=1)) This sample is "test.djs". "djs" file is DJSTemplate File. DJSTemplate File is write "pure python". h

文 件 列 表

djangoajax
djs
manage.py
sample
settings.py
settings.pyc
urls.py
urls.pyc
__init__.py
__init__.pyc

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP