www.webdeveloper.com
Results 1 to 4 of 4

Thread: I want to reload a div, not a page ...

  1. #1
    Join Date
    Jun 2014
    Posts
    1

    Unhappy I want to reload a div, not a page ...

    Hey,
    I want to reload a div only, not the full page. I know that i will get a lot of answers by googling. Bt my case is something different. I dont want to change the content inside the div. I jzt want the div to get reloaded, I dont want to post any new content into the div. An answer for this i was not able to find from googling. Please help me.

    Thanks in advance,
    Nejwrks

  2. #2
    Join Date
    Mar 2005
    Location
    Behind you...
    Posts
    969
    If you're looking for an answer you'll have to explain exactly what it is you want.

    Currently your post doesn't make a whole lot of sense. You say you want to simply reload a <div> on your page (without reloading the page itself), however you don't actually want to change the content of the <div>. And thus I propose the question: why reload the <div>?

    It would seem that by definition something on the page (at least within the source) would have to change in order for any sort of reload action to take place on an element. And ultimately it still comes down to "why?" if you aren't going to change anything on the page. I am almost certain your answer will involve AJAX, but I can't tell you anything beyond that without knowing why you're trying to 'reload' something, except that it doesn't change (which kind of defeats the purpose).
    "Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespeare?"

  3. #3
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773

  4. #4
    Join Date
    May 2014
    Posts
    1,051
    Quote Originally Posted by Sup3rkirby View Post
    ultimately it still comes down to "why?"
    That's what I'm thinking -- if you aren't changing it's content, changing it's appearance, or otherwise... changing it, just what the devil is "reloading" it going to accomplish other than waste bandwidth?!?
    Java is to JavaScript as Ham is to Hamburger.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles