I’m trying to make a modal dialog with images where you can select multiple images. I need to get values from an input and then to empty it, but I cannot empty the input. I
You could try:
$('input.class').removeAttr('value'); $('#inputID').removeAttr('value');