Jump to content

bootstrap; replacing div html

Recommended Posts

I have a target div element for a callback,

<div id='placehtmlhere'></div>

The first call fills that empty div element


Later, a second call executes, but this time the layout changes.  If I load the first call parameter (getting the very first

result set again) it changes too.


I there something going on in the bootstrap grid I don't know about?

<div class='container'>
   <div class='row'>
      <div class='col-md-6'>
         <table border='0' cellpadding='0' cellspacing='1'>
                  <div id='placehtmlhere'> </div>
      </div>   <!-- end col 6 -->

Do I need to tickle it... let it know the HTML is changing?  If nothing is apparent, it must be just some bad css coding I guess.  Thanks for any suggestions.


Share this post

Link to post
Share on other sites

"The layout changes"? What's the HTML you're inserting?

  • Like 1

Share this post

Link to post
Share on other sites

I just don't know what was going on.  I ripped it all up and started over.  Now it works for some reason.  Nuke the post please.

Thanks for your help. 

Share this post

Link to post
Share on other sites

You css code is right. but check your script code of your php. Check this code again : 


That's JavaScript, and assuming that the browser encounters the proper <script> tag, and 'xmlHttp' is an object with a property named 'responseText', and there are no previous execution errors in the page's JavaScript, it should do exactly what it says it will do. :)

Edited by dalecosp

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.