170
rated 0 times
[
175]
[
5]
/ answers: 1 / hits: 156452
/ 15 Years ago, sun, december 27, 2009, 12:00:00
I have this
var date = $('#Date').val();
this get the value in the textbox what would look like this
12/31/2009
Now I do this on it
var id = 'c_' + date.replace(/, '');
and the result is
c_1231/2009
It misses the last '/' I don't understand why though.
More From » jquery