Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript]Jquery remove nie reaguje
Terrorizer
post
Post #1





Grupa: Zarejestrowani
Postów: 345
Pomógł: 3
Dołączył: 31.03.2012

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


Czy czegoś mi tutaj brakuje? Remove nie działa, próbowałem debuggerem się przypatrzeć, natomiast dochodzi on do momentu gdzie wyświetla mi fragmenty pliku jquery który jest bardzo zawiły.
  1. <!DOCTYPE html>
  2. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  3. function openmsg(){
  4. $(document).ready(function(){
  5. $(".messagebox").remove;
  6. }
  7. }
  8. </head>
  9.  
  10. <div class="messagebox">
  11. <button onClick="openmsg"></button>
  12. </div>
  13.  
  14. </body>
  15. </html>


Ten post edytował Terrorizer 30.10.2014, 13:18:28
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 23.08.2025 - 01:29