Welcome to WebmasterWorld Guest from 54.227.52.24

Forum Moderators: brett tabke

Message Too Old, No Replies

BBcode validator goofing up pretty badly with JavaScript.

     

JAB Creations

10:14 pm on May 31, 2010 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member



When there are multiple items in an array you have to use solid brackets to refer to the object...

object [ i ]


I had to insert spaces in to that however that's completely unacceptable to have spaces like that in the code as it's a waste of bandwidth for people who understand good practices.

I can't reply to two open posts right now because I'm just hitting this error endlessly.

Also disabling both the BBcode and the smileys is not allowing me to get around this issue.

On a scale of 1-10 this is pretty much a 10 for me in terms of being undesirable. Everything else at the site is just peachy keen for me.

- John

Fotiman

2:56 pm on Jun 1, 2010 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



I think if you wrap it in [code][/code] tags, then you won't run into that problem. For example:


var i = 1;
var arr = [i];


Note, I typically post code inside of [quote][pre][code][/code][/pre][/quote] tags. So:


var i = 1;
var arr = [i];

JAB Creations

9:23 pm on Jun 1, 2010 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Please see my other thread here...
[webmasterworld.com...]

- John
 

Featured Threads

Hot Threads This Week

Hot Threads This Month