modify variable in html external object

In the case of Koens posts I see why you can't just use use the simple method of action > modify varaible then set the value?Can anyone tell me where one would use the external HTML method as mentioned?

Discussions have been disabled for this post