Re: [PHP] php and javascript error



2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta:
I've just run into this problem this morning....

<a href="#" onclick="javascript:window.open('web_forward.php?address=<?
echo $web_url; ?>&agent=<? echo $agent; ?>&real_company_name=<? echo
$real_company_name; ?>', 'Web Site');">

This produces an "Error on Page" in IE 7, but works perfectly in Firefox
and Netscape.

I have several other javascript calls on the page where this call
resides and all of them work perfectly except for this one. Does this
error occur because I'm sending the variables to another script that
does some logging then forwards the user to the URL or is it just a IE
quirk?


I'm almost sure it has nothing to do with php
rather javascript, and maybe microsoft's special javascript
interpretations...

greets
Zoltán Németh
.



Relevant Pages

  • Re: [PHP] php and javascript error
    ... This produces an "Error on Page" in IE 7, but works perfectly in Firefox ... and Netscape. ... I have several other javascript calls on the page where this call ... closing tag too. ...
    (php.general)
  • Re: Error Object Expected
    ... From what you have said regarding the Mozilla browser, JavaScript 2.0 is very nearly here. ... ECMAScript compliant. ... FunctionStatements; ... It is currently still a Netscape proposal, ...
    (comp.lang.javascript)
  • Re: Cross-Browser problems with Netscpae 7.0 & 4.72
    ... the transparency on the gifs may be working just fine. ... Unfortunately that means you're going to have to change your script and use ... Then I looked at it with Netscape 7.0 and my optimism was ... > onmouseover NOR onClick Javascript event triggers work. ...
    (microsoft.public.frontpage.client)
  • Nachgeladene Funktion wird nicht gefunden
    ... In dieser Seite sind JavaScript Funktionen, die als event handler genutzt werden sollen. ... Netscape, FireFox und IE sind sich einig, das das nicht funktioniert. ... Die Netscape JavaScript console sagt: "Error: product_changed is not defined". ...
    (de.comp.lang.javascript)
  • Re: [DER-MOBA] Artikel Digitalzentralen
    ... Netscape 3", wird aber wieder berechenbar. ... > Nur wenn man den Fehler macht, JavaScript ohne Kontrolle ... Prev by Date: ... Next by Date: ...
    (de.rec.modelle.bahn)