Search code examples
javascripthtmlprototypejs

Using prototype instead of innerHTML in javascript


How to use prototype instead of innerHTML while assigning the values to the elements of the html page??


Solution

  • innerHTML and prototype are used for two completely different purposes in JavaScript. there is no comparison.

    see the following links

    InnerHTML

    Prototype