In the standard URL- encoded notation jQuery serialize() is used to create the text strings. It also forms several other controls.
 

$("button").click(function(){
    $("div").text($("form").serialize());
});

BY Best Interview Question ON 07 Jul 2019

Suggest An Answer