I have several text boxes with class name ‘check’. It already has ’12/12/2001 00:00:00′ string. I want to remove the ’00:00:00′ part from every text boxes. How do I do this from jquery?
I have several text boxes with class name ‘check’. It already has ’12/12/2001 00:00:00′
Share
Just get the value and truncate it at the first space.
You can do it with a shorter bit of code using
split, but it works harder: