I have this...
input2.value = 'deny';
I think I need this to be something like...
input2.value = 'deny[$id]';
What's the best way to do this?