In this tutorial we will show how to dynamically change a image src on select list change without refreshing the page.
CREATE table "PLAYERS" (
"ID" NUMBER,
"PLAYERNAME" VARCHAR2(200),
"CARD_URL" VARCHAR2(600),
constraint "PLAYERS_PK" primary key ("ID")
)
/
CREATE sequence "PLAYERS_SEQ"
/
CREATE trigger "BI_PLAYERS"
before insert on "PLAYERS"
for each row
begin
if :NEW."ID" is null then
select "PLAYERS_SEQ".nextval into :NEW."ID" from sys.dual;
end if;
end;
/