Iam using alert box to display the total payment modes.
But in Alert it displaying only 62 out of 110.
my Code::
Expand|Select|Wrap|Line Numbers
- var hidpaym = document.frmrechnung.hidpayt.value;
- var str = hidpaym.split(",")
- var st = "" ;
- alert("str.length::"+str.length)
- for (i=0;i < str.length ; i++)
- {
- if (st == "")
- {
- st = str[i];
- }
- else
- {
- st =st +" \n "+str[i]; // \n to create new line in alert
- }
- }
- alert("testing::"+str.length)
- alert("Please enter integer values as follows,\r\n"+st);
- document.frmrechnung.txtSearch.focus();
Please