ReenaJ
12-20-2007, 10:49 AM
Hi,
How to add double quotes in java script var. I got error if I give double quotes within "".but It's accepting if I give single quotes within "".
snippet:
for (i=0;i<Ca.length;i++){
getModel =getModel +"'"+Ca.options[i].text+"'"+",";
}
var getST=getModel+")"+""";
Thanks in Advance!
Reena.
How to add double quotes in java script var. I got error if I give double quotes within "".but It's accepting if I give single quotes within "".
snippet:
for (i=0;i<Ca.length;i++){
getModel =getModel +"'"+Ca.options[i].text+"'"+",";
}
var getST=getModel+")"+""";
Thanks in Advance!
Reena.