Well This is Good, but you can make it better. How? Just follow the steps. (1) Why showing post_id into hidden field , it is a serious security issue, you can keep it in local storage / session/ cookies.I think local storage is the best.While updating , js will through localstorage data along with form data. (2) And, why set up setTimeout , you should fire ajax on 'blur' or 'keyup' (3) Last , why don't you sanitaize the input in mysql query with mysql_real_escae_string()? In your scenario , if i enter a javascript into that text area , then it will save to db and perhaps causing trouble to whole site. Please rectify allthose, otherwise all good.
@seansamson46616 жыл бұрын
can you help me with that sir? cause i use ajax and framework as laravel what i did is if i make changes in input and lost focus my ajax will trigger and that will cause to insert a data in database
@seansamson46616 жыл бұрын
but if i make changes to another input element and lost focus will trigger again the ajax and insert another data to database what i want is to update the recent inserted data
@norbertabone91574 жыл бұрын
Why don't u create a video and make the world a better place?
@oladimejiobileye77027 жыл бұрын
Good job!! but how i do this with forms comprising of text forms and select tag.
@skeeterstudies81092 жыл бұрын
What about final submission
@kunalroy1486 жыл бұрын
can i write an ajax call only to insert data into mysql data at a particular interval of time which is set by the user .... Please Help
@norbertabone91574 жыл бұрын
Exactly what I was looking for
@brixabreu44196 жыл бұрын
It is possible even if i just call first the details from database and then if i edit it it will save automatically in the database? Thank you for your response
@brixabreu44196 жыл бұрын
Someone Help me please
@entertainments_videos5 жыл бұрын
how i can auto insert query in database ??
@fedelecavaliere52494 жыл бұрын
Good TTS Engine
@narendraverma8257 жыл бұрын
But How can I insert the more than one record?
@kunalroy1486 жыл бұрын
did you find the solution ...
@satishp5122 Жыл бұрын
hii sir , how to do the same for multiple radio button with different class name
@satishp5122 Жыл бұрын
can u plz help me in getting that
@umabm5026 жыл бұрын
hello sir thanks for this video, i need the same functionality in laravel frame work can u help me out.....?
@tythaya65 жыл бұрын
did you able to do it ?
@arsegacom6 жыл бұрын
Nice brother :x thank about it
@jackexposer12126 жыл бұрын
Good tutorial. But a lack of security
@teegee49645 жыл бұрын
CAN YOU HELP ME HOW TO AUTO INSERT? :(
@annm28554 жыл бұрын
pls sir my own is not adding in the table
@asmrtist90585 жыл бұрын
I don't fully understand *_$('_**_#post_**__id').val(data);_***. Isn't ***_data = {postTitle: post_title, postDescription: post_description, postId: post_id}_* ? Therefore, how does *_$('_**_#post_**__id').val({postTitle: post_title, postDescription: post_description, postId: post_id});_* make sense? *_$('_**_#post_**__id').val();_* would be the input field's actual value, I don't know what the other expression would be.
@MrGigi-dz9cv Жыл бұрын
No. You are confusing the 'data' parameter, with the 'data' response from the server.
@shubhamsunny60246 жыл бұрын
Undefined variable...cant get post value in other page......
@akashiseijuro47057 жыл бұрын
It sucks your video looks like kangaroo...
@norbertabone91574 жыл бұрын
Then create your own . the video is helpful to others .