Jump to content

Append Value


unemployment

Recommended Posts

How can I append the value to an input using javascript.  I need the value to match an ID that I have in my database so that when I press the accept of deny button it will update mysql. 

 

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?

 

 

Link to comment
https://forums.phpfreaks.com/topic/234211-append-value/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.