can any one help?
> don't fire.
You mean http://xxx.xxx.xxx.xxx:8080/webapp/test.html over http://hostname:8080/webapp/test.html ?
> can any one help?
Use firefox to run your web app and look at the error console. (Tools -> Error Console)
first- thank u for your attention.
and I need the solution for IE , because of its popularity in my country.
IP addresses as web addresses are obsolete.
1. Don't use IP addresses. Use of an IP address in a web address is usually a sign of sneakiness. Some firewalls block this (keeping your user from getting to your site). An IE security setting may be blocking this.
2. If you used a relative reference to the JS file, the browser expects to build the path to find the script by using the url of the current page. It gets lost when an IP address appears instead.
you are right , generally speaking , using IP instead of url is'nt a good method.
and I'm not using IP address usually.
in fact I want to demo a project, and to access my server it is required to use IP address.
It could still be a security setting. IP addresses are usually counted as not trusted, and so the security won't allow scripts.
I removed any limitting security settings and the still the problem exists? !!!!!!!!! ?
any help ??
If it works in Firefox using IP then what is different in IE? Seems like a security setting could disable scripting across domains and consider "xxx.xxx.xxx.xxx" a "domain"? If your objects reference by DNS...different domain. Either way...defining the IP as a "local intranet site" and checking browser scripting permissions might be worth trying if you haven't already.
yes , it is a security problem , I added the ip address to trusted sites and now my events work.
thanks to antioed and MidiMagic