Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Star
8068 Points
1023 Posts
Microsoft
Apr 09, 2012 08:09 AM|LINK
Hi
You can use javascript to get it :
function (int i) { var test = "1Hello-2Hai-3Bye-4GoodBye"; var stringarray=test.split("-"); for (var i = 0; i < stringarray.length; i++) { stringarray[i] = stringarray[i].substring(1); } document.write(stringarray[i]); }
You will get the value by index.
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Jquery to hide / show data on based on navigation
Apr 09, 2012 08:09 AM|LINK
Hi
You can use javascript to get it :
function (int i) { var test = "1Hello-2Hai-3Bye-4GoodBye"; var stringarray=test.split("-"); for (var i = 0; i < stringarray.length; i++) { stringarray[i] = stringarray[i].substring(1); } document.write(stringarray[i]); }You will get the value by index.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework