<2016-1-29>

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('[email protected]');'>

你可能感兴趣的:(<2016-1-29>)