我想用一个div具有background-color,但如果我打印页面会出现在白色.
当我使用<tr bgcolor="#333333">它创建表时也不起作用.
如何使用css和创建打印页面html?
我的代码:
<table border="0px" cellspacing="1" cellpadding="0" bgcolor="#777777" width="650px">
<tr bgcolor="#999999">
<td align=right colspan=2><span style="font:bold 14px 'b nazanin';">Text</span></td>
</tr>
</table>
Run Code Online (Sandbox Code Playgroud) 我有代码:
function compute() {
if ($('input[name=type]:checked').val() != undefined) {
var a = $('input[name=service_price]').val();
var b = $('input[name=modem_price]').val();
var total = a + b;
$('#total_price').val(a + b);
}
}
Run Code Online (Sandbox Code Playgroud)
在我的代码中,我想要两个文本输入的和值,并写入一个id为"total"的文本输入
我的两个数字并不是例如:
service_price value = 2000并且modem_price=4000
在本实施例中总输入值必须是6000,但它是20004000
我fullcalendar在我的网站上使用(fullcalendar.io).
我的网站有另一种需要Jalali日历的语言.所以我尝试将fullcalendar格式更改为jalali,因为我看到此脚本使用moment.js并且moment.js可以选择使用jalali日期.
我无法找到如何以jalali格式切换和使用此日历.
我有一个名称是品牌的价值,像这样:
$brands = "1,2,3,4,5,";
Run Code Online (Sandbox Code Playgroud)
我可以将此值转换为:
$brands = "1,2,3,4,5";
Run Code Online (Sandbox Code Playgroud)
我想要从表中选择*的写源,其中id =每个品牌
例如 :
select * from brands where (id='1' or id='2' or id='3' or id='4' or id='5');
Run Code Online (Sandbox Code Playgroud)
1,2,3,4,5是可变的并且可以改变例如可以改为1,2,9,4,5,8
我怎么写这个?请帮助谢谢