first thing there are 3 functions we will use: function setCookie(c_name, value, exdays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value = escape(value) + ((exdays == null) ? "&quo…
What is the issue : When you navigate to http://localhost/students, you will see list of students as shown below Click on any student name. For example when you click on Mark, you will see mark details and the URL in the address bar is http://localh…
You can simply use the below function, You can also change the type element. $("input[type=hidden]").bind("change", function() { alert($(this).val()); }); Changes in value to hidden elements don't automatically fire the .change() event…
源地址:http://www.catswhocode.com/blog/10-handy-and-reusable-jquery-code-snippets Smooth scrolling to top of page Let’s start this list by a very popular and useful snippet: Those 4 lines will allow your visitors to smooth scrool to the top of the page…
本文转自:http://www.binaryintellect.net/articles/218ca630-ba50-48fe-af6e-6f754b5894aa.aspx Most of the times ASP.NET MVC views are rendered as a result of user navigating to some action. For example, when a user navigates to /home/index in the browser…
http://www.formget.com/jquery-post-data/ jQuery Ajax Post Data Example Fugo Of FormGet jQuery $.post() method is used to request data from a webpage and to display the returned result (sent from requested page) on to that webpage from where the reque…