jQuery zdarzenie na danych wygenerowanych przez plugin |
jQuery zdarzenie na danych wygenerowanych przez plugin |
18.07.2020, 07:35:40
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 17.07.2020 Ostrzeżenie: (10%) |
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. 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. |
|
|
Wersja Lo-Fi | Aktualny czas: 26.04.2024 - 15:19 |