• sacconi

    (@sacconi)


    I have

    <div class="indietro">

    <?php
    echo 'esc_html__('torna ai risultati di ricerca','sacconicase')'

    </div >

    How can I add to the above code the following Js?

    < " onClick="javascript:history.go(-1)">

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    <div class="indietro" onClick="javascript:history.go(-1)">

    <?php
    echo esc_html__('torna ai risultati di ricerca','sacconicase');
    ?>

    </div >
    Thread Starter sacconi

    (@sacconi)

    ok, it works!

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

The topic ‘Adding a javaScript as link’ is closed to new replies.