Code
var arr = [ "1" ];
$.each(arr, function() {
$('#dive'+ this).html('<iframe name="id'+this+'" src="'+link+'" width="100%" height="100%"></iframe>');
setTimeout(function() {
id1.document.getElementById('id1').value = "VAL";
id1.document.getElementById('id2').value = "VAL2";
id1.document.getElementById('sbm').click();}, 10000);
});
Как сделать что-то типа Code
id+this.document.getElementById('id1').value = "VAL";
?