jQexists

Benchmark created by kenzarolis on


Preparation HTML

<nav class="support">
  <input type="search" />
  <a href="#" id="header_submit_search" title="Buscar"><span class="ir">Buscar</span></a>
  <select class="jumpMenu">
    <option value="http://ken210.com">
      Conheça os produtos
    </option>
    <option value="http://agenciasalve.com.br">
      Salve_
    </option>
    <option value="http://google.com">
      google
    </option>
  </select>
  <a href="#" id="header_faleConosco" title="Fale conosco"><span class="ir">Fale conosco</span></a>
</nav>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
is *
if ($('.ir').is('*')) console.log('ola');
ready
length
if ($('.ir').length) console.log('ola');
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by kenzarolis on