Javascript

Topic: JS Objects

How do you assign object properties in JavaScript?

Java script object properties are assigned like assigning a value to a variable. For example, the title property of document object can be assigned as follows:document.title="Welcome to the world of Javascripting";The submit value of form’s action object is assigned as follows:Document.form.action=”submit”

Browse random answers: