If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
-
dlee
- Veteran Member
- Posts: 108
- Joined: 2020-04-14 00:21
- Location: South Carolina, USA
-
Contact:
Post
by dlee » 2023-02-05 04:33
I have this code in one of my hooks files (just using the alert(varImg) for testing). When I delete a record with an image in it, nothing happens. If i can get this to work I'll then try to access the info with php using ajax but first I need this to work. Any ideas what I doing wrong here?
TD
Code: Select all
function duck_season_2013_after_delete($selectedID, $memberInfo, &$args) {
?>
<script type="text/javascript">
var varImg = $j("#photo-image").attr('src');
alert(varImg);
</script>
<?php
}
-
pböttcher
- AppGini Super Hero

- Posts: 1576
- Joined: 2018-04-01 10:12
Post
by pböttcher » 2023-02-05 08:49
Hi,
Appgini will call the the display of the table, TV after a delete happend, so your script will not be executed.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.