0

I am making a get request by using

$.ajax{type:'GET', url: url, cache: false..}

Although i am able to view the data by view-source. But unable to see on the page, it shows empty. What can be the reason for behavior and how can it be fixed.

Sean
  • 953
  • 1
  • 7
  • 26
Demon
  • 21
  • 4

2 Answers2

0

I'm not sure if this link will assist you

Ajax tutorial for post and get

The main thing is that you need to select a target element, and then output on success. Hope that helps.

Community
  • 1
  • 1
AceWebDesign
  • 579
  • 2
  • 11
0

Make sure the url you are providing contains the GET parameters.

Sean
  • 953
  • 1
  • 7
  • 26