⟩ What are the methods involved in JavaScript?
- Method is an informative that gets performed over an action that is related to the object. Method either performs on some object or affect any part of the the script or a document. Object can have as many number of methods that have associations with other objects. There is a method that is used by the JavaScript statement that includes a reference to an object this is given as :
document.orderForm.submit()
document.orderForm.entry.select()
- These are the functions which perform the dynamic interaction with the user. The first statement execute the element when pressed submit button to send a form to a server. These two statements are related to only the form. The scripts that are invoked will have the write of the document as well and will be written as :
document.write("Give the version " + navigator.appVersion)
document.write(" of <B>" + navigator.appName + "</B>.")