你好我使用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