Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Hewitt

Açaõ via $_GET = página undefined! oO

Recommended Posts

Glaera, boa tarde. Do nada, o servidor em que estou testando parou de receber as instruções via $_GET. Aparece assim pra mim o erro:

 

Ação:

http://meusite.com.br/domesticas/desvinc.php?id=2

Erro:

Not Found

The requested URL /domesticas/undefined was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

O que pode ser?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Galera, já descobri. Uso uma JS para o bootstrap não abrir em outra página via Tela de Início (iOS).

 

Mas alguém sabe me informar o porque começou esse erro HOJE??

// Listen for ALL links at the top level of the document. For
// testing purposes, we're not going to worry about LOCAL vs.
// EXTERNAL links - we'll just demonstrate the feature.
$( document ).on(
    "click",
    "a",
    function( event ){

        // Stop the default behavior of the browser, which
        // is to change the URL of the page.
        event.preventDefault();

        // Manually change the location of the page to stay in
        // "Standalone" mode and change the URL at the same time.
        location.href = $( event.target ).attr( "href" );

    }
);

Compartilhar este post


Link para o post
Compartilhar em outros sites

Já consegui resolver... encontrei outro código na internet!

 

Se alguém precisar:

var a=document.getElementsByTagName("a");
for(var i=0;i<a.length;i++)
{
    a[i].onclick=function()
    {
        window.location=this.getAttribute("href");
        return false
    }
}

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.