How can I embed large HTML tags into this scenario?
$(document).ready(function () {
            window.showim = function(src) {
                $("#divcont1").html(src);
            };
        });
Instead of <h1>test</h1> I need to insert large html content
<span class="spcusr" onclick="showim('<h1>test</h1>');">click me</span>
      <div id="divcont1"></div>
My Large HTML Content Sample
<div style="width:976px; height:576px; overflow:hidden; background-repeat:no-repeat; background-image:url(MASTER.jpg)">
<table style="cursor:pointer;">
  <tr height="144">
    <td width="485"  onclick="window.location='#';"> </td>
    <td width="485" onclick="window.location='#';"> </td>
  </tr>
  <tr height="144">
    <td onclick="window.location='#';"> </td>
    <td onclick="window.location='#';"> </td>
  </tr>
  <tr height="144">
    <td onclick="window.location='#';"> </td>
    <td onclick="window.location='#';"> </td>
  </tr>
  <tr height="144">
    <td onclick="window.location='#';"> </td>
    <td onclick="window.location='#';"> </td>
  </tr>
</table>
</div>
My main problem is at double quotes and quotes. Beacuase onclick="showim('this started with single quotes and no more quotes allowed inside')"; So, what to do in this situation? Thanks
 
     
     
    