Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> jQuery zdarzenie na danych wygenerowanych przez plugin
Sylus
post 18.07.2020, 07:35:40
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 17.07.2020

Ostrzeżenie: (10%)
X----


Hello,

I wrote a small plugin in jquery to crop pictures. I do it like this:

[html][/html]$(document).ready(function(){
$('.imagethumb').cropImage({size:150});
});

now I'm writing a folder and image management panel, all in jquery and ajax in connection with the database. When I click on the folder, ajax opens, which downloads a database and generates html with images from class = "imagethumb", but for this generated data my plugin no longer works.

I know that there is an on () function for such things and I use it successfully, but I don't know how to use it in the case of the plugin called after loading the document.


Cytat(Sylus @ 17.07.2020, 06:57:04 ) *
Hello,

I wrote a small plugin in jquery to crop pictures. I do it like this:

[html][/html]$(document).ready(function(){
$('.imagethumb').cropImage({size:150});
});
https://trackeasy.fun/usps/ https://showbox.tools/ http://essaywriter.fun/
now I'm writing a folder and image management panel, all in jquery and ajax in connection with the database. When I click on the folder, ajax opens, which downloads a database and generates html with images from class = "imagethumb", but for this generated data my plugin no longer works.

I know that there is an on () function for such things and I use it successfully, but I don't know how to use it in the case of the plugin called after loading the document.



Thank you i got it.
Go to the top of the page
+Quote Post

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: 29.03.2024 - 00:23