Question : using javascript or jquery inside inline code

Is  there anyway to use JavaScript or Jquery inside inline code. Consider this

I have a jquery session variable : $.session("example") and I want to use this session value inside the following code

 <%  if (  $.session("example")  ="something") {  %>
     
            'execute code here
 
 <% } %>

Thanks

Answer : using javascript or jquery inside inline code

and use :

1:
<% if ( HiddenFieldForExampleSessionID.Value  == "something" ) { %>
Random Solutions  
 
programming4us programming4us