window.addEventListener("load", function(event) { var ArtNr = 236792949; $('input[name="variationid"]').val('RGH R1MLyc-XS'); $(".ItemQuestionForm form > input[data-mail='subject']").val("Artikel-Nummer: " + ArtNr); $('.ItemQuestionForm input[name="Artikelnr."]').attr('disabled', 'disabled').val(ArtNr); });