The information in this article applies to:
SYMPTOMSYou may receive a type mismatch error when trying to call the GetAd method of the Commerce.AdServer object from JavaScript and you are passing in a TagList. CAUSEAdServer is expecting a variant array for the TagList parameter. JavaScript is passing the array as a dispatch pointer to a SimpleList object. RESOLUTION
You cannot call the GetAd method from JavaScript directly if you are specifying a TagList. Instead, create a VBScript function that performs the communication with the AdServer object. You can then call this function from within your JavaScript.
Additional query words:
Keywords : |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |