当点击提交或者查看的时候,隐藏和显示对话框

来源:互联网 发布:精解windows 10 pdf 编辑:程序博客网 时间:2024/06/05 03:45
关于点击提交,在本页面弹出个框,怎么显示和隐藏?1.在html找到相对应的id (即为本页面的identifier)2.在点击提交的时候,显示对象的消息框,调用某个方法,(ng-click="editanotherTradeObj(参数可以没有,根据需求)")3.在接口处理的方法写下$("#对应的id").model('hide')进行隐藏若需要点击提交某个表单的时候,需要进入一个本页面的消息框,需要$("#对应的id").model('show');$scope.editanotherTradeObj=function(pro){               var hashData = hashSignature();        customerService.queryCertInfo().then(function(result){           //相应的处理            /*console.log(result);*/            $('#identifier').modal('show');        }) }

阅读全文
0 0
原创粉丝点击