我想在列表标签中包含的通知按钮选项卡上显示一个包含2行1列的表格。我怎么能这样做?
答案 0 :(得分:0)
首先,用html创建你的表,然后给它一个“隐藏的”css属性,并添加一些javascript。
HTML:
create or replace trigger discount_change
before update on maintain
for each row
begin
if :NEW.discount_rate != :OLD.discount_rate
then
update maintain m
set m.discount_price = :NEW.discount_rate * :OLD.price
where m.m_id = :NEW.m_id;
end if;
end;
CSS:
<form action='url_to_submit_to' method='POST' enctype='application/x-www-form-urlencoded'>
<!-- Rest of your code here -->
</form>
使用Javascript:
<form>