CrazyEngineers
  • string need to displayed in new lines rather than displaying in a single line

    bhaskarreddy006

    bhaskarreddy006

    @bhaskarreddy006-LEB19M
    Updated: May 16, 2012
    Views: 1.0K
    HI all,

    i need javascript or jsp page where i have string recived from some sources say
    "1234"
    now i need display in html page as
    1
    2
    3
    4
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Anoop Kumar

    MemberMay 16, 2012

    var str="1234";
    var strArray=str.split("");
     
    
    now print strArray using indexes... for printing 1 : strArray[0].
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register