Pages

Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts

Monday, 8 September 2014

Javascript Introduction


  1. OnChange wont trigger even if the user navigates through empty form fields, onBlur event solves this problem by always being triggered any time an input selection, or focus, leaves a field.
  2. innerHTML gets all of the content of an element, including any HTML tags.