How to manually set IMG src in custom dialog

  •  11-15-2010, 5:02 AM

    How to manually set IMG src in custom dialog

    I am attempting to set the src="" property of an IMG tag from a custom tab, using the following javascript (which works with other properties):
     
    function SyncTo(element) {
            element.src = "Something.gif";
    }
     
    This currently doesn't work, presumably because it synchronises with the input control on the standard 'Image' tab afterwards and gets set again with the old property.
     
    Is there any way to set this property without getting rid of the standard 'Image' tab? Such as changing the order in which the tabs synchronise to the element?
View Complete Thread