"iPad app lookAndFeel" with php website
<p>I'm building a website in php which can be used as ipad app. 
When you place a website into the start window of a ipad you receive a sort of "fake" app. 
I used this script to open links in the same window because when you don't use this, safari is going to open a new tab.</p>

<pre><code>&lt;script type="application/javascript"&gt;
$(document).ready(function() {
    $('a').click(function(event) {
        event.preventDefault();
        window.location.assign($(this).attr('href'));
    });
});
&lt;/script&gt;
</code></pre>

<p>This works fine for all my a href's generated in html like <code>&lt;a href="...."&gt;...&lt;/a&gt;</code>. But for my links in php <code>echo "&lt;a href='....'&gt;" . "'....'" . "&lt;/a&gt;"</code>, it doesn't work. Does anybody know how to fix this?</p>
