Why is the indexOf() property coming out as undefined ? :confused:Code:strSecondHeaderValue = "a_b_c";
alert(strSecondHeaderValue + '\n\n' + strSecondHeaderValue.indexOf['_']);
Printable View
Why is the indexOf() property coming out as undefined ? :confused:Code:strSecondHeaderValue = "a_b_c";
alert(strSecondHeaderValue + '\n\n' + strSecondHeaderValue.indexOf['_']);
indexOf('_')
not
indexOf['_']
I think that will fix it
duh jamie. duh. :rolleyes:
Thank-you :D