I try your tutorial but values not display in the form fields when click on update button.just blink fields of form display. I do not know where the problem?
i have an issue:( ;( i have a select box in my form and I have an add button I have applied append function on it to create multiple select box, in select box I have populate the item codes from table, I have applied ajax on it, when we change the value of select box it would shown the corresponding data in an input fields but its only working on first row:( ;(
Excellent tutorial!! Is there a way to use a textarea for one of the fields (for example Email) that would allow line breaks, instead of using Type="text"? Thank you!!
Hey, I am doing this on a Wordpress page and when I click Update nothing happens and my connection.php gives me back a 404 error. That is the only problem I have, can you help me out?
Friend, thanks for these videos that are very good, a query please, I am new to this programming class and everything goes well however between the boxes that my form has I have a select that is related to another table that is in my base data and I do not know how to recover or show the data of that select. I explain myself better I have two tables: User with the fields: id, nombre, apellido, país_id(foreign key) Pais with the fields: id, nombre The problem is that I do not know how to display the name of the country that has a user in the user's edit window. Thanks for the help
it comes from ajax along with other information like first name and last name . when click on update button in modal we pass that information through ajax . please watch from 6:50 where we set variables in jquery. and open modal to update data.
@@DeveloperZone001 Thanks. I was able to figure it out after going back a few times. Your video has helped me out so much. I am playing around with my first PHP app and was trying to use EDIT in a bootstrap modal and was stuck for 3 or 4 days. Your video helped me get unstuck. Thank you
hello , before i want to thank you for your work and effort , but i have probleme with update , edit working only in page is not work in data base so if possible to give me solution with my probleme thank u.
finaly i find error , you wrong in place ajax you use method but in reality we can use type not method in ajax type : 'POST', not , method = 'POST' all my respect for you thank u Toutes mes respect pour vous merci
You can validate data when we click on save button and get data from input fields. Just before ajax you can apply conditions on data to check if its valid or not
+ sign concatinate the id with string . in table each tr has id. so when we click on update link we get the id and then get the specific row with id by using $('#'+id).children
Hi. the download link is working fine . if you are having any problem downloading the source code then leave your email address in comment . i will send you the source code .
I have new a problem now lol, if click the update button it won't save in the DB but it display on page and when hit refresh it will go back to previous value
@@ayaalturk3166 you may be getting values with wrong parameters. use this code to print form data in php and check if you are getting values. print_r($_POST); die
This is seriously amazing! I've been working off of old tutorials that teach clunky old ways of updating. I'm so grateful for this. Thank you!
This video really helps me a lot.. Thank you so much sir
Thankyou so much bro... I was stucked here from whole day tht how to show back the data to edit and u made it a piece of cake
Akash Sharma your welcome
im stucked in 1 week :)
LMAO
I try your tutorial but values not display in the form fields when click on update button.just blink fields of form display. I do not know where the problem?
this is the best ajax tutorial ever i seen
code hai to send kardo
please can you share the source code again ? because website is down
this tutorial is better than others even in 2021.......
stil i get source code in 2021 ?
Get lost LMAO
Thank you so much, it really helps me! It's easy to understand and pretty clear tutorial
Awesome tutorial! I know its a old post, but can you share the files in another link? its not working anymore.
i have an issue:( ;( i have a select box in my form and I have an add button I have applied append function on it to create multiple select box, in select box I have populate the item codes from table, I have applied ajax on it, when we change the value of select box it would shown the corresponding data in an input fields but its only working on first row:( ;(
Amazing Sir you have solved my Update problem
But Sir can you do this for Deleting Same data in delete modal ?
the val() not giving me any value. For example i do a console.log(email) and its empty
Good job !
thank you. This helped me a lot. keep up the good work.
Excellent tutorial!! Is there a way to use a textarea for one of the fields (for example Email) that would allow line breaks, instead of using Type="text"? Thank you!!
I just figured out how to do the textarea. My mistake was that I forgot to add the amount of rows. thank you!!
LMAO
AMAZING! AMAZING! AMAZING! U HELP-ME SO MUCH! THANK U FRIEND!
thanks for your help!
Thanks brother you are amazing ❤️❤️
The Website/Download ist not exiting anymore :/
Hey, I am doing this on a Wordpress page and when I click Update nothing happens and my connection.php gives me back a 404 error. That is the only problem I have, can you help me out?
Friend, thanks for these videos that are very good, a query please, I am new to this programming class and everything goes well however between the boxes that my form has I have a select that is related to another table that is in my base data and I do not know how to recover or show the data of that select.
I explain myself better I have two tables:
User with the fields: id, nombre, apellido, país_id(foreign key)
Pais with the fields: id, nombre
The problem is that I do not know how to display the name of the country that has a user in the user's edit window.
Thanks for the help
@Developer Zone
Please share Source Code. above mentioned link not working. Thanks
The update button not working, can't we use save id given in update ?
thanks bro, have a nice day
can you please help me to update details using ajax in jsp and database
Thank you, for help me
the link is down, can you update it, please
Would this work if you were displaying multiple tables on the same page? Like multiple editable tables?
Yes this will work for multiple table. If the fields are different then you will have to add different modal with different classes
Good
Brilliant demo, is there a download link that works for the source code?
Get lost you ant
thank you so much!
it's worked .thanks brooooooo
Bro the source code is not available on your website.. Please try to make the source code available in your website
Legend! Thanks!
Very cool, thanks a lot!
How to Select Id Like MALE OR FEMALE ? its not woring. Help Me Please
why did you use email as isset ?? please anyone explain.
can we update without using id but with any other column value
Yes you can also use email instead of id.
thank you for sharing!
On PHP isset method, where does 'email' come from? Around 10min 30sec mark
it comes from ajax along with other information like first name and last name .
when click on update button in modal we pass that information through ajax .
please watch from 6:50 where we set variables in jquery. and open modal to update data.
@@DeveloperZone001 Thanks. I was able to figure it out after going back a few times. Your video has helped me out so much. I am playing around with my first PHP app and was trying to use EDIT in a bootstrap modal and was stuck for 3 or 4 days. Your video helped me get unstuck. Thank you
@@1976MIKEB so where does the email come from?
thanks :) keep up the good work. This helped me a lot
it's amazing, this helped me a lot. thanks :)
where can we get the source code?
Mine is unidentified sir when i click update alert($(this).data('ID')); i use this jquery method
Usr small letters. $(this).data('id')
hello , before i want to thank you for your work and effort , but i have probleme with update , edit working only in page is not work in data base so if possible to give me solution with my probleme
thank u.
Looks like your ajax is not working. Can you check your ajax code and server url given in ajax to update data
url and code ajax is work , but Still not working whene i edit in data base
@@aymenhamzaoui1076 then check your php code. Is it receiving data from ajax also is your query is OK. Update code is different from insert.
finaly i find error , you wrong in place ajax you use method but in reality we can use type not method in ajax
type : 'POST', not , method = 'POST'
all my respect for you thank u
Toutes mes respect pour vous merci
I have the same problem, now i try to implement your solution
muito obrigado, conteúdo excelente!
download link failed
good job brother
i tryed but it's not work .when i click the model update btn ajax url worked but data not update
Looks like you have problem in selectors.
THANK YOU
Could not get the code.
Hey the source Code is deleted
thank you! ps the source code link is not working
save button dont work
Show, perfect
my modal are opening but why there is no value? i copy your code exactly the same
looks like you are not setting the vlue correctly .
check the input id
and then in jquery check the selector .
$('#input-id').val();
@@DeveloperZone001 it works but the problem again is in data unexpected token : thanks bro.
gracias
How can i put validation of data in this?
You can validate data when we click on save button and get data from input fields.
Just before ajax you can apply conditions on data to check if its valid or not
Please add for registration
Can you tell me what does a '+' sign does in $('#' +id).children (td[data-target]).text();
+ sign concatinate the id with string . in table each tr has id. so when we click on update link we get the id and then get the specific row with id by using $('#'+id).children
@@DeveloperZone001 thank you 👍
Hi Developer. Very nice and clean! Only that the source code link does not work. Thanks.
Hi. the download link is working fine . if you are having any problem downloading the source code then leave your email address in comment . i will send you the source code .
how to show the data if i replace the text input, into select option?? PM ASAP :)
same as input field . like if you have select input having id "dropdown" then you can simply select value by $('#dropdown').val('your value');
I have new a problem now lol, if click the update button it won't save in the DB but it display on page and when hit refresh it will go back to previous value
ChicoChoco looks like value is not being updated. Check if your ajac is working fine.
I need mentor haha? where can i connect with you? :)
i used this again but it didn't display the value,
in select option tag
seria genial que lo hagas con un campo de imagen
why if isset($_POST['email']) sir?
To check form submission.
@@DeveloperZone001 its working when button update is click, but on the database is not working. not updating the data, just on the table only.
@@DeveloperZone001
I have the same problem, what is the solution please?
@@ayaalturk3166 you may be getting values with wrong parameters. use this code to print form data in php and check if you are getting values.
print_r($_POST);
die
Secource code Plz
I made the 100th comment in this comment section. I'm so honored..☺️
Hi sir can you share the code on my email
Please can you send me the source code?
download source code from google drive
download link is
drive.google.com/open?id=0B5XEqtJZAVgLQXZoT0hGLWJYQWc
@@DeveloperZone001 Hi, it's not work, could you send me the source code please?
Hi sir i cannot download the source code anymore can you send me the source code thru email? Thank you very much
When i refresh the page values does not updated