When click on a radio button based on the buttons current value the value of a file upolad is needed to be clear and new value is needed to upload on it,how it is possible by using jquery on click or on change function
Asked
Active
Viewed 80 times
0
-
1Have you tried anything? – ElusiveCoder Nov 23 '18 at 12:14
-
Possible duplicate of [How to reset (clear) form through JavaScript?](https://stackoverflow.com/questions/3786694/how-to-reset-clear-form-through-javascript) – Justinas Nov 23 '18 at 12:15
-
$("#fileInput").replaceWith($("#fileInput").val('').clone(true)); – Bista Nov 23 '18 at 12:18
-
I like to use Jquery so,can you please suggest a solution using Jquery – Bista Nov 24 '18 at 03:27