Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

How to send data in prompt popup box

$
0
0

@anilDevaki123 wrote:

var myPopup = $ionicPopup.show({
            template: '<input type="number" ng-model="group.mobno"></input>',

            title: 'massage box',

            scope: $scope,
            buttons: [
              { text: 'Cancel' },
              {
                  text: '<b>send</b>',
                  type: 'button-positive',
                  onTap: function (e) {
                      if (!$scope.group.mobno) {

                          document.addEventListener("deviceready", function () {
                              var options = {
                                  replaceLineBreaks: false, // true to replace \n by a new line, false by default
                                  android: {
                                      intent: '' // send SMS with the native android SMS messaging
                                      //intent: '' // send SMS without open any other app
                                      //intent: 'INTENT' // send SMS inside a default SMS app
                                  }
                              };

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>