473,383 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Need help with Ajax and Javascript interface

I am working on creating my first ajax enabled interface. I have some
elements on the page that I want to become editable when the Edit
button near them is clicked.

What I have so far works great in Firefox and Opera. Of course IE is
giving me problems.

What happens when the edit button is clicked is that the values that
were being displayed area read from the TD cells by the innerHTML
attribute. The innerHTML of that cell is then replaced with an <input
type='text'> field, with a uniqie ID attribute. When the save button
is clicked, I read from the input element using getElementByID('the
newly created input ID').

The error I get in IE is Object doesn't support this property or
method. It comes from this line: title_input =
document.getElementById("title_input"); title_input is the input tag I
create when I switch to edit mode.

I'm thinking I might need to be doing something with microft's
document.createElement() method. I'm just not sure what. Thanks for
any tips.

Jan 25 '06 #1
1 1145
Sorry, I figured it out. Thought I would post the answer in case
someone else comes across this problem in the future. IE wants a form
tag around the elements in order for it to recognize them. I am not
submitting a 'form' in the traditional sense; the data will be
submitted via the XML http request object. Anyway I put an empty
<form></form> tag around the whole thing and it works in IE now.

Jan 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Kate | last post by:
Hi, we are now developing complex business application using Ajax framework. Could anyone point me to the editable javascript grid control which supports XML loading. Good javascript API would be...
4
by: Gaffar | last post by:
Hello. My name is Gaffar. I am handling an module in a Project. This application interface is slow and inefficient. So Client told "implement an AJAX Solution which will increase speed and...
5
by: Edwin Knoppert | last post by:
If these are ActiveX based, that would not make my day. We have the strong believe trying never to force a user to enable ActiveX. (Like stupid updates from mcafee enforce to the use of activex...
1
by: Luke Matuszewski | last post by:
Welcome. As all you know the XmlHttpRequest when wrongly used can provide memory leaking problem (specially in IE) so the best way is to use library or framework encapsulating AJAX functionality...
3
by: sameergn | last post by:
Hi, Can anyone confirm is AJAX request can be sent over HTTPS if the containing page is loaded via HTTPS? or is it true that all AJAX interaction take place via HTTP? (Since the name of the...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
8
by: alex | last post by:
Hello All, I'm designing a an interface for my company and I need to be able to interface with a text file. I chose Javascript for this because up until this requirement surfaced, it's been the...
7
by: raknin | last post by:
Hi I have a carousel script. I want to load the carousel with a new set of pictures every time I press a button. The problem that I have that the script append the new pictures to the olds one...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.