This is my JS file:
ezee.se/quickfilter.js
In an external file I am calling it like this:
<script type="text/javascript" src="quickfilter.js"></script>
function refresh_the_list2()
{
quickfilter_mafiaafire.request_xml();
var status = document.getElementById("refre");
status.innerHTML = 'Done! Use the above link to view the blocklist.';
}
but I keep getting this error:
Error: quickfilter_mafiaafire.request_xml is not a function
How do I call it so I don’t get that error?
Looking at your code, my guess would be:
since
request_xmlis defined as a property ofquickfilter_mafiaafire.mainon line 139.