Re: ActivePHP behavior
| From: | moshe doron | Date: | Sun, 16 Jun 2002 15:31:37 +0000 |
| Subject: | Re: ActivePHP behavior | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85258@lists.php.net to get a copy of this message | ||
> I'm not sure if <a href="ActivePHP:kkk();"> will work; let me know
> if it does (I haven't tried that yet).
well it doesn't i used 'onclick' instead. but in combination of
$document->write() its crash the browser,or just not working just try that
code:
<script language="ActivePHP">
$GLOBALS["document"]->write("<a onclick=\"ActivePHP:kkk();\">
clickme</a>");
function kkk(){
$GLOBALS["window"]->alert("GGGG");
}
</script>
more some questions \\ bugs:
1. sporadic times the browser crash and my thought is that maybe some error
handlers into php using `exit;' command that *allways* crash the browser.
2. the following code sometimes crash the browser:
<script language="ActivePHP">
$window->location = "ccc";
</script>
i cant copy & past the regs stat coz microsoft IE error reporting limitaion.
3. where can i get the total IE elements map properies and methods, are the
list assumed to be same as the elements \ properties \ methodes the JS can
accesss?
is there a chance that `document.location' on javascript its just a alias
to somthing like document.GetLocation() \\ document.SetLocation() ?
moshe