JavaScript android 2.3.5 phonegap app href not working

I have compiled my app using Phonegap build and successfully running the app on android 4.4.3, but when installed on an old 2.3.5 phone although the app runs it does not work on the href elements. I am using handlebars templates and the area of code with the problem is...

<script id="campaign-li-tpl" type="text/x-handlebars-template"> 
    {{#.}}
    <li><a target='_blank' href="#cam/{{this.id}}">{{this.name}}</a></li>
    {{/.}} 
</script>

When the user selects an item from the list the location hash is changed which fires the event to display the appropriate page.

 $(window).on('hashchange', $.proxy(this.route, this));

On android 4.4.3 and also in the browser all is fine. On the 2.3.5 phone, the items respond to touch as I change the background with CSS, but nothing happens.

I compile using phonegap 3.7.0 with min sdk version of 10.

 <preference name="phonegap-version" value="3.7.0" />
 <preference name="android-minSdkVersion" value="10" />

Is there a known issue with older version of android? Is there something I'm missing?

Answer:1

Given two 2D arrays, how can I assert whether or not they are equal? For example: array1 = [[1,0],[2,1],[3,0]] array2 = [[1,0],[2,1],[3,1]] What is an efficient way to check whether array1 == ...

Given two 2D arrays, how can I assert whether or not they are equal? For example: array1 = [[1,0],[2,1],[3,0]] array2 = [[1,0],[2,1],[3,1]] What is an efficient way to check whether array1 == ...

  1. assert arrays equal java
  2. assert arrays equal python
  3. assert arrays equal c#
  4. assert arrays equal javascript
  5. assertequals arrays
  6. assert numpy arrays equal
  7. nunit assert arrays equal
  8. chai assert arrays equal
  9. junit assert arrays equal
  10. pytest assert arrays equal
  11. phpunit assert arrays equal
  12. ruby assert arrays equal
  13. junit5 assert arrays equal
  14. assert two arrays equal java
  15. assert arrays not equal
  16. hamcrest assert arrays equal
  17. assert two numpy arrays equal
  18. golang assert equal arrays
  19. xunit assert equal arrays
  20. phpunit assert two arrays equal

I've split out my grunt plugins into their own files and I'm using the load-grunt-config (https://github.com/firstandthird/load-grunt-config) to call them: module.exports = function (grunt) { '...

I've split out my grunt plugins into their own files and I'm using the load-grunt-config (https://github.com/firstandthird/load-grunt-config) to call them: module.exports = function (grunt) { '...

I have some records for that I am using three arrays which contains dynamic values. var Results=new Array(); var Second=new Array(); var First=new Array(); I want to show these array values in ...

I have some records for that I am using three arrays which contains dynamic values. var Results=new Array(); var Second=new Array(); var First=new Array(); I want to show these array values in ...

  1. passing array into function c++
  2. passing array into method java
  3. passing array into constructor java
  4. passing array into function javascript
  5. passing array into function python
  6. passing array into function
  7. passing array into function vba
  8. passing array into function java
  9. passing array into function php
  10. passing array into function arduino
  11. passing array in function
  12. passing array in function c++
  13. passing array in javascript
  14. passing array in query string
  15. passing array in url
  16. passing array in python
  17. passing array in method java
  18. passing array in json
  19. passing array in constructor java
  20. passing array in postman

I received an error Object.keys called on non-object. The offending code is; numberOfEmployees = Object.keys(employee_data).length; employee_data is a json object that gets assigned json output data ...

I received an error Object.keys called on non-object. The offending code is; numberOfEmployees = Object.keys(employee_data).length; employee_data is a json object that gets assigned json output data ...

  1. error function json_object_keys(jsonb) does not exist
  2. error typeerror _co.object keys is not a function
  3. object.keys error
  4. error cannot call jsonb_object_keys on a scalar
  5. error cannot find module 'object-keys'
  6. error cannot call json_object_keys on a scalar
  7. error cannot call jsonb_object_keys on an array
  8. error cannot call json_object_keys on an array
  9. error function json_each(jsonb) does not exist