I am calling a list of records from my sql database then I write them to a dynamic table. During this I have a variable(CountRecord) that increments every time I add a new element to the table. I was wondering if it was possible to call CountRecord from my .js file and change my
$(“#SubFirst”).animate({height:525},”slow”);
to something like
$(“#SubFirst”).animate({height:”<%=CountRecord%>*30px”},”slow”);
I am guessing that the variable doesn’t cross over different files. So I don’t even know if this is possible. If anyone knows of a different way to do this I am willing to give it a shot.