.toggle(true) throw null in $(document).ready(function())

.toggle(true) throw null in $(document).ready(function())

I am toggling row siblings. I wrote .toggle(true) when document ready. see below picture. I think row sibling are not availble before this function calls.
 
 
  1. $(document).ready(

    function() {

    $(

    'tr[@class^=RegText]').hide().children('td');

    list_Visible_Ids = [];

    var idsString, idsArray;

    idsString = $(

    '#myVisibleRows').val();

    idsArray = idsString.split(

    ',');

    $.each(idsArray,

    function() {

    if (this != "") {

    $(

    this).siblings('.RegText').toggle(true);

    list_Visible_Ids[

    this] = 1;

    }

    });

 
 
 
How to resolve this?