[jQuery] Re: Replace newline char with comma using jquery

2009-05-23 Thread Nitin Sawant
Hello Liam, Prob is solved now, I migrated the task in php, now all working fine.. Thanks a million for posting replies and helping me regards, Nitin Sawant On May 21, 8:38 pm, Liam Byrne wrote: > The code works fine here (apart from the security issue). > > I can't understa

[jQuery] Re: Replace newline char with comma using jquery

2009-05-21 Thread Liam Byrne
The code works fine here (apart from the security issue). I can't understand how or why you'd convert a two-dimensional array to a single one, though. Are you SURE that the page that you're testing has the second comma in the following line ? Your original post didn't myArr=myA

[jQuery] Re: Replace newline char with comma using jquery

2009-05-20 Thread Nitin Sawant
I've posted this topic on bytes.com also, pls help me http://bytes.com/topic/javascript/answers/869610-convert-google-finance-data-array regards, Nitin Sawant On May 20, 4:03 pm, Nitin Sawant wrote: > Hello Liam, >       Thanks for your reply, > > i'm retrieving csv file from google finance an

[jQuery] Re: Replace newline char with comma using jquery

2009-05-20 Thread Nitin Sawant
Hello Liam, Thanks for your reply, i'm retrieving csv file from google finance and parsing it, however the script which i wrote doesn't replace newline char from csv file with comma, I want to convert csv file to javascript array. - Another CSV parser - function loadData(){

[jQuery] Re: Replace newline char with comma using jquery

2009-05-20 Thread Liam Byrne
That code that you posted is replacing a newline with nothing - the comma is BETWEEN the parameters and is not one of them Try csvString=csvString.replace('\n',','); Nitin Sawant wrote: Hello frendz, I'm trying to replace newline char frm Google finance csv file with comma but its