fungus:
My lid is metal, not much chance of changing it.
How about get a cheap 'touch lamp.' Open it up and find out how they did it. They usually have metal base. Inside is doubtless a dielectric and another metal plate and a little circuit. You can recreate it or even easier pull the guts out and adapt it to your jar.