javascript in .net
-
anybody knows how to display text in same format with new lines and paragraphs as stored in database through javascript function. tell me as early as possible. Thanking You. Sincerely, VIRAL PATEL
can u tell more ur need in detail? << >>
-
can u tell more ur need in detail? << >>
hi..... I am explaining you in detail.... see...the page on which we can see the question and replies sent by other people i.e. this page... when we click on any link we will see the message in lightblue color...and it looks properly..same as we typed... I want the coding of this page...I have created such page...when i click on any question i can see the question and same is for reply.....But data is not displayed properly... Message/comment whatever we post on this page will be stored somewhere in database..and when we click we will get them same as we typed....Means....with new line...paragraph..etc... In my project..i can see the message....but not in proper format as i typed... means new lines and paragraphs are displayed in one line..continuously... i dont want it...i want to see message same as I stored... so plz give me solution of this problem...as soon as possible.. if something is to be written in javascript/page coding for that.... Thanking You. Sincerely, VIRAL PATEL
-
hi..... I am explaining you in detail.... see...the page on which we can see the question and replies sent by other people i.e. this page... when we click on any link we will see the message in lightblue color...and it looks properly..same as we typed... I want the coding of this page...I have created such page...when i click on any question i can see the question and same is for reply.....But data is not displayed properly... Message/comment whatever we post on this page will be stored somewhere in database..and when we click we will get them same as we typed....Means....with new line...paragraph..etc... In my project..i can see the message....but not in proper format as i typed... means new lines and paragraphs are displayed in one line..continuously... i dont want it...i want to see message same as I stored... so plz give me solution of this problem...as soon as possible.. if something is to be written in javascript/page coding for that.... Thanking You. Sincerely, VIRAL PATEL
you have to replace new line by tag
.... try it << >> -- modified at 6:47 Thursday 9th February, 2006