Javacript getValue() and setValue()?

I have an external html snippet that is successfully using the getValue() function however I don't see an equivalent setValue() function--what I do see is update(). Can someome confirm that update() will set a new value when run from javascript?Thanks!

Discussions have been disabled for this post