
Here,i have handle some problem coming to developers when they try to bind server side values to Textbox on client side. So i decide to solve this problem for those developers who have some week points.Let starts.
Create a Person Class which have two members, which will set and get Firstname and Lastname as shown in below Figure 1.1.
Figure 1.1
On aspx page drag and drop two TextBox's as shown in below Figure 1.2
Figure 1.2
Add jQuery reference under the Head tag as shown in below Figure 1.3. you can also include latest online jQuery reference.
Figure 1.3
You can Override the LastName of Person class as shown in below Figure 1.4. Just for understanding who are on beginner level.
Figure 1.4
Display screen shows out in Internet Explorer as you see in Figure 1.5
Figure 1.5
Display screen shows out in Internet Explorer as you see in Figure 1.6
Figure 1.6
Demo
Demo 1
Demo 2
Download
Pass values to jquery and set to textbox