Nessuna descrizione

contactservice.js 432B

1234567891011121314151617181920212223
  1. mui.ready(function() {
  2. var detail = document.getElementById("service_phone");
  3. mui.plusReady(function() {
  4. var self = plus.webview.currentWebview();
  5. var userId = self.userId;
  6. console.log(userId);
  7. function dialTest() {
  8. var phoneNum = document.getElementById("phone_num").innerHTML;
  9. plus.device.dial( phoneNum, false);
  10. };
  11. detail.addEventListener('tap',function(){
  12. dialTest();
  13. });
  14. });
  15. });