Skip navigation
Currently Being Moderated

.load jquery

Jun 14, 2012 6:06 PM

Tags: #php #jquery

I am trying to load a list of files from an external php file (not sure if this is the best way of doing this...).   So the user clicks on a link, and I use .load to show the results in a div.  In the php file, i echo results.  i have been having issues though.  I use echo "good", and yet, nothing shows up.  i have a link to the latest jquery file, and this code:

$("#content").load(http://www.mysite.com/get_files.php");

 

Anything that I could be missing?  Not sure where else to go from here.  Have tried echo mysql_error(); on the first line on the php file, but nothing. 

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points