Show element by checking session in asp.net
Clash Royale CLAN TAG #URR8PPP Show element by checking session in asp.net I want to show element (div element) by checking Session of user It means if User didn't login when Click on the TextArea show Login page with Here is my code... <script> $(document).ready(function () { $('.form-control').click(function () { $('.form').show(); return false; }); }); </script> ///code of textarea <div class="form-group"> <textarea class="form-control" name="Text" id="Text" rows="5" data-rule="required" placeholder="message" onclick="loginfunction"></textarea> <input type="hidden" name="Date" id="Date" class="form-control" value="@DateTime.Now" /> <div class="validation"></d...