Question: how to pass data from view to controller using jquery?
Answer: how to pass data to controller action from view using jquery. <script type="text/javascript"> var swipeinId, swipeoutId; $(document). ready(function () { SwipeIn(); SwipeOut(); $("#btnswipeIn"). click(function () {clearTimeout(swipeinId); }); var time = document.