> > I had to remove the dollar sign from $epc otherwise Firefox > > reported "missing variable name". > > That doesn't sound right - there must have been something else causing that.
Yes, yes, you are correct. I am outputting the javascript from php, which was interpreting $epc because the inline string was wrapped in double quotes. I reversed everything (using double quotes internally) and now the variable isn't getting improperly stripped out. Thanks again for all the great information. I'm having a blast with jquery!