title: Getting array values of checkbox from iframe to parent window
body: <p>i have this code which is suppose to get array values from iframe to the parent window</p>
  
  <pre><code>    $("#close_nr").bind("click", {page: this}, function (e) {
          var chkroomArr = new Array();
          $("input[name='name'].checked").each(function () {
              chkroomArr.push($(this).val());
              chkroomArr.toString();
              $("#RoomCategoryID", window.parent.document).val(chkroomArr);
          });
          $(".yui3-button-close", parent.document).trigger("click");
          $(".yui3-panel-content", parent.document).remove();
      });
  </code></pre>
  
  <p>how can i do this code to work because it is not passing the require value to the parent window. and how can i get the value to display went it is in the parent window
  thanks in advance</p>