JavaScript For Loop in XSL document

Posted by Nagendra on Stack Overflow See other posts from Stack Overflow or by Nagendra
Published on 2010-04-13T14:59:44Z Indexed on 2010/04/13 15:03 UTC
Read the original article Hit count: 412

Filed under:
|

Hello All,

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

Any help on this would be greatly appreciable.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about xsl