Bulk Add Custom Attribute Options in Magento 1 $jq=new jQuery.noConflict(); var mimim=["Yellow Topaz", "Alexandrite"]; $jq.each(mimim,function(a,b){ $jq("#add_new_option_button").click(); $jq("#matage-options-panel .dynamic-grid tbody tr:nth-child(2) td:nth-child(1) input").val(b); }); Author: Harshvardhan Malpani PHP Developer based in New Delhi, India. Working as a freelance web developer providing server deployment, website development and maintenance services. View all posts by Harshvardhan Malpani