我正在使用jquery完整的日历插件,并在ui对话框中遇到一些问题。现在,当我单击该事件时,它将在UI对话框中呈现事件和所有有关事件的详细信息,没有任何问题。但是,当我关闭此框时,除非刷新页面,否则所有其他jquery事件都会在页面上停止。我可以点击其他事件,但是页面上没有其他jquery事件.这是我的密码。
eventClick: function(event) {
if (event.url) {
$('#myDialog').load('full_calendar/ajax/show_event.php?EventID=' + ev
我是和Django一起工作的新手。我需要一个简单的例子。如何使用Django、Ajax、jQuery提交表单(post)而不刷新页面?
这是我的表单、视图和模板:
views.py
import json
from django.shortcuts import *
from django.template import RequestContext
from linnea.web_interface import run_linnea
from linnea_demo_app.forms import *
def linnea_demo(request):
if request.