https://wiki.opzsgu.pl/index.php?title=Dostep_do_kotwicy_w_js&feed=atom&action=history
Dostep do kotwicy w js - Historia wersji
2024-03-28T16:07:38Z
Historia wersji tej strony wiki
MediaWiki 1.36.2
https://wiki.opzsgu.pl/index.php?title=Dostep_do_kotwicy_w_js&diff=2039&oldid=prev
Adminka23: Utworzono nową stronę "<pre> let hash=window.location.hash.substr(1); if(hash.length > 0 && hash.includes('=')) { let hash_array=hash.split('=');..."
2019-11-20T16:17:15Z
<p>Utworzono nową stronę "<pre> let hash=window.location.hash.substr(1); if(hash.length > 0 && hash.includes('=')) { let hash_array=hash.split('=');..."</p>
<p><b>Nowa strona</b></p><div><pre><br />
let hash=window.location.hash.substr(1);<br />
if(hash.length > 0 && hash.includes('='))<br />
{<br />
let hash_array=hash.split('=');<br />
if(hash_array.length==2)<br />
{<br />
if(hash_array[0] =='company')<br />
{<br />
alert(hash_array[1]);<br />
}<br />
}<br />
}<br />
</pre><br />
<br />
url<br />
<pre><br />
http://xxx.test/websites#company=sample company<br />
</pre></div>
Adminka23