Syntax error when used inside SET

Syntax error when used inside SET

carlhusseycarlhussey Posts: 2Questions: 0Answers: 0
edited August 2013 in General
Hello,

I am using datatables in this function to add a new row on each iteration within my loop. I just implemented a "SET" which was given to me over here to solve my prior question: http://stackoverflow.com/questions/18263073/get-unique-values-during-loop/18263345?noredirect=1#18263345

Now, when I add the row, it get a Syntax error; if i comment it out, there is nothing so I have narrowed it down to doing this insert within this new set that was created.

Any ideas?

[code]
if (allTransAccount[autoArry[i].tmpMerchantAccount]) {

tmpMerchantAccount = '';

} else {

allTransAccount[tmpMerchantAccount] = true;

//Error happens here
$('[name=tableEmails]').dataTable().fnAddData([tmpCounter++, tmpMerchantName, tmpAmName, "" + tmpAmEmail + "", 'SpoofVoid', '

Replies

  • carlhusseycarlhussey Posts: 2Questions: 0Answers: 0
    My mistake, issue was in one of my col's; not a plugin issue :)
This discussion has been closed.