Use a variable in .aspx.vb to this jquery?

jimbell

New Member
I looked around the net but the <%=variable%> code block doesnt help me regarding my issue. I need to replace the expand text and userCollapseText with a variable from it's aspx.vb file. For that variable contains the proper translation for the words\[code\]<script type="text/javascript"> $(document).ready(function () { $('td.readmore').expander({ slicePoint: 190, expandText: 'More', userCollapseText: 'Hide' }); }); var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(function () { $('td.readmore').expander({ slicePoint: 190, expandText: 'More', userCollapseText: 'Hide' }); }); </script>\[/code\]
 
Back
Top