清除浏览器Javascript和CSS [英] Clear browers Javascript and CSS

查看:85
本文介绍了清除浏览器Javascript和CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个要求,当我启动我的网络应用程序时,我必须清除浏览器Javascript和css。



这应该在Javascript代码中完成。或者如果您有任何更好的解决方案,请告诉我。



我不想清除chache,因为我正在保存ID和密码。



非常感谢任何帮助。



谢谢,



Vivek

Hi,

I have a requirement , I have to clear browsers Javascript and css as I start my web application.

This should be done in Javascript Code. or if you have any better solution then pls let me know.

I dont wnat to clear chache because I am saving ID and Password in that.

Any help is highly appreciated.

Thanks,

Vivek

推荐答案

你不能使用Javscript清除浏览器缓存



但你可以清除实用的应用程序缓存。

You can''t clear browser cache using Javscript

But you can clear the application cache pragmatically.


' 。button')。click( function (){
('.button').click(function() {


.ajax( {
url:
context: document .body,
success: function (s,x){
.ajax({ url: "", context: document.body, success: function(s,x){


这篇关于清除浏览器Javascript和CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆