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

Ajax problem

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

vjstreet is on a distinguished road

  Old  Ajax problem

Hi,

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
#2
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

  Old

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
#3
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

  Old

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

Reply With Quote
Reply    


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