Created
December 5, 2020 06:31
-
-
Save reachkamrul/0a45bd688de2801cc1ae65c5d845b493 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function autoFiller(pagePostID, obj){ | |
jQuery.each( obj, function( i, val ) { | |
jQuery('.'+pagePostID+' input[placeholder="'+i+'"]').val(val).trigger('change'); | |
}); | |
} | |
autoFiller('postid-5412', { 'From ID': '40',}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment