473,385 Members | 1,384 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,385 software developers and data experts.

Is it possible to do this?

Is it possible to update only certain portions of a web page (without
uploading/refreshing the entire page)?.

I have a table displayed in a web page, and I would like to be able to
update the data in the table, cell by cell. That is to say, I could have
a function like so:

function updateCell(tablename, column_number, row_number) {

/* what goes here ? */

}

I suspect that the DOM (which I know next to nothing about), comes to
play here.

I look forward to any useful feedback.

Thanks

Feb 21 '06 #1
14 1112
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.

Feb 21 '06 #2
Deepak wrote:
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.


Thanks Deepak - anygood tutorials on AJAX. Google searches seem to
bringing up only "Hello World" type examples.

Feb 21 '06 #3
Bart Simpson wrote:
Deepak wrote:
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.


Thanks Deepak - anygood tutorials on AJAX. Google searches seem to
bringing up only "Hello World" type examples.


Search this group's archives rather than the entire web:
<URL:http://groups.google.co.uk/group/comp.lang.javascript/search?q=ajax+xmlhttprequest&start=0&scoring=d&>

Getting started:
<URL:http://www.jibbering.com/2002/4/httprequest.html>

An AJAX request library (there are others):
<URL:http://www.ajaxtoolbox.com/>
--
Rob
Feb 21 '06 #4
Ya u can either go to google groups for that
or search for AJAx in
http://www.xulplanet.com/references/...tpRequest.html
ok.

Feb 21 '06 #5
Ya u can either go to google groups for that
or search for AJAx in
http://www.xulplanet.com/references/...tpRequest.html
ok.

Feb 21 '06 #6
Thanx Rob

Feb 21 '06 #7
Deepak wrote:
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.

What was this refereing to and is it English?

--
Ian Collins.
Feb 21 '06 #8
Ajax is new technology that helps u to get the content with the help of
javascript. You can contact me through google talk at
fo*************@gmail.com if u want to learn more.

Feb 21 '06 #9
Deepak wrote:
Ajax is new technology that helps u to get the content with the help of
javascript. You can contact me through google talk at
fo*************@gmail.com if u want to learn more.

If your are going to reply to my post, please quote it. Also, please
stop posing in gobbledegook, this isn't a chat room.

--
Ian Collins.
Feb 21 '06 #10
"Deepak" <fo*************@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Ajax is new technology that helps u to get the content with the help of
javascript. You can contact me through google talk at
fo*************@gmail.com if u want to learn more.


AJAX is just a new, fancy name for several old techniques used
for communicating with the server without refreshing the current
page.

Traditionally it was done using an hidden iframe, today the
XmlHttp object is more popular.

Here is a good starting point that focuses mostly on the relatively
new XmlHttp object:
http://www.ajaxmatters.com/r/welcome

--
Dag.
Feb 21 '06 #11
Deepak wrote:
Ajax is new technology that helps u to get the content with the help of
javascript. You can contact me through google talk at
formyefriend...@gmail.com if u want to learn more.

If your are going to reply to my post, please quote it. Also, please
stop posing in gobbledegook, this isn't a chat room.

--
Ian Collins.


Thanx Dag,
It's good to hear more of this topic. Also the info is really
great that the same can be achieved by iframes but that process was
really complex in the sense as it is tough to resize the iframes. I
have faced that problem.
But today this have solved many problems.
Also this give close impact of windows forms to web forms.
Ian,
I am here just to help.
Also i have given u some links so u can trace them to get more out
of that.

Feb 21 '06 #12
Deepak wrote:
Ian,
I am here just to help.
Also i have given u some links so u can trace them to get more out
of that.

I appreciate that and thanks for quoting. The use of chat room
shorthand such as 'u' for 'you' isn't considered appropriate for Usenet.
It makes posts annoying to read for English speakers and can be
confusing for non-native English speakers.

--
Ian Collins.
Feb 21 '06 #13
JRS: In article <dt**********@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com>,
dated Tue, 21 Feb 2006 05:11:40 remote, seen in
news:comp.lang.javascript, Bart Simpson <ea*********@springfield.com>
posted :
Is it possible to update only certain portions of a web page (without
uploading/refreshing the entire page)?.

I have a table displayed in a web page, and I would like to be able to
update the data in the table, cell by cell. That is to say, I could have
a function like so:

function updateCell(tablename, column_number, row_number) {

/* what goes here ? */

}

I suspect that the DOM (which I know next to nothing about), comes to
play here.


Posting under a false name shows a juvenile attitude. Posting with an
address that you do not have the right to use is an abuse of someone
else's resources, and against the AUP of respectable ISPs. Articles
should have meaningful Subject lines. Read the newsgroup FAQ.

You do not say where the new data is coming from. If it is coming from
a remote server, you may want to use AJAX. But if it can be generated
locally, then the matter can be handled without re-contacting the
server; here is a near-minimal example :-

<BODY>

<script type="text/javascript">

if (document.all && !document.getElementById) { // e.g. IE4
document.getElementById = function(id) {
return document.all[id] } }

function X() { document.getElementById("Y").innerHTML = new Date() }

</script>

<table border=1><tr><td ID=Y>target</td></tr></table>

<button onClick="X()">xxx</button>

</BODY>

Read the newsgroup FAQ; see below.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Feb 21 '06 #14
Dr John Stockton wrote:
Posting under a false name shows a juvenile attitude. [...]


news:gd**************@merlyn.demon.co.uk

So far for calling me a control freak (and a dictator,
among other nasty things). You obnoxious hypocrite.
PointedEars
Feb 28 '06 #15

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

Similar topics

1
by: Alvin Lau | last post by:
It is possible to write a bluetooth application software by C# in Pocket PC ? If it is possible , where can i find the reference or sample? ThX ~ *** Sent via Developersdex...
1
by: Lars | last post by:
I want to write a program that reacts on changes in another application. Is it possible to get a copy of (some of) the messages it recieves? Another approach is to watch for changes on the screen....
4
by: Ravikanth[MVP] | last post by:
Hi It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect. Ravikanth >-----Original Message-----
2
by: Ken Sturgeon | last post by:
Is it possible to execute an iSeries program from a VB.Net application? Where might I find some reference material that would get me started?
8
by: Mir Nazim | last post by:
Hello, I need to write scripts in which I need to generate all posible unique combinations of an integer list. Lists are a minimum 12 elements in size with very large number of possible...
17
by: binjobster | last post by:
Hello everyone, I'm updating some documents that describes so many C/C++ functions/method(about 2500). But I'm not familiar with these codes. So I want to find such a utility can generate...
1
by: Joe Peterson | last post by:
I've been doing a lot of searching on the topic of one of Python's more disturbing issues (at least to me): the fact that if a __del__ finalizer is defined and a cyclic (circular) reference is...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
2
by: Kofa | last post by:
Dear All, I'd like to know whether it is possible to restore backups created on a production machine, running DB2 9.1 on Windows, using DMS table space containers, onto a developer's machine,...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.