Click here to Skip to main content
15,913,685 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Display Message in Browser Console Window Pin
Ali Al Omairi(Abu AlHassan)4-May-13 21:18
professionalAli Al Omairi(Abu AlHassan)4-May-13 21:18 
Sir;
I think you can use the code below:
JavaScript
function log(msg){
  if (window.console && console.log) {
    console.log(msg);
  }
  else {
    document.write(msg); //write to screen
    // or $("#logBox").append(msg); //log to container
  }
}


note that you can use any member function in console object to control the console messages.
Help people,so poeple can help you.

Questionurl routing like as subdomain in asp.Net web Forms c# Pin
abdussalam1433-May-13 3:11
professionalabdussalam1433-May-13 3:11 
AnswerRe: url routing like as subdomain in asp.Net web Forms c# Pin
dusty_dex3-May-13 5:02
dusty_dex3-May-13 5:02 
AnswerRe: url routing like as subdomain in asp.Net web Forms c# Pin
Jasmine25013-May-13 5:14
Jasmine25013-May-13 5:14 
AnswerRe: url routing like as subdomain in asp.Net web Forms c# Pin
abdussalam1433-May-13 19:15
professionalabdussalam1433-May-13 19:15 
GeneralRe: url routing like as subdomain in asp.Net web Forms c# Pin
Jasmine25016-May-13 7:10
Jasmine25016-May-13 7:10 
GeneralRe: url routing like as subdomain in asp.Net web Forms c# Pin
abdussalam1436-May-13 20:06
professionalabdussalam1436-May-13 20:06 
QuestionPost Info to Particular Pages in FaceBook Pin
prasanth1002-May-13 9:25
prasanth1002-May-13 9:25 
AnswerRe: Post Info to Particular Pages in FaceBook Pin
Jasmine25013-May-13 5:29
Jasmine25013-May-13 5:29 
Questionwebform performance Pin
gaigoi1132-May-13 6:56
gaigoi1132-May-13 6:56 
AnswerRe: webform performance Pin
jkirkerx2-May-13 7:01
professionaljkirkerx2-May-13 7:01 
GeneralRe: webform performance Pin
gaigoi1132-May-13 7:15
gaigoi1132-May-13 7:15 
GeneralRe: webform performance Pin
jkirkerx2-May-13 9:26
professionaljkirkerx2-May-13 9:26 
QuestionASP.NET Tutorials Pin
Clark Kent1232-May-13 4:48
professionalClark Kent1232-May-13 4:48 
AnswerRe: ASP.NET Tutorials Pin
Jasmine25012-May-13 5:46
Jasmine25012-May-13 5:46 
GeneralRe: ASP.NET Tutorials Pin
Clark Kent1232-May-13 6:41
professionalClark Kent1232-May-13 6:41 
AnswerRe: ASP.NET Tutorials Pin
David Mujica2-May-13 9:42
David Mujica2-May-13 9:42 
GeneralRe: ASP.NET Tutorials Pin
Clark Kent1232-May-13 9:56
professionalClark Kent1232-May-13 9:56 
AnswerRe: ASP.NET Tutorials Pin
thewazz4-May-13 19:03
professionalthewazz4-May-13 19:03 
GeneralRe: ASP.NET Tutorials Pin
Clark Kent1236-May-13 2:04
professionalClark Kent1236-May-13 2:04 
QuestionFacebook checkin using Graph API Pin
Blikkies2-May-13 1:11
professionalBlikkies2-May-13 1:11 
AnswerRe: Facebook checkin using Graph API Pin
Jasmine25012-May-13 5:39
Jasmine25012-May-13 5:39 
GeneralRe: Facebook checkin using Graph API Pin
Blikkies2-May-13 20:57
professionalBlikkies2-May-13 20:57 
GeneralRe: Facebook checkin using Graph API Pin
Jasmine25013-May-13 5:12
Jasmine25013-May-13 5:12 
Questionvbs in c# web application Pin
Sandeep Singh Negi30-Apr-13 20:13
Sandeep Singh Negi30-Apr-13 20:13 

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.