How do i get the selected option of a dropdown list in Ionic? I've tried this: var value = Apperyio("rescueVehicleSel").find('option:selected').text(); And var value = Appery("rescueVehicleSel").find(":selected").text(); But its telling me that Apperyio is not a functio...
I have a global variable set via a model. https://d2r1vs3d9006ap.cloudfront.net/s3_images/1726471/var_inline.png?1524516908 Its in JSON format. I need to get to the value of the JSON object, not for the UI, but for custom code. This is the value I am saving in the model variable JSON {"expiry&q...
I am trying to use an external Javascript resource, which is the Sagepay API. I have added the resource in app settings: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1726356/1_inline.png?1524488173 The method I'm trying to use is not being called, so how can I call a method from the external sour...
Hi Serhii I have cleared cache and also tried in several different browsers, but it does not fix the issue. Please see screenshots UI with several components: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1711485/ui_inline.png?1520263381 Function screen: https://d2r1vs3d9006ap.cloudfront.net/s3_im...
I am trying to map an array from a service response to a list component. I am building a Ionic app. When i click on the 'Click to edit mapping' on the service response, there are NO compenents listed, even through there is a list on the interface, and some other components. Can I map the response li...
I'm trying to pass a global scope variable into a service header, but I'm not sure on the syntax for this? I am using an Ionic server code POST request, and I am trying to pass a token via the Authorization header. I cannot seem to use a $scope variable. The variable on my index page is: auth. The v...
How can I map the response parameter from a server code API call to a global scope variable? 1) I have setup the variable on the index page (auth,auth) 2) I have created a model, which a child variable (auth,token) 3) I am trying to set this global variable via a response parameter, like this: $scop...
If i setup the server code like this, with the variables hard coded, then it works and I receive the posted data on the server. (foo & bar) var url = " https://dashboard.cmg-org.com/auth/token "; var email = "foo"; var password = "bar"; var XHRResponse = XHR2.send(&...