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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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