Here is a function I made:

function dis_sub(CID,ALI,NAME,PIC,EID)
{
  SUB_CAT+CID.ALI.value = ALI;
  SUB_CAT+CID.NA.value = NAME;
  SUB_CAT+CID.IDD.value = EID;
}

It is saying that I have syntax error right after the = sign.
Also SUB_CAT is not a variable.

Sorry for the trouble.

I figured it out. lol
For 4 hrs I could not figure the problem out and after posting, 1min later solved....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.