Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Adding drilldown javascript call

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Adding drilldown javascript call
 Login/Join
 
Silver Member
posted
Hi,

I'm trying to add a drilldown which will call a JS function. I've setup the drill down and added my function to the embedded JS.

When I click on the appropriate link which should engage the function nothing happens. When I view my browser console I see the following:

"Uncaught TypeError: MDitemClickJQ is not a function"

Reviewing the generated html the link has an href like so:

"javascript:if(typeof(MDitemClickJQ)!='function')MDitemClickJQ=parent.MDitemClickJQ;MDitemClickJQ(0,'0','');"

Looking for this MDitemClickJQ through all frames on the page I can't seem to find it anywhere. I didn't create it.

Thoughts? Anyone run into this?

This message has been edited. Last edited by: FP Mod Chuck,


Windows 8203 All output formats
 
Posts: 47 | Registered: November 30, 2018Report This Post
Expert
posted Hide Post
Sean,

What should that JS function be doing?




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Silver Member
posted Hide Post
Good Morning Doug,

The function that I created is just firing a simple alert for now - just a proof of concept that I'm calling things properly.

The MDitemClickJQ I didn't create, not sure what it is supposed to be doing.

Thanks for your help.


Windows 8203 All output formats
 
Posts: 47 | Registered: November 30, 2018Report This Post
Virtuoso
posted Hide Post
This may help.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
Sean,
I tried the following steps in App Studio 8009 and they worked for me. Try these in your version and see if they work for you.

1. Create an HTML page
2. Add a drop-down control
3. In the setting for the drop-down (combobox1), add two separate web sites and their displayed names
4. In the onchange event of combobox1, added the following 3 lines of code for testing the page
	alert (document.getElementById("combobox1").selectedIndex);
        var values = IbComposer_getCurrentSelection('combobox1');
        alert (values);
        

5. Run the HTML page and then clicking on an item in the drop-down


WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)
 
Posts: 90 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Adding drilldown javascript call

Copyright © 1996-2020 Information Builders