Click here to Skip to main content
15,891,633 members
Home / Discussions / Web Development
   

Web Development

 
QuestionAJAX COMET Issue (IE7) Pin
James Simpson7-May-08 13:10
James Simpson7-May-08 13:10 
QuestionPHP + MySQL Timeout Error Pin
47_MasoN_477-May-08 10:23
professional47_MasoN_477-May-08 10:23 
AnswerRe: PHP + MySQL Timeout Error Pin
Ashish Sehajpal8-May-08 0:23
Ashish Sehajpal8-May-08 0:23 
GeneralRe: PHP + MySQL Timeout Error Pin
47_MasoN_479-May-08 9:44
professional47_MasoN_479-May-08 9:44 
Questiongetting string from server script to Client script Pin
gangar7-May-08 7:35
gangar7-May-08 7:35 
AnswerRe: getting string from server script to Client script Pin
Ashish Sehajpal8-May-08 0:19
Ashish Sehajpal8-May-08 0:19 
GeneralRe: getting string from server script to Client script Pin
gangar8-May-08 3:26
gangar8-May-08 3:26 
GeneralRe: getting string from server script to Client script [modified] Pin
James Simpson8-May-08 4:02
James Simpson8-May-08 4:02 
Ok, the Server is VBScript and the ClientSide is javascript

so, you need to replace Chr(13) with "\r" and Chr(10) with "\n" VB wonnt encode these characters

Giving you:

function DisPlayMsg()
{
var outputstr
outputstr = "abcd\r\nefgh"

alert(outputstr)
}

Its a been a while since I have used ASP, but I dont get while you are calling Response.BinaryWrite. The response is the output of the ASP page which I gather is the above code, so I don't see why your calling Response.BinaryWrite?

EDIT

I see why you are calling BinaryWrite, your first post does not use the <%=%> method of writing out the value. try converting the BinaryRead output to a string and running a replace on it.

James

James Simpson
Web Developer
imebgo@hotmail.com

P S - This is what part of the alphabet would look like if Q and R were eliminated
Mitch Hedberg

modified on Thursday, May 8, 2008 10:42 AM

GeneralRe: getting string from server script to Client script Pin
gangar8-May-08 4:46
gangar8-May-08 4:46 
GeneralRe: getting string from server script to Client script Pin
James Simpson8-May-08 4:56
James Simpson8-May-08 4:56 
GeneralRe: getting string from server script to Client script Pin
gangar9-May-08 3:18
gangar9-May-08 3:18 
QuestionIE 7 status bar hiding Pin
King Shez6-May-08 22:53
King Shez6-May-08 22:53 
AnswerRe: IE 7 status bar hiding Pin
47_MasoN_477-May-08 11:10
professional47_MasoN_477-May-08 11:10 
QuestionNeed a Upload Images html code for my site! Pin
Mary Gonzalez6-May-08 11:51
Mary Gonzalez6-May-08 11:51 
AnswerRe: Need a Upload Images html code for my site! Pin
Christian Graus6-May-08 11:57
protectorChristian Graus6-May-08 11:57 
Question[Message Deleted] Pin
Macorina6-May-08 10:42
Macorina6-May-08 10:42 
AnswerRe: Help me out Pin
Christian Graus6-May-08 11:56
protectorChristian Graus6-May-08 11:56 
QuestionVS2008 ASP2.0 Treeview Context menu c# [modified] Pin
peter.bellen@qsm-europe.com6-May-08 10:28
peter.bellen@qsm-europe.com6-May-08 10:28 
AnswerRe: VS2008 ASP2.0 Treeview Context menu c# Pin
tonymathewt20-May-08 23:09
professionaltonymathewt20-May-08 23:09 
QuestionDotNetNuke Pin
Imthu6-May-08 4:10
Imthu6-May-08 4:10 
AnswerRe: DotNetNuke Pin
Suresh Pirsquare6-May-08 7:12
Suresh Pirsquare6-May-08 7:12 
QuestionIE7 adds a statusbar in ShowModalDialog Pin
Thomas Lykke Petersen6-May-08 0:27
Thomas Lykke Petersen6-May-08 0:27 
AnswerRe: IE7 adds a statusbar in ShowModalDialog Pin
led mike6-May-08 5:29
led mike6-May-08 5:29 
GeneralRe: IE7 adds a statusbar in ShowModalDialog Pin
King Shez6-May-08 22:53
King Shez6-May-08 22:53 
GeneralRe: IE7 adds a statusbar in ShowModalDialog Pin
led mike7-May-08 5:52
led mike7-May-08 5:52 

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.