function showReasonForm(id)
{
    $('.layout').css({'width':'600px','height':'400px'});
    $('.layout_content').css({'width':'580px','height':'380px','background': 'red'});


    var html = '<form name="form" method="post">' +
            '<textarea id="reason" name="reason" placeholder="请输入理由" style="width:560px; height: 300px; margin: auto; line-height: 25px; font-size: 14px;"></textarea>' +
            '<input type="button" value="提   交" style="background: #2d98dd;  onclick="CancelOrder('+id+')">' +
            '</form>' +
            '<br>' +
            '<div id="progress"></div>';

    $('.layout_content').html(html)

}

function CancelOrder(){
    alert("aaaaa")
}


 


原文链接:[url] http://lllomh/life/2018-01-08/173.html[/url]

 

posted on 2017-12-08 13:34  lllomh  阅读(51)  评论(0编辑  收藏  举报