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

JavaScript

 
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 
AnswerRe: javascript message on web app Pin
Nathan Minier19-Sep-16 1:39
professionalNathan Minier19-Sep-16 1:39 
So, fun story, your JavaScript should be largely unaffected by test/production environments with a couple of important caveats.
  1. You might have a hard-coded route in your JS that does not exist in production. This could be a specific URI (ie "http://localhost:8080/site/asset") or a relative URL that is not appropriate in your release build ( ie "../../assets" to escape bin).
  2. Your web browser whitelists sites for script execution, and your production server is not whitelisted.
It's far more likely that your aspx is not producing the correct response on the server side.

Also, this snippet is hysterical:
HTML
<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><br />
<%If (False) Then%>
    <script src="../scripts/jquery-1.3.2.js" type="text/javascript"></script>
<% End If%>
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

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 
QuestionJavascript reverse help Pin
313help23-Aug-16 3:29
313help23-Aug-16 3:29 

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.