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

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

Registering an Interceptor For All Interface Implementaions in Castle Windsor -