Dn As wrote: I'm currently trying to create a Jtable in a JSP application.
[When the orange-button is clicked,there will be a Discontinue-button show under the Date Approval.And the Date Discontinued will also be updated to current date and time.]
But the problem is,how can i change the code in my PHP and JS so that the "Date Discontinued :" will show a "-" or nothing when the orange-button is unclicked?
Here are the sample of my JS code:
And here is the function for discontinue in PHP:
I have try to rewrite the js code, and search the solving methods for any similar problems posted online but nothing works for me.
Somebody says to try
but it also not working for my case.
Any help would be greatly appreciated