You mean this?
(window.location.pathname + window.location.hash) == 'index.php#products' ? 'index.php#products' : 'javascript.void'
0
solved How convert php line into javascript?
You mean this?
(window.location.pathname + window.location.hash) == 'index.php#products' ? 'index.php#products' : 'javascript.void'
0
solved How convert php line into javascript?