Мегабоян, записал чтобы было
function requestParam(name){ if(name=(new RegExp('[?&]'+encodeURIComponent(name)+'=([^&]*)')).exec(location.search)) return decodeURIComponent(name[1]); } Использование: requestParam('aspxerrorpath');
Комментариев нет:
Отправить комментарий
Можете оставить свой комментарий