Using the JavaScript API and jQuery's save
and content
methods, you can copy the values of binary attributes. The following code copies the value of the binary attribute whose DOM-ID is source_binary_field
to the binary attribute named target_binary_field
: