Jump to content
php.lv forumi
Sign in to follow this  
aika

Laikam jau pamatu pamati ..

Recommended Posts

Laikam jau tie ir pamatu pamati, bet kauns ir nepaprasīt, nevis nezināt...

 

Vajadzētu bez formas submitot īventu.

Piemēram [texts], uz kura uzklikšķinot tiek padots POSTs uz noteiktu.php failu, šoreiz pat nav vajadzīga atbilde (jo 100% ka vajadzīgais tiks piefiksēts) un [texts] tiek nomainīts uz [cits texts]

?

Forši ja vēl ar fade efektu.

 

Gūgle bagāta ar visādiem piemēriem, bet tieši šādu risinājumu neatradu, pašam kopā salikt 'prātiņš pa īsu'.

 

Paldies jau iepriekš.

Share this post


Link to post
Share on other sites

gan jau ka ar jQuery.

 

textam piešķir ID un

 

$("#texta_id").click(function() {
 $.post("uz_kurieni_padot.php",{ padodamis_1:vertiba_1,padodamais_2:vertiba_2 });
});

 

Par tiem fade efektiem gan nezināšu

Edited by nikidijs

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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...
Sign in to follow this  

×
×
  • Create New...