Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Lowe

    (@squelch)

    In what? Pure JavaScript? jQuery?

    Thread Starter andrezasv

    (@andrezasv)

    In pure javascript, please.

    Thread Starter andrezasv

    (@andrezasv)

    Actually, I would like to trigger a function when the tab is active. For instance, I open an iframe within each tab and I want to call my function changeUrl() for each active tab in order to change the url of the iframe.

    How to do it by modifying the source code?

    Thread Starter andrezasv

    (@andrezasv)

    I solved this problem: I got the element and added an onclic event on it.

    var linkTabAddPagina = document.getElementById(‘ui-id-2’);
    linkTabAddPagina.onclick = function(){

    };

    Plugin Author Matt Lowe

    (@squelch)

    Hi Andrezasv,

    Glad you’ve solved your issue.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Onclick Event’ is closed to new replies.