我试图用一些常见的输入创建表单
<input type="text">
Run Code Online (Sandbox Code Playgroud)
现在,我需要创建textarea输入,因为更多的文本输入
<textarea>
Run Code Online (Sandbox Code Playgroud)
我没有发现任何关于此的帖子.我的代码是吼叫.谢谢你的建议.
function(editor, type, name) {
editor.windowManager.open( {
title: 'Advert type: ' + name,
body: [
{
type: 'textbox',
name: 'target',
label: 'Target',
autofocus: true
},
{
type: 'checkbox',
name: 'blank',
checked: true,
label: 'Open in new tab'
},
{
type: 'textbox',
name: 'text',
label: 'Main text',
minWidth: '600',
},
{
type: 'listbox',
name: 'align',
label: 'Text align',
maxWidth: 100,
values: [
{
text: 'Left',
value: 'left',
icon: 'icon dashicons-align-left'
},
{
text: Right',
value: 'right', …
Run Code Online (Sandbox Code Playgroud) 我需要通过按钮提交表单,该按钮超出了JavaSript的表单范围.
<form>
<input name="data" type="text">
<input type="submit" name="send" id="send-button" style="display: none">
</form>
<button onclick="$('#send-button').click() || .submit()"></button>
Run Code Online (Sandbox Code Playgroud)
按钮#send-按钮是可见的,我需要将整个表单发送到服务器.这意味着我收到$ data和$ send(两者).
现在我只得到$ data.
任何的想法?
我需要在linux中创建脚本。有这样的命令:
psql -U postgres -d ticketon -c "UPDATE "user" SET "password" = 'test'"
Run Code Online (Sandbox Code Playgroud)
当我把它加引号时,有错误。当引号外,也有错误。我几乎尝试了所有方法,但仍然没有成功。有谁知道什么是正确的语法?
我需要有两列的表.每行是一对单选按钮.
例如:有问题和两个可能的答案是/否.
+------+------+
| yes | no | - 1.question
| yes | no | - 2.question
| yes | no | - 3.question
| yes | no | - 4.question
| yes | no | - 5.question
+------+------+
Run Code Online (Sandbox Code Playgroud)
问题是我需要将单选按钮传播到整个单元格.如果有人想选择选择,那么仅针对文本就不舒服......如何做到这一点
<table>
<tr>
<td>
<input type="radio" name="first">yes</radio>
</td>
<td>
<input type="radio" name="first">no</radio>
</td>
<td>
1.Question
</td>
</tr>
<tr>
<td>
<input type="radio" name="second">yes</radio>
</td>
<td>
<input type="radio" name="second">no</radio>
</td>
<td>
2.Question
</td>
</tr>...
</table>
Run Code Online (Sandbox Code Playgroud) html ×2
button ×1
css ×1
forms ×1
javascript ×1
modal-dialog ×1
postgresql ×1
sql-update ×1
submit ×1
textarea ×1
tinymce ×1
wordpress ×1