Whenever I add my webapp to the main screen and click on the link, it brings the user out of the web application and in Safari. The link is the home button; it returns the user to the home page. The home page works fine, but when you press the home button, it leaves the application. The web application works fine on my Mac. Here is the code:
<a href="<?php echo"Home.php?name=$name";?>">Go Home</a>
Is there something wrong with php? I need php, so the query string will work. Thanks for the help.
As I did on my standalone web application:
<a href="javascript:(window.location='Home.php?name=<?php echo($name)?>')">Go Home</a>
, - JQTouch, JQueryMobile Sencha. , Safari:)
Webapps ajaxified. . JavaScript, jQuery, ajax DOM-.
EDIT: url, jQuery highlevel $.get -method :
$.get
$.get('Home.php', { // query parameters 'name': 'some-name' }, function(data) { // data now contains the fetched page });
jQuery Ajax API jQuery , tutorials.
Source: https://habr.com/ru/post/1766492/More articles:OpenGL gradient fill on iPhone looks striped - colorsHow can I register a css page from an ascx control? - cssHow can you select a random item from the list and delete it? - pythonCannot get widgets from main.xml specified in Java program - javaWhat is the difference between armv6 and i386? - armHow to quickly get all VLC instances on dbus? - pythonForm design guidelines - phpWorking with hierarchical data in Mongo - c #Parse js arrays in ruby - javascriptОбщий интерфейс С++ для "cin" и "File" - c++All Articles