Saved Bookmarks
| 1. |
Give An Example With Code Snippet For “param” Method? |
|
Answer» customerObj=new Object(); customerObj.name="A4Academics"; customerObj.Designation=”IT”; $("#myControlID").CLICK(function(){ $("span").text($.param(customerObj)); }); Now the span ELEMENT will have VALUE like - “name=A4Academics&Designation=IT” customerObj=new Object(); customerObj.name="A4Academics"; customerObj.Designation=”IT”; $("#myControlID").click(function(){ $("span").text($.param(customerObj)); }); Now the span element will have value like - “name=A4Academics&Designation=IT” |
|