Re: 2 questions: Search in array and detect JS

From: Date: Sat, 15 Apr 2006 15:57:12 +0000
Subject: Re: 2 questions: Search in array and detect JS
Groups: php.general 
Request: Send a blank email to php-general+get-234045@lists.php.net to get a copy of this message
Hey, Thanks for replying. ------------------------ for js detection, you can use that in a previous page : <script type="text/javascript"> document.write('<a href="ajax-page.html">page</a>'); </script> <noscript><a href="simple-page.html">page</a></noscript> it is simple, and work fine. no need to have cookies enable-----------------------------Nice, most of the methods discussed focuses on the fact that you are sending this person from a previous page,eg:index.php to-> contact_us.phpbut what if you are using AJAX on the first page (eg: index.php)then isnt the " location.href = '/url/for/ajax/index2/page.php';" the best solution?Cheers!Ryan

« previous php.general (#234045) next »