Homejavascript how to get value of server side text fields of a web form in javascript and validate it and set focus on a particular field. byAdmin •March 01, 2012 0 if you want to get value of server side text fields of a web form in javascript and validate it and set focus on a particular field. copy and paste the below code in your tags. Tags: javascript Facebook Twitter