EasyUI Forum
March 29, 2024, 03:10:23 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: get details/images from datagrid view on: February 14, 2018, 10:03:02 AM
yes, that's precisely what I want to do...but I can't find any selector that works with the image. I tried
$(".img").on("click", function() {
//manage the image
});
or, using delegated event handler (because the img is added only after the detail row is shown)
$("body").on( "click", ".img", function() {
  //manage the image
});
None of the above code "clicks" any event...I tried changing the selector, assigning an ID or different class name, but it just doesn't seem to "see" the added row...
2  General Category / EasyUI for jQuery / get details/images from datagrid view on: February 13, 2018, 08:05:17 AM
In a case like this: https://www.jeasyui.com/tutorial/datagrid/datagrid21.php, how can I click and select the image and make it bigger?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!