943,664 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1300
  • PHP RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Apr 20th, 2009
0

Re: ajax problem

marjaan_m

at first glance it looks like your this line is wrong
give the full path and then try
e.g if you are at localhost then

http://localhost/xyz/functions/travellerdetail.php


PHP Syntax (Toggle Plain Text)
  1. obj_t.open("GET","functions/travellerdetail.php?tid="+id,true);
Last edited by BzzBee; Apr 20th, 2009 at 12:34 am.
Reputation Points: 16
Solved Threads: 48
Posting Whiz
BzzBee is offline Offline
327 posts
since Apr 2009
Apr 20th, 2009
0

Re: ajax problem

Click to Expand / Collapse  Quote originally posted by BzzBee ...
marjaan_m

at first glance it looks like your this line is wrong
give the full path and then try
e.g if you are at localhost then

http://localhost/xyz/functions/travellerdetail.php


PHP Syntax (Toggle Plain Text)
  1. obj_t.open("GET","functions/travellerdetail.php?tid="+id,true);
it does not require a full URL but give it a try anyway.

Does the page POST BACK?
This might happen cuz you have not specified '#' in the href property of the anchor tag
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
Apr 20th, 2009
0

Re: ajax problem

Click to Expand / Collapse  Quote originally posted by BzzBee ...
marjaan_m

at first glance it looks like your this line is wrong
give the full path and then try
e.g if you are at localhost then

http://localhost/xyz/functions/travellerdetail.php


PHP Syntax (Toggle Plain Text)
  1. obj_t.open("GET","functions/travellerdetail.php?tid="+id,true);
Thanks for your time and suggestion.
Reputation Points: 21
Solved Threads: 0
Junior Poster
marjan_m is offline Offline
149 posts
since Apr 2005
Apr 20th, 2009
0

Re: ajax problem

Click to Expand / Collapse  Quote originally posted by Fungus1487 ...
it does not require a full URL but give it a try anyway.

Does the page POST BACK?
This might happen cuz you have not specified '#' in the href property of the anchor tag
Thanks for your time and guidance. The problem was that I was not specifying the href property. Now it is resolved.

Thanks for your help.
Reputation Points: 21
Solved Threads: 0
Junior Poster
marjan_m is offline Offline
149 posts
since Apr 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: dynamic array and dymanic variables
Next Thread in PHP Forum Timeline: PHP-MySQL question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC