This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
Releases: dannyvankooten/populate.js
Releases · dannyvankooten/populate.js
1.2.2
v1.0.2
IE8 doesn't have RadioNodeList
so we're now simply grabbing the type
of the first element if element
is array-ish.
v1.0.1
Instead of querying the DOM for each input field, populate.js now uses HTMLFormsControlCollection
to fetch the corresponding element for each object property.
Note that this requires you to pass the actual form element as a first parameter. The benefit is that this method saves n
DOM queries, where n
is the number of properties your data object has.