Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.
This is sample code not yet complete.
- when Wifi connected need to close the softAP.
| // From http://stackoverflow.com/a/26761864/2126472 | |
| $('#txtSample').focus().val($('#txtSample').val()); |
<div class="row">
{!! Form::open(['route' => 'some.route', 'autocomplete' => 'off', 'class' => 'col s12']) !!}
<div class="row">
<div class="input-field col s6">
{!! Form::text('username', isset($user->username) ? $user->username : '', ['id' => 'username', 'placeholder' => '']) !!}
{!! Form::label('username', 'Username') !!}
</div>
</div>Example of jQuery inputmask.
<input id="test" type="text"></input>
<button id="btn">click</button>#test {
text-transform:uppercase;This method will strip off curly brackets from the given table name
and replace the percentage character '%' with [[tablePrefix]].
let re = /{{(.*?)}}/g
let str = 'SELECT * FROM {{%user}} FROM WHERE id IN (?)'
let tablePrefix = 'tbl_'
console.log(str.replace(re, '$1').replace('%', tablePrefix))