|
-
Sep 4th, 2009, 10:01 AM
#1
Thread Starter
New Member
How to set ActiveView to an Object tag
Hi
I have a JSP and it contains an OBJECT tag:
<object id="PivotTable1" classid="CLSID:0002E55A-0000-0000-C000-000000000046" VIEWASTEXT></object>
There is a java script wchich reseives all the data required to create a dinamic chart graphic and calls a VB script.
What I'm doing in java script:
...
var obj=document.getElementById("PivotTable1");
...
//and then VB function is called with other data as well
process(obj,.....);
At the first line in VB method I'm trying:
Set oView = pivotTableObj.ActiveView
but it fails saying that no such method or property.
Can you help me to set this ActiveView so after all processing is done in VB I can see the chart there in my web page.
Note. The previous version of the code was like this:
var obj=document.getElementById("PivotTable1").object;
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|