On Sep 30, 10:27 am, mattastic mharris...@yahoo.co.uk wrote:
Thanks very much for your reply, however, could you please tell me how
I can populate the loading div with the response text, rather than an
alert?
Many thanks
On Sep 29, 1:56 pm, Mark Gorman dayg...@gmail.com wrote:
yay
code?
So I can see how the javascript, html and ajax works together
I'mn struggling to understand how the whole page is layed out.
Thanks in advance
On Sep 28, 2:18 pm, Mark Gorman dayg...@gmail.com wrote:
http://docs.jquery.com/Ajaxhaseverything you need but a simple
example would
yay for it not showing what you said before i posted, try on your
start and stop doing $(document).ajaxStart(); for some reson is can be
quite silly with that also use $(document).ready(); its nicer that way
and avoids unexpected issues
On Sep 29, 1:52 pm, Mark Gorman dayg...@gmail.com wrote
i did try ealer to send a reply but that did not seem to apper so
heres a shorter version
http://docs.jquery.com/Ajax has everything you need, to make a loading
image come up on start you can just ether in your click function
inlude $(.loading).show(); or use the event
http://docs.jquery.com/Ajax has everything you need but a simple
example would be...
$(document).ready(function(){
$.ajaxStart(function(){
$('.loading').show();
});
$.ajaxStop(function(){
$('.loading').hide();
});
//i have trouble with the post permiters so i always do it the {} way
but you
5 matches
Mail list logo