Search found 1 match

by michalt
Mon Oct 03, 2016 10:09 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Create arrays of textboxes etc
Replies: 2
Views: 10638

Re: Create arrays of textboxes etc

I found the solution for assigning values dynamicly

Code: Select all


for (var i = 0; i < 5; i++){
txtTextbox[i].onChange = function () {
for (var k = 0; k < 5; k++){
sldSlider[k].value = Number(txtTextbox[k].text); }
}
}