Article From:https://segmentfault.com/q/1010000012142144
Question:
<div class="clear" style="margin-bottom: 20px;padding-left: 82px;">
                    <div class="left qwer">Lease term < /div>< div class= "left main-ipt1" > < input type= "name=" "id=" "name="XtBeginDate2 "value=" "/>< img class= "rqxl" src= "../img/xiala.png" alt= "" style= "position: absolute; top: 13px; right: 13px; z-index:;" />< /div≫< div class= "left qwer" > -- < /div>< div clasS= "left main-ipt1" > < input type= "name=" "id=" txtEndDate2 "value=";< img class= "rqxl" src= "../img/xiala.png" alt= "" style= "position: absolute; top: absolute; 13px; z-index:; "/>< /div>< /div>< div class= "clear" style= "margin-bottom: 20px; padding-left: 69px;" >< DiV class= "left qwer" > renting day < /div>< div class= "left main-ipt1" > < InPUT type= "" name= "" id= "startDate2" value= "" />< img class= "rqxl" src= "" "../img/xiala.png "alt=", "style=" position: absolute; top: 13px; right: 13px; z-index:; "/> z-index:;"Gt;< /div>

Answer 0:

You are controlled by JS. When assigning value, you can assign second values together.

Answer 1:
$("#txtBeginDate2").blur(funciton(
$("#startDate2").val($(this).val())
))

Leave a Reply

Your email address will not be published. Required fields are marked *