English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do I display either html or javascript code in yahoo answers?

For ex. If I do something like ->
document.getElementById('bleh').something
it trims the end of the code with "..." so it does not display as I intended it to be.

2007-07-02 09:07:25 · 2 answers · asked by jk 1 in Computers & Internet Programming & Design

2 answers

document. getElementById( 'bleh'). something

by adding spaces you can avoid the horrors!

that works for JavaScript pretty well.

trying to explain a long unix command or other places (where spaces count) is next to impossible!

ubergeeks, also provide a link to a page that shows the problem better, without …!

2007-07-02 09:40:56 · answer #1 · answered by jake cigar™ is retired 7 · 2 0

Break up long lines, or insert spaces so that Yahoo can line-wrap them.

Answers seems to truncate all long, unwrappable lines.

2007-07-02 16:13:11 · answer #2 · answered by McFate 7 · 0 0

fedest.com, questions and answers