Is there any such video or code case to use? Thank you
Reply content:
Is there any such video or code case to use? Thank you
HTML page:
测试内容
PHP Script:
test.php
@Eapen's right.
I don't know if you've ever used Django, it's probably wrong and not tested.
Update
urls.py
urlpatterns+=patterns('mydjango.getmore', (r'^test.html$', 'test'),#先显示test页面 (r'^getinfo.html$', 'getinfo'),#ajax提交获得新的数据)
views.py
#先显示test页面def test(request): return render_to_response('test.html',locals())#ajax提交获得新的数据def getinfo(request): return render_to_response('getinfo.html',locals())
Test.html
测试内容 测试内容 测试内容
Getinfo.html
自动加载的内容
In fact, is the main core point or JS and the use of Ajax ...
JS to determine whether the end of the bottom of the text with Ajax asynchronous loading content ...
Specific JS and Ajax upstairs friends have helped you to write well ...
What are you talking about? database operation what, Ajax request URL corresponding to the PHP inside write just