JavaScript is a dynamic, weakly typed, prototype-based language with first-class functions usually used for client-side web pages development. Best known for their use in web pages development, JavaScript finds a larger use in web parts. A web part is an integrated set of ASP.NET server control that enable end users to modify the content, appearance, and behavior of web parts directly from a browser at run time.
The primary usage of JavaScript in web parts is to write functions, which are embedded in the HTML pages and enable interaction with the Document Object Model (DOM) of the web page.
Various other usages of JavaScript in web parts are adding pop ups. This enables opening a new window with programmatic control over the size, position, and attributes of the new window. JavaScripts are also useful in validation of web form input values, changing images as the mouse cursor moves over the scripts.








Recent Comments