Unable to add html table to jquery dialog
I have a jquery dialog with a menu. When the user clicks one of the menu items I switch layouts by inserting some html using jquery:

    $('#someButton').click(function(){
    			$('#someDialog').html($('#someDiv'));
    		});

where `#loadImageFromFile` is a `div` with some html. This works for _everything_ except tables. When I try to insert a table **the inserted div is empty** for some reason.


For example, this doesn't work (div is inserted, but empty):

    <div id="someDiv">
        <table>
            <tr>
                <td>
                    bla
                </td>
            </tr>
        </table>
    </div>

But this does (div is inserted, "bla" is displayed):

    <div id="someOtherDiv">
        <p>
            bla
        </p>
    </div>

Let me know if the dialog code is needed. I'm guessing it isn't since it's working for everything but tables.



Unable to add html table to jquery dialog
===

I have a jquery dialog with a menu. When the user clicks one of the menu items I switch layouts by inserting some html using jquery:

    $('#someButton').click(function(){
    			$('#someDialog').html($('#someDiv'));
    		});

where `#loadImageFromFile` is a `div` with some html. This works for _everything_ except tables. When I try to insert a table **the inserted div is empty** for some reason.


For example, this doesn't work (div is inserted, but empty):

    <div id="someDiv">
        <table>
            <tr>
                <td>
                    bla
                </td>
            </tr>
        </table>
    </div>

But this does (div is inserted, "bla" is displayed):

    <div id="someOtherDiv">
        <p>
            bla
        </p>
    </div>

Let me know if the dialog code is needed. I'm guessing it isn't since it's working for everything but tables.


