homepage Welcome to WebmasterWorld Guest from 54.166.255.168
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld Feedback Forums / WebmasterWorld Feedback Days
Forum Library, Charter, Moderators: brett tabke

WebmasterWorld Feedback Days Forum

  posting off  
BBcode validator goofing up pretty badly with JavaScript.
JAB Creations

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



 
Msg#: 4144533 posted 10:14 pm on May 31, 2010 (gmt 0)

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

WebmasterWorld Senior Member fotiman us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4144533 posted 2:56 pm on Jun 1, 2010 (gmt 0)

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

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



 
Msg#: 4144533 posted 9:23 pm on Jun 1, 2010 (gmt 0)

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

- John

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld Feedback Forums / WebmasterWorld Feedback Days
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved