我正在构建一个在joomla后端使用jquery和引导的表单,但是我得到了一个错误。
这是joomla代码:
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<?php
if (version_compare(PHP_VERSION, '5.3.10', '<'))
{
die('Your host needs to use PHP 5.3.10 or higher to run this version o
我使用以下示例使用引导模式打开完整的日历事件:()
它工作得很完美。
现在事件已经打开了,我不知道如何检索该事件的信息。让我解释一下,该事件在我的数据库(mysql)中与一些其他信息和其他表相链接。在该模式弹出窗口中,我想显示链接的信息。
我在想这会行得通:(在我的主页上我有这个)
element.click(function() {
//set the modal values and open
$('#modalTitle').html(event.title);
$('#modalBody').html(event.description);
$('
我有一个带有Ajax登录表单的引导模式。显示错误,一切正常,直到login.php的结果是header('Location: index.php');为止。
我这样处理结果:
var hr = new XMLHttpRequest();
// Set content type header information for sending url encoded variables in the request
hr.setRequestHeader("Content-type", "application/x-www-form-urlen