terça-feira, 27 de julho de 2010

Retorna o caminho da base

var caminho;
caminho = window.location.pathname.substring(0, window.location.pathname.toLowerCase().indexOf(".nsf") + 4);
var caminho = window.location.pathname.substring(0, window.location.pathname.toLowerCase().indexOf(".nsf") + 4);

Nenhum comentário:

Postar um comentário