我正在通过Cordova构建Windows移动应用程序.我有一个选择菜单,我有8个选项要显示,其中最后一个选项有冗长的文本.这些值是静态的,来自Sqlite数据库.现在最后一个选项(其他[例如Donors; Corpora])即将出现,并且没有完全显示在图片中.
我如何在那里自动包装文字?
我正在使用的CSS是
.disaster {
word-wrap:break-word;
}
.disaster option{
word-wrap:break-word;
}
Run Code Online (Sandbox Code Playgroud)
我正在使用的Html代码是
<select name="select-disaster" id="select-disaster" class="disaster"></select>
Run Code Online (Sandbox Code Playgroud)
基于id,我从Sqlite数据库中获取选择选项.
请告诉我如何在Windows 8手机中进行Word包装?
我无法通过 Twilio API 发送短信。我得到以下异常:
错误:未经授权的端点,请检查设置->安全->远程站点设置端点:url
global class SampleSMSTest {
@future(callout=true)
public static void testsms() {
try {
String account = 'xxxxxxxxx';
String token = 'xxxxxxxxxx';
TwilioRestClient client = new TwilioRestClient(account, token);
Map<String, String> params = new Map<String, String> {
'To' => '+91953835xxxx',
'From' => '+1920569xxxx', // twilio registered number
'Body' => 'Hello there!'
};
TwilioMessage message = client.getAccount().getMessages().create(params);
} catch (Exception e) {
System.debug('Main error==========>' + e);
}
}
}
Run Code Online (Sandbox Code Playgroud) 如何从PostgreSQL中的行级(不在列中)获取最小值,最大值.
postgresql> SELECT * FROM employee;
+------+------+------------+--------------------+
| id | name | q1 | q2 | q3 | q4 |
+------+------+------------+--------------------+
| 1 | John | 20 | 30 | 10 | 4 |
| 2 | Ram | 07 | 10 | 03 | 04 |
| 3 | John | 05 | 03 | 15 | 40 |
| 4 | Sree | 12 | 05 | 20 | 25 |
Run Code Online (Sandbox Code Playgroud)
我需要单选择查询来获取最小值和最大值.怎么解决这个问题. 条件是(其中id = 4)但我需要的结果是最小值为05,最大值为25来自员工表.