Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Rav3
Contributor II
Contributor II

meshups

I created one button in HTML I want to call the java function which should clear the current selection'

tried with below script it is not working.

HTML:

<button onClick=require.testButton()>

Clear

</button>

JS:

function testButton(){
var app = qlik.openApp('dbf31137-e726-432a-9070-9bd70107026c', config);
   app.field("RequestNumber").clear(); 

}

thanks

Ravi

1 Reply
Anonymous
Not applicable

First I would put a console.log('Inside function testButton') in your javascript function to see if it is really being called.