Is it possible to perform javscript operations within the jQuery template markup?
I have a collection of objects for which I only want to show certain information on the first iteration through the template.
<script type="text/javascript">
var x = 0; // Counter
</script>
<script id="QuoteTemplate" type="text/x-jQuery-tmpl">
{{if x = 0 }}
// Show Stuff
{{ x++ }}
</script>