Jquery (with Ajax & Data integration) Lesson 1
Im having ideas of social events being constantly updated to XML Feed, and users able to see the updates via this method, anyways, ill quote from the article:-
To that end, I’m going to walk you through these four steps to effectively implementing a client side Repeater, using ASP.NET AJAX and jQuery:
Jquery Lesson 2
Only Simple stuff from me, just found this nice tutorial, that shows how to acquire data via 'get' or 'post' via jquery. Im amazed by its simplicity, check it out.
Using jQuery in ASP.Net AJAX Applications – Part 1
Im having ideas of social events being constantly updated to XML Feed, and users able to see the updates via this method, anyways, ill quote from the article:-
To that end, I’m going to walk you through these four steps to effectively implementing a client side Repeater, using ASP.NET AJAX and jQuery:
- Create an RSS Reader page method to return JSON data to the client.
- Call that page method with jQuery.
- Use the returned data to build a table on the client side.
- Improve upon the table creation with a templating plugin.
Jquery Lesson 2
Only Simple stuff from me, just found this nice tutorial, that shows how to acquire data via 'get' or 'post' via jquery. Im amazed by its simplicity, check it out.
Using jQuery in ASP.Net AJAX Applications – Part 1
1: <script>
2: $(document).ready(function () {
3: $("#txtNoTic").change(function () {
4: $("#Error1").html("");
5: var ticketRequest = $("#txtNoTic").val();
6: $.get("getData.aspx", function (result) {
7: var ticsAvail = parseInt(result);
8: if (ticketRequest > ticsAvail) {
9: $("#Error1").html("only " + ticsAvail + " are available.");
10: $("#Error1").css("color", "red");
11: }
12: else {
13: $("#Error1").html("Tickets available, pls proceed confidently");
14: $("#Error1").css("color", "green");
15: }
16: });
17: });
18: });
19: <script>
Jquery Templating
pretty interesting technology, i just find it style so similar to classic asp, except this is all done in client side js! Altho it seems to be able to do bit more then classic asp.
To get started
1) download the Jquery template files [download]
*note the download button is on top*
2) read a tutorial site [view]
3) read a resource on it [view]
4) MSDN Article on Jquery
Explore Rich Client Scripting With jQuery, Part 1
Explore Rich Client Scripting With jQuery, Part 2
Web Site Improvements Using jQuery and jQuery UI
Predictive Fetch with jQuery and the ASP.NET Ajax Library
No comments:
Post a Comment