Hi, I have written a code to split the string and here is the code.
I managed to get the value from myTemp1(tried it) but i have problem with
In FireFox Error Console show the error message :
Error: myTemp1.split is not a function.
Why the browser treat it as function? Please advice.
Thank you
Code:
var myString = (str);
var myTemp1 = myString[11].split(",",1);
var myTemp2 = new Array();
myTemp2 = myTemp1.split("=",2);
var myManager = myTemp2[1];
Code:
myTemp2 = myTemp1.split("=",2);
Error: myTemp1.split is not a function.
Why the browser treat it as function? Please advice.
Thank you
Comment