你好我使用jquery周历和PHP的日历,但如果把查询文件这样我收到冲突。jQuery的冲突
我header.phtml文件代码
<head>
<?php
echo $this->headTitle('dddd');
$this->headMeta()
->setHttpEquiv('Content-Type', 'text/html;charset=utf-8')
->appendName('keywords', '')
->appendName('author', '')
->appendName('copyright', '')
->appendName('description', '');
$this->headLink()->headLink(array('rel' => 'favicon', 'href' => '/favicon.ico'), 'PREPEND');
$this->headLink()
->appendStylesheet($this->baseUrl.'/styles/layout.css', 'all')
->appendStylesheet($this->baseUrl.'/scripts/jquery/jquery.css', 'all');
$this->headScript()->appendFile('http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js');
$this->headScript()->appendFile('http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js);
$oFront = Zend_Controller_Front::getInstance();
if($oFront->getRouter()->getCurrentRouteName() == "template-schedules-edit-template-schedule"){
$this->headScript()->appendFile($this->baseUrl.'/scripts/jquery/plugins/weekcalendar/jquery-ui.min.js');
}else{
$this->headScript()->appendFile('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.19/jquery-ui.min.js');
}
echo $this->headMeta();
echo $this->headLink();
echo $this->headScript();
?>
</head>
这里我使用jQuery/jQuery的周历和jQuery 1.3.2/jquery.min.js/1.7.2/jquery.js和对PHP canlender ..
请帮助我。它是我的第一个问题,就是堆栈溢出。
/uday
为什么要使用2个版本的jQuery? –
看一看['jQuery.noConflict()'](http://api.jquery.com/jQuery.noConflict/) – Bergi
嗨BERGI,我该如何使用jQuery.noConflict()在这里.. – user1703428