ciao!
riposto qui il quesito posto nella sezione asp per errore.
ho una pagina index.asp che contiene questo script:
con questo script faccio in modo che tutte le pagine .asp del sito compaiano all'interno del div dx_centro.codice:<script language="Javascript" type="text/javascript"> function pageloader(url, target) { document.getElementById(target).innerHTML = ' Fetching data...'; if (window.XMLHttpRequest) { req = new XMLHttpRequest(); } else if (window.ActiveXObject) { try { if (oXmlHttp == null) { oXmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } else { oXmlHttp.abort(); } } catch (e) { try { oXmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { oXmlHttp = null; } } } if (req != undefined) { req.onreadystatechange = function() {pageloaderDone(url, target);}; req.open("GET", url, true); req.send(""); } } function pageloaderDone(url, target) { if (req.readyState == 4) { // only if req is "loaded" if (req.status == 200) { // only if "OK" document.getElementById(target).innerHTML = req.responseText; } else { document.getElementById(target).innerHTML=" pageloader Error:\n"+ req.status + "\n" +req.statusText; } } } function load(name, div) { document.getElementById('dx_centro').style.display = 'block'; pageloader(name,div); return false; } </script>
ma quando devo fare la submission di un form la pagina che elabora i dati si apre come blank e non all'interno di dx_centro.
come posso fare?![]()
![]()
![]()

