Search the Community
Showing results for tags 'reload'.
-
I have a weather station which uploads jpg images to my web site each 5 minutes. I need to refresh my web page to show these images. Last year the refresh instruction in html used to work fairly well on PC but not on Apple. This year the page updates but not the images. www.lanzcam.com/windsurfing/weather.html See www.lanzcam.com/windsurfing/weather6.html for a simplified example I would prefer an automatic reload but even a reload button does not reload images weather6.html
-
Hello, I'm trying to reload only a script instead of entire page. And I want to apply it in an ajax script. How could I do that? My web contains a map(script of openlayers) and I put data into the map. So when I remove this data by a button I would like reload only the map. Here is my code. It only shows an alert if the object has been removed or not: // Autor: @jqcaper// Configuraciones Generalesvar nombre_tabla_pozos = "#tabla_pozos"; // idvar nombre_boton_eliminar_pozo = ".deletepozo"; // Clasevar nombre_formulario_modal_pozo = "#frmEliminarpozo"; //idvar nombre_ventana_modal_pozo = "#pozoModal"; // id// Fin de configuraciones$(document).on('ready',function(){ $(nombre_boton_eliminar_pozo).on('click',function(e){ e.preventDefault(); var Pid_pozo = $(this).attr('id'); var name_pozo = $(this).data('name'); $('#modal_idPozo').val(Pid_pozo); $('#pozo_name').text(name_pozo); }); var options_pozo = { success:function(response) { if(response.status=="True"){ alert("¡Object removed!"); var idPozo = response.pozo_id; var elementospozo= $(nombre_tabla_pozos+' >tbody >tr').length; if(elementospozo==1){ location.reload(); }else{ $('#tr'+idPozo).remove(); $(nombre_ventana_modal_pozo).modal('hide'); } }else{ alert("¡There was an error when remove!"); $(nombre_ventana_modal_pozo).modal('hide'); **RELOAD SCRIPT }; } }; $(nombre_formulario_modal_pozo).ajaxForm(options_pozo);}); Thank you very much!
-
hi im sorry for my poor english. the css and html is new for me.. i edited a news website with html and saved it in notepad.... it only works on that specific page and doesnt work after i enter the site again..(a news site) is it possible that my editing will apply all the time for that site ? thanks !