Jump to content
Sign in to follow this  
heAdgN

Autofill Html

Recommended Posts

Salut !

Am si eu nevoie de un script sau o solutie de autofill .

Pe scurt , am un tabel in html si as vrea cand aleg un cod de exemplu 1 sa imi completeze automat in tabel cu cateva informatii.

Share this post


Link to post
Share on other sites

Pentru ce ai tu nevoie trebuie sa folosesti si JS.

Nu cred ca sta nimeni sa-ti faca asa ceva, daca esti interesat sa inveti, poti face ceva simplu folosind jQuery si AJAX, cand selectezi o valoare dintr-un select trimiti un request ajax catre un soi de API pe care ar trebui sa ti-l faci ca sa trimiti un raspuns JSON sa-ti fie mai usor de interpretat in JS si dupa iti faci update la tabel.

In schimb daca esti interesat sa te ajut scrie-mi pe discord, 

Spoiler

No pomegranates#1791

 

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...