I just need to do a simple ajax call and the response back is the script for the whole page not the contents of the php file that is called. Is there some way that I can make this work?
Thanks Randy
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- Randy@stewartr
Randy - 0 likes
- kisssssss4ever@kisssssss
kisssssss4ever - 0 likes
- Sharon@sharon
Sharon - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
You must log in to post replies.<div id="MyHtmlTargetAreaDiv">
... This is were I want to put AJAX Fetched Data ...
</div>
$.post("Demo_Simple_Ajax_Thingy.php.",{ParamaterPata:MyJsInputData},function(ResultData){
$("MyHtmlTargetAreaDiv").html(Result);//;-)
}
Thanks that worked.
Randy
@DhrupDeScoop & @Randy
what these code do? please could u explain so I can also try on my test site :)
I also want to try this please explain
randy - whaddya mean it worked ?? tootally untested code from google scoople lolzle ;-oO