Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 25, 2007 3:41:44 GMT -5
I blame proboards. Just because I can.
|
|
|
Post by Ultima on Jul 25, 2007 10:00:58 GMT -5
xD I'd blame browser incompatibility more than anything, though. I mean, I'm only using the formitem.value property, and concatenating it all. The .value property is *supposed* to return the entire value
|
|
|
Post by Ultima on Aug 5, 2007 23:44:36 GMT -5
So uh. Yeah. I phail at regex? For the curious, the problem was with my whitespace trimming function:
function _(text){return text.replace(/^\W+/,'').replace(/\W+$/,'') This would replace any leading or trailing non-word character.
Corrected:
function _(text){return text.replace(/^\s+/,'').replace(/\s+$/,'') Now replaces any leading or trailing whitespace character, like it's supposed to do.
Trash your browser cache, and happy compatibility report generating!
|
|
|
Post by patrickp on Aug 6, 2007 4:41:02 GMT -5
What, not even a little stab at Proboards, U?
|
|
|
Post by Ultima on Aug 6, 2007 7:58:34 GMT -5
I am just. *sneak_stab@proboards* ;D
|
|