在 safari (iOS) 的 form 输入框进去是 “前往” 作为提示词,如何让提示变成 "发送"
<body>
<p class="container">
<h1>Change "Go" to "Send"</h1>
<form action="login.php">
<p class="row">
<p class="col-lg-6">
<p class="input-group">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Send!</button>
</span>
<input type="text" class="form-control" placeholder="Search for...">
</p><!-- /input-group -->
</p><!-- /.col-lg-6 -->
<p class="col-lg-6">
<p class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">发出!</button>
</span>
</p><!-- /input-group -->
</p><!-- /.col-lg-6 -->
</p><!-- /.row -->
</form>
</p>
<script>
_inputTextField.borderStyle = UITextBorderStyleRoundedRect;
</script>
</body>
演示: http://dotku.github.io/tech/ios/changeGoToSend.html
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
_inputTextField.borderStyle = UITextBorderStyleRoundedRect;
修改一下样式看看