about 8.9kb this is the database
i needn't to upload all project to make it specified but the size for full project is 860 kb and this is not allow to upload so i'll upload only pages i have problem with it .... thank you for your answer:
the problem is in this ajax code:
<script language="javascript" type="text/javascript">
function getXMLHTTP() { //fuction to return the xml http object
var xmlhttp=false;
try{
xmlhttp=new XMLHttpRequest();
}
catch(e) {
try{
xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e){
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e1){
xmlhttp=false;
}
}
}
return xmlhttp;
}
function getMake(id) {
var strURL="findmake.php?id="+id;
var req = getXMLHTTP();
if (req) {
req.onreadymakechange = function() {
if (req.readyMake == 4) {
// only if "OK"
if (req.status == 200) {
document.getElementById('makediv').innerHTML=req.responseText;
} else {
alert("There was a problem while using XMLHTTP:\n" + req.statusText);
}
}
}
req.open("GET", strURL, true);
req.send(null);
}
}
function getMake(id) {
var strURL="findlast.php?id="+id;
var req = getXMLHTTP();
if (req) {
req.onreadymakechange = function() {
if (req.readyState == 4) {
// only if "OK"
if (req.status == 200) {
document.getElementById('lastdiv').innerHTML=req.responseText;
} else {
alert("There was a problem while using XMLHTTP:\n" + req.statusText);
}
}
}
req.open("GET", strURL, true);
req.send(null);
}
}
</script>
some thing not work i need when iam choose from station select menu in part_a_new.php automaticly make and last show in same page without refresh page
hope i make this easy 🙂
i don't know the error in ajax code or in another pages code (findmake.php & findlast.php)
"iam using dreamweaver cs5"
wait for your answer
thank you again
[upl-file uuid=7ec40fef-6270-4a23-b191-85c4d8ccab07 size=9kB]localhost (1).zip[/upl-file]
trsh.zip