Hai all,
Why ajax code is not working in Mozilla,same code is working in Internet explorer.
thanks,
Aswath.
10 1935 gits 5,390
Recognized Expert Moderator Expert
... ajax IS working in Moz/FF ... please post the code that makes the problem so that we may have a look at it and suggest you the fixes ...
kind regards
Hai
Thanks for reply,
This is my code: - dpd_country.Attributes.Add("onChange", "return populatestates();")
-
dpd_state.Attributes.Add("onChange", "return dummycity();")
-
dpd_city.Attributes.Add("onChange", "return getplace();")
Im using 3 dropdownlists.a nd im applying ajax for that 3 dpd's.
Thanks,
Aswath.
gits 5,390
Recognized Expert Moderator Expert
is that the code that is not working? ... it seems to add event-handlers to some nodes ... could you post the Add-method. do you use a framework? what exactly is not working? are the events called?
kind regards
Hai,
Thanks for replay,
Im using .net1.1 so im writing code manually for ajax,im not using any ajax frameworks..
Thanks,
Aswath.
gits 5,390
Recognized Expert Moderator Expert
ok ... so show the code that you use :) ... at least the one that is not working in FF
kind regards
Dasty 101
Recognized Expert New Member
As gits said, ajax is working in FF. The only difference is, how xmlhttprequest object is created. IE is using ActiveX while FF got regular object. Show us you code. If it is too long, paste at least part where are you creating XHR object.
Hai Thanks for replay,
my code is - obj = GetXmlHttpRequest();
-
if (obj!=null )
-
{
-
-
obj.onreadystatechange = stateprocess;
-
obj.open("GET","getcontact.aspx?id="+cid+"&status=0",false);
-
obj.send(null);
-
}
-
-
-
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")//Create the XMLDOM object
here im using activeXobject ,insted what i have to use..?
Thanks,
Aswath.
gits 5,390
Recognized Expert Moderator Expert
hi ...
in your GetXMLHttpReque st()-method you should have something like this already. for the xml-doc-object have a look here
kind regards
Hai
I followed ur link.I understood my problem,but i didn't get any sollution.here im retriving values from database and binding to dropdownlists.i don't know how to retriving data from database for mozilla....?any help plz..........
thanks,
Aswath.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Richard |
last post by:
http://www.scit.wlv.ac.uk/~jphb/javascript/emenu.html
This site clearly shows in diagram form of my basic layout.
But he only explains what each function does.
There is no working sample I can find.
As a long shot, I wrote to the author to see if he does have one.
|
by: Erik Sandblom |
last post by:
Hello
I'm trying to make some tooltips which are position:fixed. It works fine in
Opera and Safari/Konqueror, but in Firefox and Camino (ie Mozilla), it takes
a few seconds for each tooltip to display, and then to get hidden. If I use
position:absolute, the problem goes away, but the tooltips move around with
the containing, scrolling div.
..scroll { height: 400px; overflow: auto; }
|
by: Stephen Gennard |
last post by:
Hello,
I having a problem dynamically invoking a static method that takes a
reference to a SByte*. If I do it directly it works just fine.
Anyone any ideas why?
I have include a example below...
--
|
by: logik3x |
last post by:
I'm developping a program to automate the submisson of grades to a
website called omnivox.ca (http://brebeuf.omnivox.ca). My problem is
that I can't get the login working. I get the cookie right and the post
data is corect. But when I sniff the http packet it contains not post
data and he response is not the same. Here are the sniffed post
packets.
POST from IE6
(Request-Line):POST
/Estd/Default.aspx?C=BRE&E=P&L=FRA&Ref=20051122161245...
|
by: darrel |
last post by:
I've been playing with prototype.js and scriptaculous to create some nice
drag-and-drop interaction on my applications GUI. That's working well.
Now I want to take the next step and start passing data back and forth
between my page and the server via AJAX.
In terms of .net, can someone give me the overall concept?
Normally, I'd have a function in my codebehind that grabs a dataset and then
binds that to a control on my aspx page.
| |
by: Rich Halliwell |
last post by:
I have a script that catches javascript errors and sends them through ajax to a specified file through the POST proticol. I want to write an ASP file which can read this xml file and act on its response. I have a CGI/PERL equivalent but i'm not sure how to read the xml file in asp neatly:
use CGI;
use CGI::Carp qw(set_progname);
use XML::Simple;
my $request = CGI->new();
my $method = $request->request_method();
# method must be POST...
|
by: balajibirlasoft |
last post by:
Am using a default converter object in ajax to convert the tables collection to a JSON string.
First Input for toJSON Method is strTempData(String Builder)
Second Input is the object for which i passed a DataSet.Tables collection.
Ajax.JSON.DefaultConverter.ToJSON(ref strTempData, objResultDTO.Resultdtset.Tables);
I will connect to this page using XMLHTTP and return the generated JSON string back to the Client and process the JSON...
|
by: pmadhu512 |
last post by:
hi below code is working in the IE6 and mozilla but not working IE7.when i moving the mouse to the block the popup getting closed
could you please help me how to resolve this problem
<div class="plus_addition">
<div class="plusindicator " onmouseover="openPlusPopup('pluspopup_<c:out value="${uniqueId}"/>')" onmouseout="closePlusPopup('pluspopup_<c:out value="${uniqueId}"/>')">
<a...
|
by: malcster2 |
last post by:
hello, i am a beginner to ajax.
i have created a mysql database, which i would like to access from a web page.
i have created 3 files, a html to display the data, a php file to extract the data, and a javascript file to to the clever stuff.
when i access the html page, all the data is displayed correcty, but if i add or delete any records, and press the button i have created to refresh the data(without reloading), the data doesn't change....
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |