How increment a Freemarker variable in Js

  • Sarat

    Sarat - 2011-08-02

    How increment a Freemarker variable in Javascript .

    In a FTL page :
    a) I have created a variable row & assigned value to 0.  <assign row=0/>
    b) call a jsfunction when the user clicks on a button .
    c) In theJS function I need to increment the freemarker row value .

    How to increment the freemaker variable in JS .
    Please help . Its really urgent .

  • Nobody/Anonymous

    See my answer on the mailing list… There seems to be a major misunderstanding on your side regarding what FreeMarker is. It runs on the server, and before JS runs on the client.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks