Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JS]czy poprawny agrument funkcji?
Obszczymur
post 17.05.2012, 16:52:42
Post #1





Grupa: Zarejestrowani
Postów: 25
Pomógł: 0
Dołączył: 11.12.2011

Ostrzeżenie: (0%)
-----


  1. function poka() {
  2. if(document.getElementById('html').style.display = 'none'){
  3. ...
  4. }
  5. else {
  6. return false;
  7. }
  8. }


Czy taki argument fukncji (document.getElementById('html').style.display = 'none') jest ok? bo skrypt nie chce działać i nie wiem czy to jest problemem wink.gif z góry bardzo dziękuję ! smile.gif
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 16:33