MrBool
× Please, log in to give us a feedback. Click here to login
×

You must be logged to download. Click here to login

×

MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

×

MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

Using the Post Function - Course Introduction to jQuery UI - Part 21 | web Developer courses

This video discusses the post function. We will use it to post data to the server. The parameters we will be passing are the name of the page, the ID, and the callback function.

Duration: 19:47 minutes

Summary: This video discusses the post function. We will use it to post data to the server. The parameters we will be passing are the name of the page, the ID, and the callback function. So when the user clicks a button on the page, the click event is triggered and the post function is called. We will be calling Record.aspx. This page is expecting an id in the request object. We will create a json object that contains that id, serialize it and return it to the user. On the client side, we will retrieve the data in the json object and display it on the screen. Although the post function is handy to make these types of calls, you will end up using the ajax function if you need more flexibility with the call. Behind the scene post uses ajax. To illustrate this, we will build the same call using the ajax function. The ajax function takes a large set of parameters that ranges from the type, to the url and data (there is a long list of these parameters on the jQuery web site). After making the ajax call, we will call the done function to retrieve the data and display it on the page. Obviously, we will have the same result as the post call.

Technologies and Resources: jQuery, jqGrid, Visual Studio 2010, Ajax, function, div, click, function, html, button, $.post, $.ajax.



Senior Software Engineer with experience in C#, JavaScript, jQuery, Knockout JS, Kendo UI, HTML5, and SQL Server. Ayad has more than 20 years experience in technical training and teaching. Contributor to MrBool for about 7 years.

What did you think of this post?
Services
Know how to keep MrBool Online
SUPPORT US
SUPPORT US
With your help, we can keep providing free content and helping you to be a better professional
support us
[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits
[Close]
You must be logged to download.

Click here to login