Marcos said:
Could you post an example URL?
Yes. I Can.
xmlhttp.open("GET",
"apps.php?call=navcategory&maxlimit="+maxlimit+"&selected_cat="+selected+
"&xmlactive=true&finish=true",true);
1. <
http://en.wikipedia.org/wiki/URL>
2.
xmlhttp.open(
"GET",
[
"apps.php?call=navcategory&maxlimit=", maxlimit,
"&selected_cat=", encodeURIComponent(selected),
"&xmlactive=true&finish=true"
].join(""),
true);
I have more informations, the firefox detected one error:
(more _information_)
Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
http://200.138.105.166:45751/apps/js/category.js :: anonymous :: line
133" data: no]
Source File:
http://200.138.105.166:45751/apps/js/category.js
Line: 133
Line 133:
if(xmlhttp.status==200)
From the exception above, it appears that there is no `status' property
available here. Could be a cross-domain issue as you access the machine
with the IP address 200.138.195.166 instead of the current domain or
one of its subdomains.
{window.opener.document.etElementById('c_categories').value =
^^[1]
If `c_categories' is the ID of a form control, you should use
window.opener.document.forms[...].elements['c_categories'].value = ...;
If you access this object repeatedly, you should assign a reference
to a variable and use the variable instead to save lookups.
[1] Typo?
PointedEars