165
rated 0 times
[
167]
[
2]
/ answers: 1 / hits: 7397
/ 10 Years ago, tue, october 7, 2014, 12:00:00
I am trying to display only First and Last name. Sometimes there will be a middle name comes. In that case i need remove the middle name and join first and last name.How is it possible using JavaScript.
The name comes to a variable from database like
var displayname=abc pqr xyz
i just need abc xyz to a variable .
Thanks in advance
More From » jquery