I have a peculiar problem with having a JavaScript for loop in XSL document. Here it goes:
I am calling a JavaScript function on the click of a CheckBox. Following is what I wanted to do in the javascript function ::
function SeelctAll()
{
for(var cnt = 0; cnt < 100; cnt++)
{
//Business Logic here.
}
}
For this I replaced <
with <
and tried. I got an error saying "Object Expected". I then enclosed the whole function inside a <![CDATA[
section and tried. Still I got the same "Obejct Expected" error.
Any help on this would be greatly appreciable.