1

I'm getting that error being reported in firebug:

data = data + "&network=" + rowdata.network + "&10xx=" + rowdata.10xx;

can anyone help me how to fix this error.

vstm
  • 12,407
  • 1
  • 51
  • 47
arokia
  • 25
  • 1
  • 9

1 Answers1

4

rowdata.10xx is invalid JS. Dot notation access of properties uses identifiers and identifiers cannot start with a number. Either use a different property name:

rowdata.x10xx

or use square bracket notation, which lets you use strings instead of identifiers:

rowdata['10xx']
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335