- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Internet Products
- >
- AJAX Problem on Internet Explorer
Internet Products
1820280
Members
3126
Online
109622
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 04:47 PM
тАО02-18-2007 04:47 PM
AJAX Problem on Internet Explorer
Hello,
I am using Prototype.js to implement Ajax.
My JS code is -->
function getHTML(num) {
var saf = 0 ;
num = num || $F('refid');
var url = '/cgi-bin/ttps/search.cgi';
var pars = 'num='+num+'&showallfiles='+saf
+'&act=showattachedfilesection';
var myAjax = new Ajax.Updater( {success: 'placeholder'}, url,
{method: 'get', parameters: pars, onFailure: reportError });
}
The above code works fine in Firefox but not in IE.
Please tell me what to do ?
Some more information -->
What happens in IE ?
The getHTML function is invoked when I click on a link.
When I click on a link the function is called and processing happens
but never stops.
How I know that processing happens ?
By the following code -->
var myGlobalHandlers = {
onCreate: function(){
Element.show('systemWorking');
},
onComplete: function() {
if(Ajax.activeRequestCount == 0){
Element.hide('systemWorking');
}
}
};
Ajax.Responders.register(myGlobalHandlers);
Here is the Perl code which creates the variable $str and returns to
another Ajax(not above) and a placeholder is replaced by the data
below. Notice the getHTML function below.-->
my $i;
foreach $i (0 ..$#selectlist) {
$str .= "";
$str .= "\"#placeanchor\" onClick=\"getHTML($selectlist[$i]{'conid'});\">
$selectlist[$i]{'conid'}";
$str .= "$selectlist[$i]
{'arriveDate'}";
$str .= "$selectlist[$i]
{'dbname'}";
$str .= "$selectlist[$i]
{'startDate'}";
$str .= "$selectlist[$i]
{'expiryDate'}";
$str .= "$selectlist[$i]
{'status'}";
$str .= "";
}
$str .= "";
$str .= "";
print $str;
I am using Prototype.js to implement Ajax.
My JS code is -->
function getHTML(num) {
var saf = 0 ;
num = num || $F('refid');
var url = '/cgi-bin/ttps/search.cgi';
var pars = 'num='+num+'&showallfiles='+saf
+'&act=showattachedfilesection';
var myAjax = new Ajax.Updater( {success: 'placeholder'}, url,
{method: 'get', parameters: pars, onFailure: reportError });
}
The above code works fine in Firefox but not in IE.
Please tell me what to do ?
Some more information -->
What happens in IE ?
The getHTML function is invoked when I click on a link.
When I click on a link the function is called and processing happens
but never stops.
How I know that processing happens ?
By the following code -->
var myGlobalHandlers = {
onCreate: function(){
Element.show('systemWorking');
},
onComplete: function() {
if(Ajax.activeRequestCount == 0){
Element.hide('systemWorking');
}
}
};
Ajax.Responders.register(myGlobalHandlers);
Here is the Perl code which creates the variable $str and returns to
another Ajax(not above) and a placeholder is replaced by the data
below. Notice the getHTML function below.-->
my $i;
foreach $i (0 ..$#selectlist) {
$str .= "";
$str .= "\"#placeanchor\" onClick=\"getHTML($selectlist[$i]{'conid'});\">
$selectlist[$i]{'conid'}";
$str .= "$selectlist[$i]
{'arriveDate'}";
$str .= "$selectlist[$i]
{'dbname'}";
$str .= "$selectlist[$i]
{'startDate'}";
$str .= "$selectlist[$i]
{'expiryDate'}";
$str .= "$selectlist[$i]
{'status'}";
$str .= "";
}
$str .= "";
$str .= "";
print $str;
- Tags:
- IE
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2007 11:49 PM
тАО03-07-2007 11:49 PM
Re: AJAX Problem on Internet Explorer
ok I am giving the reproducible case -->
http://netfares.skybirdfares.com/cgi-bin/tps/index.cgi
Please login and then click on Search in the TopMenu .
After that enter "yy test"(don't include double quotes) as the search
text.
The Search results will come and after that click anyone of the links
on the left.
Username: guest
Password: tmp123
You will see that the results don't come after you click the link.
This happens only in IE.
That is the problem .
Please solve it.
http://netfares.skybirdfares.com/cgi-bin/tps/index.cgi
Please login and then click on Search in the TopMenu .
After that enter "yy test"(don't include double quotes) as the search
text.
The Search results will come and after that click anyone of the links
on the left.
Username: guest
Password: tmp123
You will see that the results don't come after you click the link.
This happens only in IE.
That is the problem .
Please solve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2007 03:16 PM
тАО03-08-2007 03:16 PM
Re: AJAX Problem on Internet Explorer
The username has been changed to "guest1" the password is the same.
username : guest1
password : tmp123
username : guest1
password : tmp123
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP