Jump to content
php.lv forumi
  • 0

jquery.get


goma smile

Question

Kā izdarīt to lai ielādē pēc pilnīga get piemēram ir šitā
 
$.get( "ajax/test.html", function( data ) {
  $( ".result" ).html( data );
});
 
visu izvada oky bet tad es gribu pievienot vēl

 

$.get( "ajax/test.html", function( data ) {
  $( ".result" ).html( data );
   KKADA_F_CIJA();
});
 
Bieži vien sanāk kad izvelku no get tā KKADA_F_CIJA(); ielādējās ātrāk par to html(data);
 
un funkcija nenostrādā nav  kkādas opcija:
 
100procsuccess:{
KKADA_F_CIJA();
}
 
Proti kad 100% izvadās html(data) tikai tad tiek izsaukta KKADA_F_CIJA();
 
 
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...