Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used noscript tag on master page head section which shows a message when scripting is disabled on clients browser its working on all device like windows phone and mac PC but, it is show html tags on iPad and iPod when I disable the JavaScript from browser but after refreshing the page it shows the message which one I have placed in noscript tag. I could not understand what is it for, is there anyone have solution ? thanks in advance!

ASP.NET
 <noscript>
    <div class="notify-container" id="Div1">
        <div id="Div2">
            <span class="notify-close" id="Span1"></span><span class="notify-text" id="Span2">
                <asp:Label runat="server" ID="JavascriptNotEnabledNotification"></asp:Label></span>
        </div>
    </div>
</noscript>

I am using above tags, it is working in right manner but problem is that when I disable the JavaScript on iPad and iPod devices then above tags are showing on page, instead of showing message.


is it noscript tag problem in iPad and iPod or tags are not getting css ?


[edit]Code block added, "Treat my content as plain text..." option disabled - OriginalGriff[/edit]
Posted
Updated 13-Jan-12 23:33pm
v2
Comments
Sergey Alexandrovich Kryukov 14-Jan-12 12:43pm    
Are you sure? How did you find that?
--SA

1 solution

It sounds a bit suspicious to believe.

I can think of just one thing: are you sure you experimented with no script browser option correctly? You might have forgotten to reload the page after you allowed or disallowed scripts or something like that. Please check up. You should make sure the scripts are allowed or not allowed by the browser first, and then load this page with "noscript" tag.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900