Jump to content

Problema trimitere formular text INPUT


Bogdano

Recommended Posts

Salut,as vrea si eu sa stiu cum fac un text input dar care sa apara dupa ce pun o anumita valoare aici http://postimg.org/image/84b1hshe1/ si dupa ce am introdus valoarea sami apara cum e aici http://postimg.org/image/6wdxwfwud/ am incercat sub mai multe forme dar tot nu imi afiseaza textul dupa ce introduc valoarea.

as vrea sa fe cv gen cum e aici  uite aici http://bluepanel.bugged.ro/premium/paysafecard

scuzati pentru dublu topic dar nu miam dat seama ca postasem la ipb puteti sal stergeti pe aclea.

 

sursa 

<form class="form-inline" action="http://bugged5.host22.com/Donatii.php" method="POST">
<input type="text" name="amount" class="input-small">
<select name="currency" class="input-small">
<option value="EUR">EUR</option>
</select>
<input type="hidden" name="_token" value="kGCIUvy9ptdTnQIi5jgq2DVNxYzf7G3HqIf4W8PK">
<input type="submit" class="btn btn-small btn-success" value="Calculeaza!">
</form>

Daca te-am ajutat ,nu ezita sa dai +1.

Skipe: bogo.bogo11

Y/M: bogdano_bogo@yahoo.com

Site: [http://alien-gaming.ro/]

 

 

Link to comment
Share on other sites

  • Moderators

In codu ala lipseste tot codu de PHP pentru a citi din baza de date sau dintr-un fisier, si cand se apasa butonu Calculeaza, prin Ajax se trimite o cerere spre un fisier PHP care sa execute/citeasca baza de date/fisieru json/xml, odata citit, returneaza valoarea si prin JS o afiseaza.

Poti citi despre ajax si jQuery ( nu javascript, e mai simplu cu jQ ) aici:

http://www.w3schools.com/jquery/ajax_ajax.asp

http://api.jquery.com/jquery.ajax/

 

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.