Javascript on mobile?

Hi! There is a link
on desktop after switching to it, everything works as it should, take the data from the address bar using javascript and automatically searched for the required user domain. But as soon as you come through mobile is not happening anything( the Code is in the file js/get_domains.js .. That's it.
Her work is that she takes from the address bar data to select a domain name, loads the site name in the input, checks the domain zone and click on Submit (so detailed). Why not work on cellphones?

function getDataLink() {
 var searchStr =;

 if(searchStr) {
 searchStr = searchStr.replace('?',").split('&').reduce(
 var a = e.split('=');
 p[ decodeURIComponent(a[0])] = decodeURIComponent(a[1]);
 return p;

 var zoneCheckbox = '#';

 return searchStr;

 } else {

June 7th 19 at 14:41
1 answer
June 7th 19 at 14:43
It's missing three very significant factors:
1) the Platform on which is not working.
2) the Browser in which to check.
3) version of jquery.

First you need to find out whether p. 3 p. 2 and 1.
Further, try not using click through submit form to do so.
And yet... who taught you to put a checkbox through the click? For this you need to use a prop.

somehow, it seems that decodeURIComponent can not be supported on mobile platforms.

Find more questions by tags JavaScriptjQueryMobile development