Today there is a need to allow users to actually interact with the website. Website must collect data from the user and dynamically structure the webpage content according to users requirement capturing, user input is done via form once a form captures users, input form must have built-in mechanism for sending information to the webserver for processing. This processing is generally done using scripts. The website development environment should also provide the facility for validating user-input. Invalid input should not be passed on to the server for processing. So, there has to be a facility that the client send to validate the data. All these facilities are provided in JavaScript. JavaScript is a scripting language developed by Netscape.
Clientside JavaScript is embedded into a standard html file. Javascript statement are written between and . The javascript block can be embedded in the section or body section of the html file. The has an attribute named
language. Set it to value “Javascript” so that the browser understands that the
scripting language used is javascript.
e.g.
Today there is a need to allow users to actually interact with the website. Website must collect data from the user and dynamically structure the webpage content according to users requirement capturing, user input is done via form once a form captures users, input form must have built-in mechanism for sending information to the webserver for processing. This processing is generally done using scripts. The website development environment should also provide the facility for validating user-input. Invalid input should not be passed on to the server for processing. So, there has to be a facility that the client send to validate the data. All these facilities are provided in JavaScript. JavaScript is a scripting language developed by Netscape.
Clientside JavaScript is embedded into a standard html file. Javascript statement are written between and . The javascript block can be embedded in the section or body section of the html file. The has an attribute named
language. Set it to value “Javascript” so that the browser understands that the
scripting language used is javascript.
e.g.
3 Comments
Bjyt
ReplyDeleteOh bhai
ReplyDeleteHey prem
Delete