Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Rav3
New Contributor

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

Re: meshups

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