473,395 Members | 2,798 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,395 software developers and data experts.

Simple Blog using PHP/Ajax

ak1dnar
1,584 Expert 1GB
Hi,
Today morning i started building small Blog application. 80% of it completed.
Now i have stucked with a issue.

Just refer to this link.here when i click topic i am passing the topic id to a JS function and with help of XML request object i can call for a PHP page to generate all the threads available for the topic.

Now at the same time in the Top of the page i need to display the Same topic.
Eg: when clicks web 2.0 it should display in the Top (Ash color area)

Since i am generating responseText objects from a one PHP file to display all threads, at the same time i couldn't assign the topic name also to another <DIV>
Is there any way to do this. just tell me the way.
Mar 20 '07 #1
3 1670
ak1dnar
1,584 Expert 1GB
Please use IE to browse the Page. There might be bugs with FF. :)
Mar 20 '07 #2
acoder
16,027 Expert Mod 8TB
In your statechanged function, just set the topic_loc to contain the title:
Expand|Select|Wrap|Line Numbers
  1. document.getElementById("topic_loc").innerHTML=...
Mar 21 '07 #3
ak1dnar
1,584 Expert 1GB
In your statechanged function, just set the topic_loc to contain the title:
Expand|Select|Wrap|Line Numbers
  1. document.getElementById("topic_loc").innerHTML=...
I tried that way also. but since i used single xmlHttp object to call for the two functions simultaneously i didn't work. so Made another xmlHttp1 and call for the next function then it works.Thanks acoder.
and my special thanks goes to Motoma
You can see it from this link.
Mar 21 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Alex | last post by:
Example uploaded to: http://www.clickatus.com/ajax/ BTW - This is for FIREFOX, won't work in IE. I don't know why but when it is executed the browser still in loading state... Even though...
7
by: Ivan Marsh | last post by:
Hey Folks, I'm having a heck of a time wrapping mind around AJAX. Anyone know of a simple, straight-forward example for pulling a simple query from mysql with PHP using AJAX? As I...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
1
by: Boris Twila | last post by:
I just want to have 1 drop down list fill the other drop down list without a round trip. Is there some really simple ajax thing i can copy and use, or is it a big deal do i habe to install an...
0
by: minnie | last post by:
An AJAX Simple Example for PHP Article from http://www.joyistar.com Introduction: AJAX WebShop 3 Beta2 supports PHP programming by integrating PHP5 development environment. Here we will give an...
0
by: darrel | last post by:
I was playing with AJAX a bit last year but never really took the time to fully analyze the various AJAX libraries out there for ASP.net 1.1 We're finally using 2.0, so have begun playing with...
3
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm trying to follow the instructions on http://www.asp.net/learn/videos/view.aspx?tabid=63&id=75 for a simple AJAX demo. However, my code updates all 3 labels even though only 1 of them is...
3
by: Rajesh | last post by:
Have you guys wanted to have stock tickers on ur desktop/ web pages, but can't use applets as they were heavy, too much configuration than here is one approach and light weight solution all for...
13
by: blindlemon1983 | last post by:
php version - 4.4.4 mysql version - 4.1.22 Hi, my problem is rooted in how blogs handle ajax requests from a database returning html in the form of an image element. So the blog contains...
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:
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.