I am trying to send MY location to my js file. The location have the gives correct value when it is echoed from php. But when i try to access it from my js it does not access the correct value instead contains the value `<?php echo $location;?>` well how can i access the value in js?
PHP
whi
我的js里有这句话:
$('input')[$('input').index(this)+9].focus();
我想将焦点放在下一个元素上,但是当该行被执行时,我将焦点和下一个元素放在一起,但是我有以下错误:
错误:$rootScope:inprog $apply已经在进行中,$rootScope/inprog?p0=%24 apply at REGEX_STRING_REGEXP (angular.js:63) at beginPhase (angular.js:14706),$get.Scope,$apply (angular.js:14450) at
我目前在我的网站上配置flexslider时遇到了问题。我用的是长生不老药,拉瓦尔和鲍尔。
我已经编译了我所有的scss,less和js文件,但是当我在主页上添加任何与滑块相关的代码时,我得到了这个错误:
Uncaught TypeError: $(...).flexslider is not a function using
我的页面上似乎什么都没有显示出来
我将javascript添加到layout.blade文件中只是为了测试
<!DOCTYPE html>
<html lang="en">
<head>
<meta ch