refresh - jQuery load txt file -


I use this script to refresh data on div #puu. If .load () everything works fine in the existing .php file But if I use the existing .txt file then Load is nothing, why is it?

  & lt; Script & gt; Var refreshId = setInterval (function () {$ ('# puu'). Feeds ("slow") load ('152 and 153.txt'). Feedine ("slow");), 5000); & Lt; / Script & gt;    

You can specify the blank space in the file name for % 20 There is also firing in your feedin before loading. Feedout ("slow") .load ('152% 20 and% 20153.txt', function () {$ (this). FadeIn ("slow");});


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

Send innerHTML text in URL in JSP -