标题:有大佬帮忙看看么?Jquery
取消只看楼主
jsoft2022
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2022-1-20
 问题点数:0 回复次数:0 
有大佬帮忙看看么?Jquery
控制台:$('#infiles')  返回null,有哪位大佬帮忙看看

code:
程序代码:
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>JSoft Mpeg Worker</title>
  
  <style>
    
  </style>
  <script src="js/jquery.min.js"></script>

</head>
<body>
    <div class="main">
        <div>
            <strong>输入文件路径:</strong><input id="infiles" type="text" placeholder="多个文件名用';'隔开">
            <button onclick="judgeFile()">OK</button><br>
            <small id="elog" style="color:red"></small>
        </div><br>
        
        
        <h3>编辑选项</h3>
        
        <div><strong>提取:</strong>
            <select id="seltq" value="null">
            <option value="null">全部</option>
            <option value="an">仅视频</option>
            <option value="vn">仅音频</option>
            </select>
        </div><br>
        <div><strong>编码:</strong>
            <br>&nbsp;&nbsp;&nbsp;音频:<input id="acodec" type="text" placeholder="编码器" value="copy">
            <br>&nbsp;&nbsp;&nbsp;视频:<input id="vcodec" type="text" placeholder="编码器" value="copy">
        </div><br>
        <div><strong>剪切:</strong>
            <select id="selcut" value="null">
            <option value="null">全部</option>
            <option value="true">自定义</option>
            </select>
            <br>&nbsp;&nbsp;&nbsp;从:<input id="cutss" type="text" placeholder="例:00:00:00.000" >
            <br>&nbsp;&nbsp;&nbsp;到:<input id="cutto" type="text" placeholder="例:00:00:00.000" >
        </div><br>
        <div><strong>分辨率:</strong>
            <select id="selpx" value="null">
            <option value="null">默认</option>
            <option value="true">自定义</option>
            </select>
            <br>&nbsp;&nbsp;&nbsp;宽:高=<input id="pxhw" type="text" placeholder="例:1920:-1,-1为保持比例" >
            
        </div><br>
        <div><strong>图标:</strong>
            <select id="selicon" value="null">
            <option value="null">无</option>
            <option value="aa">左上</option>
            <option value="bb">右下</option>
            <option value="ab">左下</option>
            <option value="ba">右上</option>
            </select>
        </div><br>
        <div><strong>码率:</strong>
            <select id="selcode" value="null">
            <option value="null">默认</option>
            <option value="true">自定义</option>
            </select>
            <br>&nbsp;&nbsp;&nbsp;视频码率:<input id="videocd" type="text" placeholder="例:600" >Kbps
            <br>&nbsp;&nbsp;&nbsp;音频采样率:<input id="audioar" type="text" placeholder="例:40000" >Hz
        </div><br>
        <div><strong>倍速:</strong>
            <select id="selpts" value="null">
            <option value="null">默认</option>
            <option value="true">自定义</option>
            </select>
            <br>&nbsp;&nbsp;&nbsp;视频倍速:<input id="videonpts" type="text" placeholder="例:2" >x
            <br>&nbsp;&nbsp;&nbsp;音频倍速:<input id="audioatempo" type="text" placeholder="例:2" >x
        </div><br>
        <div><strong>字幕:</strong>
            <select id="selsrt" value="null">
            <option value="null">无</option>
            <option value="true">自定义</option>
            </select>
        </div><br>
        <div><strong>帧率:</strong>
            <select id="selframe" value="null">
            <option value="null">默认</option>
            <option value="true">自定义</option>
            </select>
            <br>&nbsp;&nbsp;&nbsp;帧率:<input id="videoframe" type="text" placeholder="例:24" >
        </div><br>
        <div><strong>拼接:</strong>
            <select id="selcat" value="null">
            <option value="null">无</option>
            <option value="true">是</option>
            </select>
        </div><br>
        <div><strong>音量:</strong>
            <select id="selsound" value="null">
            <option value="null">默认</option>
            <option value="true">自定义</option>
            </select>
            <br>&nbsp;&nbsp;&nbsp;音量:<input id="sound" type="text" placeholder="例:0.5" >
        </div><br>
        <br>
        
        <div>
            <a href="javascript:;" onclick="newcmd()" style="font-family:'黑体';font-size:30px">生成</a>
        </div>
    </div>
</body>    
搜索更多相关主题的帖子: strong value option div null 
2022-01-20 15:02



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-508197-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.149153 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved