Hello,
While the page loads, I want to transfer some data from Server to a JavaScript array. I have accomplished it in the following (round about) way.
(1) I have defined an "on load" in the BODY tag.
(2) This function is defined as:
(3) I have the following tag within a JSP loop(originally used for displaying a different value, now reused for the current requirement).
(4) This onfocus function is defined as
/* dEIdArray is defined within the script outside any function */
Could you please suggest a better way.
Thanks.
While the page loads, I want to transfer some data from Server to a JavaScript array. I have accomplished it in the following (round about) way.
(1) I have defined an "on load" in the BODY tag.
(2) This function is defined as:
(3) I have the following tag within a JSP loop(originally used for displaying a different value, now reused for the current requirement).
(4) This onfocus function is defined as
/* dEIdArray is defined within the script outside any function */
Could you please suggest a better way.
Thanks.