Embarcadero RadPHP XE2

时间:2015-02-18 10:50:14

标签: php combobox radphp



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" DIR=ltr >
<head>
<title>MPage1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="viewport" content="width=320,user-scalable=yes,initial-scale=1, minimum-scale=1, maximum-scale=1">
<script src="/rpcl-bin/jquerymobile/js/base64.js"></script>
<script src="/rpcl-bin/jquerymobile/js/jquery-1.6.1.min.js"></script>
<script src="/rpcl-bin/jquerymobile/js/functions.js"></script>
<script>
jQuery(document).bind('mobileinit', function(){
  jQuery.noConflict();
  jQuery.extend(jQuery.mobile , {
    loadingMessage: 'Loading',
    pageLoadErrorMessage: 'Error Loading Page',
    autoInitialize: true,
    defaultTransition: 'slide'
  });
});</script>
<script src="/rpcl-bin/jquerymobile/js/jquery.mobile-1.0b1.js"></script>
<link rel="stylesheet" href="/rpcl-bin/jquerymobile/css/jquery.general.css" />
</head>

<body  style=" margin-left: 0px;  margin-top: 0px;  margin-right: 0px;  margin-bottom: 0px; "  >
<div data-role="page"  id="MPage1_page"  >
<link rel="stylesheet" href="/unit1.php?header_file=css" />
<script src="/unit1.php?header_file=js"></script>
<form style="margin-bottom: 0" id="MPage1" name="MPage1" method="post"   target="_self"  action="/unit1.php"><input type="hidden" name="serverevent" value=""><input type="hidden" name="serverparams" value="">
<table  width="320"   style="height:480px"  border="0" cellpadding="0" cellspacing="0"  ><tr><td valign="top">
<div id="ComboBox1_outer" style="Z-INDEX: 0; LEFT: 66px; WIDTH: 185px; POSITION: absolute; TOP: 82px; HEIGHT: 18px">
<select name="ComboBox1" id="ComboBox1" size="1" style=" font-family: ; font-size: ;   cursor: default;height:16px;width:185px;"   tabindex="0"    >	<option value="0"  >value0</option>
	<option value="1" selected="selected"  >value1</option>
</select>
</div>
</td></tr></table>
</form></div>
</body>
</html>
<!-- MPage1 end -->
&#13;
&#13;
&#13;

我在Windows 7机器上安装了RadPHP XE2。 我创建了一个新的移动应用程序,并在表单中添加了一个组合框。我在组合框中添加了2个项目(value0value1),并将项目索引设置为0.

当我运行应用程序时,所选值显示在组合框上方。这种情况发生在IE和Chrome(最新版本)中如何删除它?

编辑:我已附加下载的HTML。奇怪。当我将它保存到.html文件并在浏览器中打开时,页面显示正确,但是从IDE运行它,它没有

enter image description here

0 个答案:

没有答案