|
Post by Blind on Apr 23, 2009 1:02:07 GMT -5
var TsTopics = parseInt(TD[e+2].innerHTML.match(/\Total\sTopics:\s(.+?)/i) ? RegExp.$1: ''); that is what I meant last time lol, it uses parseInt() so it will keep on adding no matter how many digits the number has Originally i used "parseInt()" which gave errors by not counting correctly, so i removed it after first completing the information center,
|
|
DBuzzin
Junior Member
[M:150]
Posts: 90
|
Post by DBuzzin on Apr 23, 2009 6:43:57 GMT -5
did you used parseInt() with the current RegExp ? if so, it would have counted properly because where you have "RegExp.$1+RegExp.$2" instead of that just putting the information stored next to each other, it would add them together which would causse it to count wrong.
sorry to keep going on about these things, just even the small things, can stop members from joining.
|
|
|
Post by banana on Jul 29, 2009 15:47:45 GMT -5
Its banana time!
|
|