Example- "amitesh verma" to be converted to "verma amitesh"
Need help,Urgent.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sreejesh SPRank #1,975 · 740 reputationPosted May 2, 2013, 10:58 PM EDT
Please use below code that code definetly working
aspx page
Thanks
Sreejesh
Sreejesh SPRank #1,975 · 740 reputationPosted May 3, 2013, 1:25 AM EDT
My first post is only two word in reverse order format,in this below code use n word in reverse order so please use this below code and this code is definitely working
ASPX PAGE
function reverse(evt1) {
debugger;
var text = document.getElementById("text1").value;
var n = text.split(" ");
var x = n.length;
var str = "";
for (var i = x-1; i >=0; i--) {
str = str+n[i]+" ";
}
document.getElementById("text2").value = str;
}
Thanks
Sreejesh