tcha! re-read the basics of arrays and found this...
Array(list)
"list" is a comma-delimited list of values to add to the array.
so all i need to do is...
price = Array(pri);
and it works
:-)
thanks for all your help!
Emma
i tried that before but i think i've got something wrong, i get
Microsoft JScript runtime error '800a01b6'
Object doesn't support this property or method
Hi, I'm sure this is a really easy question but it's driving me crazy at the moment.
how do you transform a comma-separated list into an array in Jscript?
what i want is for
price = Split(pri,",");
to work but it doesn't seem to, i get the error:
Microsoft JScript runtime error...
I'm pretty new to asp so please point out if i'm doing something really stupid...
ok so i use the code below with IE 5.50 and it returns "Netscape 4"
var broObj = Server.CreateObject("MSWC.BrowserType");
var BrowserName = ''+ broObj.browser();
var BrowserMajorVer = ''+...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.