如何删除脚本标记 [英] How Do I Remove The Script Tag

查看:152
本文介绍了如何删除脚本标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我有一个母版页,其中包含超过10个.js文件和一些.css文件。

sample.aspx 页面我有另一套.js文件和.css文件。



我在这个表单中遇到一个大问题意味着css完全崩溃了,所以我必须排除那些我在主页面上的文件而且我无法删除那些文件从母版页,因为我的其他表单正在使用这些文件,是否有任何解决方案只在 sample.aspx 页面中排除这些脚本标签



谢谢,

KF

解决方案

你不能删除,但你可以覆盖。后者将始终覆盖之前的。看看这个: http://stackoverflow.com/questions/6064214/removing-css- on-pagepage-from-masterpage [ ^ ]

In my application ,I have a master page where i have included more than 10 .js files and some .css files .
In sample.aspx page I have another set of .js file and .css file.

I getting a big problem in this form means css completly collapsed,so I have to exclude those file which i have on master page and i Can't remove those file from master page because my others forms are using those file ,Is there any solution to exclude those script tags in only sample.aspx page

Thanks,
KF

解决方案

You cannot remove, but you can override. The later will always override the earlier . Check this out: http://stackoverflow.com/questions/6064214/removing-css-on-webpage-from-masterpage[^]


这篇关于如何删除脚本标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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