$ 0 0 window.parent.document.crmForm.all.new_example.DataValue=tablevalue;try this instead of setValue()