小编Axe*_*eem的帖子

按下使用jquery输入下一个字段

我有一个html表单,每当enter按下时,选择下一个字段.
这是一个代码.

 $(document).on("keydown","input",function(event) {
    	if (event.which === 13) {
    		event.stopPropagation();
    		event.preventDefault();
    		$(this).nextAll("input").eq(0).focus();
    	}
});
Run Code Online (Sandbox Code Playgroud)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<form>
    	<table>
    		<tr>
    			<td>Medical Record No.</td><td><input type="text" name="labNo" /></td>
    		</tr>
    		<tr>
    			<td>Age/sex </td><td><input type="text" name="age" />
    				<select id="age">
    					<option value="Year">Year</option>
    					<option value="Month">Month</option>
    				</select>
    				<select id="sex">
    					<option value="Male">Male</option>
    					<option value="Female">Female</option>
    				</select>
    			</td>
    		</tr>
    		<tr>
    			<td>Phone </td>
    			<td><input type="text" name="" value="-,-" /></td>
    		</tr>
    		<tr>
    			<td colspan="2"><input type="button" id="patBtn" value="Save (S)" accesskey="s" />
    				<input type="reset" value="Set Default (D)" accesskey="d" />
    			</td>
    		</tr>
    	</table>	
    </form>
Run Code Online (Sandbox Code Playgroud)

这不起作用.

javascript jquery

5
推荐指数
1
解决办法
1143
查看次数

HTTP请求失败!HTTP/1.1 416请求的范围在php文件中不满意

我该如何解决这个错误.
file_get_contents(http://www.example.com/name/j/92801): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable in line
这是php文件代码.
echo $file = file_get_contents("http://www.example.com/name/j/92801");
我正在使用wamp服务器2.4

php wamp

5
推荐指数
1
解决办法
1345
查看次数

wamp运行时MSVCR110.dll缺少错误

我在Windows 7 32位版本上安装WAMP服务器,但是当我运行它时出现错误MSVCR110.dll is missing.

我安装

Visual C++ 2010 SP1可再发行组件包x86:VC10 SP1 vcredist_x86.exe

这个位置

但问题是不动,然后我安装Visual C++ 2008

但问题仍然存在.然后我下载visual c ++ 2012 redistributable
但这不是安装在我的电脑里这里是一个日志文件
日志文件

[043C:09FC][2014-09-15T15:50:26]: Burn v3.6.3542.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\azeem\Downloads\vcredist_x64.exe, cmdline: ''
[043C:09FC][2014-09-15T15:50:26]: Setting string variable 'WixBundleLog' to value 'C:\Users\azeem\AppData\Local\Temp\dd_vcredist_amd64_20140915155026.log'
[043C:09FC][2014-09-15T15:50:26]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\azeem\Downloads\vcredist_x64.exe'
[043C:09FC][2014-09-15T15:50:27]: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030'
[043C:09FC][2014-09-15T15:50:27]: Detect 2 packages
[043C:09FC][2014-09-15T15:50:27]: Detected package: vcRuntimeMinimum_x64, …
Run Code Online (Sandbox Code Playgroud)

wamp visual-c++ msvcr100.dll

4
推荐指数
1
解决办法
5万
查看次数

标签 统计

wamp ×2

javascript ×1

jquery ×1

msvcr100.dll ×1

php ×1

visual-c++ ×1