My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 468: Script tags are removed when displaying a hidden div in nyroModal
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by vanilla...@gmail.com, Apr 29, 2010
What steps will reproduce the problem?
1.<a href="#test" id="testLink" class="nyroModal">Show Div</a>
2.<div id="test" style="display: none; width: 600px">
    <script type=""text/javascript"">
  $(document).ready(function() {
      $('#TableId').tablesorter({widgets: ['zebra'], widgetZebra: {css: ['gridRow', 
'gridAltRow']}});
  });
    </script>
<table id=""TableId"" class=""grid"" width=""50%"">
  <thead>
        <tr class=""gridHeader"">
          <th>
              User Name
          </th>
          <th>
              First Name
          </th>
          <th>
              Last Name
          </th>
      </tr>
  </thead>
  <tbody>
        <tr class=""gridRow"">
          <td align=""left"">
                UserName1
          </td>
          <td align=""left"">
                FirstName1
          </td>
          <td align=""left"">
                LastName1
          </td>
      </tr>
        <tr class=""gridAltRow"">
          <td align=""left"">
                UserName2
          </td>
          <td align=""left"">
                FirstName2
          </td>
          <td align=""left"">
                LastName2
          </td>
      </tr>
        <tr class=""gridRow"">
          <td align=""left"">
                UserName3
          </td>
          <td align=""left"">
                FirstName3
          </td>
          <td align=""left"">
                LastName3
          </td>
      </tr>
  </tbody>
</table>
</div>

What is the expected output? What do you see instead?
I would expect the output to include the script tag. The output strips the script 
tag but displays the table.

What version of the product are you using? On what operating system?
jquery.nyroModal-1.6.2.min.js windows 7

Please provide any additional information below.
I'm trying to use the jQuery tablesorter to sort the tables that are being created 
dynamically.


Powered by Google Project Hosting