Skip to main content

INTRODUCTION TO JAVA SCRIPT




With the popularity of web there is a need to allow users to interact with the website.
Websites need to be intelligent enough to accept user’s request/feedback and dynamically change the content of the webpage on the basis of user input. Some changes like changing background when the content get changed or showing content on the basis of input entered by the user helps to attract the users. JavaScript has been developed to improve the design, validate form entries, detect browsers and manipulate their object, create cookies, and much more. It has emerged as one of the popular scripting language on the internet.
JavaScript can be understood as a scripting language that adds interactivity to HTML pages. It is embedded directly into HTML pages and is an interpreted language i.e. you can execute a JavaScript without preliminary compilation.



In this blog you will learn about using JavaScript with HTML. After completing this tutorial you will be able to:
1. Write simple programming constructs on a webpage.
2. Take inputs from the user and provide desired output.
3. Add interactivity to HTML webpage.
4. Use Objects and manipulate their properties.
5. Use event handling in webpage
6. Use JavaScript with DHTL for dynamically changing content and style of a webpage.

Comments

Popular posts from this blog

Advantages and Disadvantages of EIS Advantages of EIS Easy for upper-level executives to use, extensive computer experience is not required in operations Provides timely delivery of company summary information Information that is provided is better understood Filters data for management Improves to tracking information Offers efficiency to decision makers Disadvantages of EIS System dependent Limited functionality, by design Information overload for some managers Benefits hard to quantify High implementation costs System may become slow, large, and hard to manage Need good internal processes for data management May lead to less reliable and less secure data

Inter-Organizational Value Chain

The value chain of   a company is part of over all value chain. The over all competitive advantage of an organization is not just dependent on the quality and efficiency of the company and quality of products but also upon the that of its suppliers and wholesalers and retailers it may use. The analysis of overall supply chain is called the value system. Different parts of the value chain 1.  Supplier     2.  Firm       3.   Channel 4 .   Buyer

Big-M Method and Two-Phase Method

Big-M Method The Big-M method of handling instances with artificial  variables is the “commonsense approach”. Essentially, the notion is to make the artificial variables, through their coefficients in the objective function, so costly or unprofitable that any feasible solution to the real problem would be preferred, unless the original instance possessed no feasible solutions at all. But this means that we need to assign, in the objective function, coefficients to the artificial variables that are either very small (maximization problem) or very large (minimization problem); whatever this value,let us call it Big M . In fact, this notion is an old trick in optimization in general; we  simply associate a penalty value with variables that we do not want to be part of an ultimate solution(unless such an outcome is unavoidable). Indeed, the penalty is so costly that unless any of the  respective variables' inclusion is warranted algorithmically, such variables will ...