Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,253
Total Threads: 80,789
Total Posts: 566,443
There are 60 users currently browsing (tf).
  Our Partners:
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Ajax problem

Thread title: Ajax problem
    Thread tools Search this thread Display Modes  
03-31-2012, 07:52 PM
vjstreet is offline vjstreet
Status: I'm new around here
Join date: Mar 2012
Posts: 1
iTrader: 0 / 0%

vjstreet is on a distinguished road

  Old  Ajax problem


When you load different pictures different times with ajax() jQuery function into some element, is it normal that each time you can see for a fraction of a second the pictures already loaded the previous time ?

This happens even when I empty the DOM element before loading new pictures. The new pictures load, but before they do, it is the previous pictures who load again for a very brief moment. Why is that ?

Reply With Quote
06-01-2012, 09:08 AM
stephan2307 is offline stephan2307
Status: I'm new around here
Join date: Jun 2012
Location: UK
Expertise: php, mysql, js, jquery
Software: PHPDesigner, Chrome
Posts: 10
iTrader: 0 / 0%

stephan2307 is on a distinguished road


This happens if you do poor coding. do you have a link so that we can have a look?

Reply With Quote
09-27-2012, 06:22 PM
Jake B is offline Jake B
Jake B's Avatar
Status: Member
Join date: Aug 2007
Location: SF
Expertise: Coder
Software: Sublime Text, Google Chrome
Posts: 211
iTrader: 1 / 100%

Jake B is on a distinguished road

Send a message via AIM to Jake B


This is because your javascript is being executed after the DOM loads.

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed