izmenjeno 1 put, poslednji put Nikola Poša 17.05.2015. u 13:46
Izmene poruke
- Nikola Poša17.05.2015. u 13:46zapis iz teksta poruke
dakle pokusavam sledece da sakrijem div uz pomoc javascripta
npr
https://www.xxxxxxxx.com/xxxx/...excursion?special=sale-special
probao sam ovako
npr
https://www.xxxxxxxx.com/xxxx/...excursion?special=sale-special
probao sam ovako
Code:
function getUrlVars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,
function(m,key,value) {
vars[key] = value;
});
return vars;
}
function showDivFormselect(){
var fType = getUrlVars()["special"];
if(var special =="sale-special")
{
document.getElementById(".FormSelect.selectionbox").style.display = 'none';
}
else
{
function() {
break;
}
}
function getUrlVars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,
function(m,key,value) {
vars[key] = value;
});
return vars;
}
function showDivFormselect(){
var fType = getUrlVars()["special"];
if(var special =="sale-special")
{
document.getElementById(".FormSelect.selectionbox").style.display = 'none';
}
else
{
function() {
break;
}
}