Jquery切换两个函数在jquery 1.10.1中不起作用,但在Jquery 1.8.3上工作
HTML
<p>For example, consider the HTML:</p>
<div id="target">
Click here
</div>
Run Code Online (Sandbox Code Playgroud)
jQuery的
$('#target').toggle(function() {
alert('First handler for .toggle() called.');
}, function() {
alert('Second handler for .toggle() called.');
});
Run Code Online (Sandbox Code Playgroud)
而且就在这里
我的文件格式如
application
- controllers
- views etc...
assetes
- Images
- Css etc...
Run Code Online (Sandbox Code Playgroud)
我的.htaccess文件如下:
#Deny from all
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
Run Code Online (Sandbox Code Playgroud)
我的问题是资产文件夹访问每个用户浏览所有图像和所有css文件但需要的只是用户访问资产文件夹文件而不是访问整个文件夹
请帮帮我谢谢!