Active section in the div

Asked

Viewed 41 times

0

How can I use jquery’s Trigger? I need the page to click and that first "read" is already pressed.

            <ul id="quote-popup-tabs">

               <li data-quote-tab-for="consorcio-auto">Automóvel</li>
               <li data-quote-tab-for="consorcio-moto">Moto</li>
               <li data-quote-tab-for="consorcio-casa">Imóvel</li>

            </ul>
  • 1

    How are you generating that page? Do you have a CMS (worpress for example)? What is the mechanism to open the tab? some kind of css involved (for example .selected)?

  • This tab opens with jQuery? Can you put the jQuery code that opens it and the HTML of the li that is open? An example working would be ideal...

1 answer

1


That solves Brow:

$( '#quote-popup-tabs li:eq(0)' ).click();

If you want, you can put in the functions123.js file on line 502, which is right after the function:

$( '#quote-popup-tabs li' ).click( function() {...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.