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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
robert_mika
MVP
MVP

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?

Labels (1)
0 Replies