javascript - How to use noscript tag with ScriptBundle -


i've used scriptbundle in code this

var ideagaugesbundle = new scriptbundle("~/content/scripts/external/gauges/ideagaugesbundle")                 .include("~/content/scripts/external/gauges/gauges.js")                 .include("~/content/scripts/external/gauges/raphael.js");             ideagaugesbundle.orderer = nullorderer;             bundles.add(ideagaugesbundle); 

and it's rendering on page @scripts.render("~/content/scripts/external/gauges/ideagaugesbundle")

        <script src="/content/scripts/external/gauges/gauges.js"></script> <script src="/content/scripts/external/gauges/raphael.js"></script> 

how can add noscript tag each 1 on fly?

    <script src="/content/scripts/external/gauges/gauges.js"></script> <noscript>it appears javascript not supported or disabled.</noscript>     <script src="/content/scripts/external/gauges/raphael.js"></script> <noscript>it appears javascript not supported or disabled.</noscript> 

solved problem because in debug mode in release mode these merging , rendering this

<script src="/content/scripts/external/gauges/ideagaugesbundle?v=azosakeojjhiogeue95srtkdrxcx3_gocn4tvgrs9ry1"></script> 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -