I have this
var date = $('#Date').val();
this get the value in the textbox what would look like this
Now I do this on it
var id = 'c_' + date.replace("/", '');
and the result is
It misses the last '/' I don't understand why though.
©2020 All rights reserved.