aos

导航

<2016-1-29>

Posted on 2016-01-29 14:38  aos  阅读(120)  评论(0编辑  收藏  举报

1.打电话,发短信,发邮件

  //打电话

  <script>

    function call(){

      var call = new CallManage();

      call.call('10086');

    }

  </script>

  <span onclick='script:call();'>打电话给10086</span>

  //发短信

  <script>

    function sendm (phonenum){

      var sendmes = new SMSHandler();

      sendmes.sendSmsInSys('phonenum');

  </script>

  <span onclick = 'script:sendm('10086')';>

  //发邮件

  <script>

    function emil(emil){

      var emil = doucment.getElementById('emil').text;

      var mailobj = new Mail(Mails,'','');

      msc.sendMail(mailobj);

    }

  </script>

  <span href = 'script:emil('aos.@mail.com');'>