How to param in setParameter for an array
Hello,
I have a requirement to get the group of text in an array and set the parameter for each text, so that these parameters will be read by a perl script to update onto the database.
But from the following code, I could not get the param values in my perl script from my javascript/ajax.
for(k = 0; k<site.length; k++){
r.setParameter('site_desk+k', desk_det[k].getControlText());
}
Can anyone please help me, if I am missing something?
Thanks in advance
I have a requirement to get the group of text in an array and set the parameter for each text, so that these parameters will be read by a perl script to update onto the database.
But from the following code, I could not get the param values in my perl script from my javascript/ajax.
for(k = 0; k<site.length; k++){
r.setParameter('site_desk+k', desk_det[k].getControlText());
}
Can anyone please help me, if I am missing something?
Thanks in advance
Vijay
October 3,