update javascript in updatepanel
<p>lets say I've got a function that iterates over an array. The function is outside the updatepanel, the array is defined within the update panel. The items of the array are dynamically created. On the first try I've realized, that the values of the array do not update when the update panel loads again.</p>

<p>Would be glad if someone can provide a solution for this.</p>
