Javascript AJAX Ursachen unbekannt Laufzeitfehler im IE JavaScript-Debugger für IE 7.x und 8.x
Ich habe diesen Code, der einwandfrei funktioniert in Firefox, aber IE 7.x und 8.x hat ein Problem:
Funktion revDescr (condition_id, rev_cat_id) (
this.condition_id = condition_id;
this.rev_cat_id = rev_cat_id;
/ / Aktualisierung der Reverse-Eintrag Beschreibung
[...]
Hier ist ein Code mit jQuery. Last:
Der folgende Code ist nicht korrekt angezeigte Informationen wenn:
Funktion revDescr (condition_id, rev_cat_id) (
this.condition_id = condition_id;
this.rev_cat_id = rev_cat_id;
var pars = 'condition_id =' + this.condition_id + '& rev_cat_id =' + this.rev_cat_id; / / von jQuery verwendet
$ ("# Reverse_content"). Load ("updateRevDescrSi.php?" + Pars);
)
Hier ist die Ajax-Code vergleichbar mit regulären JavaScript [...]
Hier ist eine schnelle Anleitung, wie man JavaScript-Funktion in PHP Code auszuführen:
<? Php
$ Execute =
Eine kurze Anleitung, wie man JavaScript hinzufügen Include-Dateien, um Ihre HTML-Datei.
<html>
<head>
<script type="text/javascript" src="./scripts/jsFunctions.js"> </ script>
</ Head>
<body>
</ Body>
</ Html>
Vergessen Sie nicht, fügen Sie Ihre Tags innerhalb <head>.
Hier ist eine schnelle Anleitung, wie man enthalten oder fügen Sie JavaScript-Code in Ihre PHP-Code:
<html>
<body>
<? Php>
<script type="text/javascript"> language="javascript"
<! -
Funktion alert ()
(
alert ("Ich bin eine Warnmeldung aus einer JavaScript-Funktion aus.");
)
/ / ->
</ Script>
?>
</ Body>
<html>
Vergessen Sie nicht Ihre Tags in Kleinbuchstaben zu machen, um mit W3C Strict validieren.