Click here to Skip to main content
15,888,351 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Jasmine testing Angular issues Pin
cjb11025-Sep-16 22:26
cjb11025-Sep-16 22:26 
QuestionHow to Load Content Without Refreshing Menu Bar. Pin
roraaa_19-Sep-16 23:10
roraaa_19-Sep-16 23:10 
AnswerRe: How to Load Content Without Refreshing Menu Bar. Pin
Nathan Minier20-Sep-16 0:59
professionalNathan Minier20-Sep-16 0:59 
AnswerRe: How to Load Content Without Refreshing Menu Bar. Pin
W Balboos, GHB21-Sep-16 6:07
W Balboos, GHB21-Sep-16 6:07 
Questionunexpected identifier: quick question Pin
shoysmTP19-Sep-16 1:59
shoysmTP19-Sep-16 1:59 
AnswerRe: unexpected identifier: quick question Pin
Richard Deeming19-Sep-16 2:20
mveRichard Deeming19-Sep-16 2:20 
GeneralRe: unexpected identifier: quick question Pin
shoysmTP19-Sep-16 3:56
shoysmTP19-Sep-16 3:56 
Questionjavascript message on web app Pin
dcof16-Sep-16 15:07
dcof16-Sep-16 15:07 
In a vb.net 2010 web form application, I have the following code:
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="attendanceletters_default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MPHead" Runat="Server">
    <script src="../scripts/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../scripts/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>    
    <%If (False) Then%>
        <script src="../scripts/jquery-1.3.2.js" type="text/javascript"></script>
    <% End If%>    
    <script src="../scripts/site.js" type="text/javascript"></script>
    <script src="../scripts/json2.js" type="text/javascript"></script> 
        function GetStudentLetterTemplate(schoolyear, schoolnum, milestone, studentlink, language, semester) {

            alert('schoolyear: ' + schoolyear + 'schoolnum: ' + schoolnum + 'milestone: ' + milestone + 'studentlink: ' + studentlink + 'language: ' + language + 'semester: ' + semester);
             if (milestone == '999') {
                 alert('You have selected student(s) having more than one CAIP entry for the current school year');
               return;
            }
}

I want to display a javascript alert message in production when an error condition exists. The code listed above works in a development envirnonment, but the code would not deploy to a test app server.

Thus can you show me what I can do to fix the code listed above?

If not, would you show me what I can do in a production environment to have a warning message displayed to a user with the least amount of extra code?
I do not care how the warning message is displayed, I just want a warning message to be displayed.
AnswerRe: javascript message on web app Pin
Nathan Minier19-Sep-16 1:39
professionalNathan Minier19-Sep-16 1:39 
QuestionAdding New Button using java script Pin
Member 1274349616-Sep-16 1:29
Member 1274349616-Sep-16 1:29 
AnswerRe: Adding New Button using java script Pin
Nathan Minier16-Sep-16 1:49
professionalNathan Minier16-Sep-16 1:49 
QuestionChatbot js code Pin
SolidSnake71-Sep-16 7:26
SolidSnake71-Sep-16 7:26 
AnswerRe: Chatbot js code Pin
Dominic Burford6-Sep-16 2:51
professionalDominic Burford6-Sep-16 2:51 
AnswerRe: Chatbot js code Pin
ZurdoDev6-Sep-16 6:06
professionalZurdoDev6-Sep-16 6:06 
QuestionHTML and javascript dashboard Pin
Member 1271309731-Aug-16 3:21
Member 1271309731-Aug-16 3:21 
SuggestionRe: HTML and javascript dashboard Pin
Nathan Minier31-Aug-16 8:12
professionalNathan Minier31-Aug-16 8:12 
AnswerRe: HTML and javascript dashboard Pin
W Balboos, GHB14-Sep-16 4:48
W Balboos, GHB14-Sep-16 4:48 
SuggestionRe: HTML and javascript dashboard Pin
Harpreet05Kaur26-Sep-16 1:50
Harpreet05Kaur26-Sep-16 1:50 
AnswerRe: HTML and javascript dashboard Pin
Harpreet05Kaur26-Sep-16 1:24
Harpreet05Kaur26-Sep-16 1:24 
QuestionHow can I swap only body element between HTML pages? Pin
lino_7630-Aug-16 8:08
lino_7630-Aug-16 8:08 
AnswerRe: How can I swap only body element between HTML pages? Pin
Richard Deeming30-Aug-16 8:34
mveRichard Deeming30-Aug-16 8:34 
AnswerRe: How can I swap only body element between HTML pages? Pin
Nathan Minier31-Aug-16 1:55
professionalNathan Minier31-Aug-16 1:55 
QuestionCollect text and images from image pdf using JS or AngularJS Pin
Member 1270857628-Aug-16 22:47
Member 1270857628-Aug-16 22:47 
AnswerRe: Collect text and images from image pdf using JS or AngularJS Pin
Richard MacCutchan28-Aug-16 23:00
mveRichard MacCutchan28-Aug-16 23:00 
GeneralRe: Collect text and images from image pdf using JS or AngularJS Pin
Member 1270857629-Aug-16 0:18
Member 1270857629-Aug-16 0:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.