<
script language ="javascript" type ="text/javascript">$(function($) {
$.map($("form > *"), function(e) {
if (e.type != "hidden") {
alert("HTML ControlType:- "+ e.type+" ' " +"And" +"Control Name:- "+ e.name);
} }); });</script>
But my requirement is to display the retrived control names and id in a grid view of same MVC view(aspx page).
Please help me how to achive this.
Thanks
Satish Kacham