Last active
December 15, 2015 05:18
-
-
Save ethagnawl/5207479 to your computer and use it in GitHub Desktop.
Mass assign harvestapp.com invoice unit price input values.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HOURLY_RATE = 9999.99; // lulz | |
var inputs = [].slice.call(document.querySelectorAll('.price')); | |
inputs.forEach(function (price) { | |
if (price.children[0]) { | |
price.children[0].value = HOURLY_RATE; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment