Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
robert_mika
Master III
Master III

Example of Ajax Toolbar implementation

I'm trying to replicate the Back function from Ajax Toll bar in Workbench.

I got the icon embedded in the website,  and using this js script

<script type="text/javascript">
var mydoc;
      
        function Init() {
            mydoc = Qv.GetCurrentDocument();
     $('#back').click(function() {
  mydoc.Back();
  });
        }
      
      Qv.InitWorkBench({ View: "AccessPoint/Movies Database",Host:"QVS@qv100", BodyOnLoadFunctionNames: "Init" });
    </script>

and then this part to trigger this action:

<div class="img">  <input type="image" onclick="Init()" src="back.png" alt="back"/></div>

but after pressing the image the action in not being trigger.

The screen flashes but the website stays in the same state.

Any takers?

akl


Could you help?

0 Replies