Hello everyone!
Hello my friends. how are you, I hope my friends will be happy and well. by the grace of God, I am also well. Today I am here with new development of SW portal. Some new features have been added at admin side to verify the reports of detectives and general users. in this development toggler is added as the indicator to give the green or red signal to the reports. Comment field is added for that will help to discuss. It is very tricky things to show and update comments on live table.
These new features are covered with the help of ajax. Toggler will post the data in database with the help of 0,1 form. 0 will indicate the red signal and 1 indicate the green signal. Verify button will use to update the value of comment field and toggler. In this development phase, I am facing some development issue, it is difficult to perform the parallel operations of get and store data from database. These are the dynamic operation that will easily handle by Ajax. For resolving this issue, I used Ajax. I want to upload the data without reloading the whole page. So, this concept will handle by Ajax.
Basically, Ajax help to take data from page to another page. Ajax is the Asynchronous JavaScript Technology. It is used to build dynamic, interactive web pages.
here is the screenshot of features that is handling by ajax.
When we will click on verify button then it will not reload the whole page due to Ajax. Here is the screenshot of Ajax code.
If anyone have any suggestion, then must share with us in the comment section. we will focus on it and try to apply it if it will suitable.
Thanks for giving your precious time to my post.
Follow | Upvote | Share | Comments
Special Thanks to
Cc: @rme
Cc: @hungry-griffin
Cc: @blacks
Cc: @steemcurator01
Follow me on Instagram.
Instagram
🆃🅷🅰️🅽🅺 🆈🅾️🆄
Congratulations, your post has been upvoted by @dsc-r2cornell, which is the curating account for @R2cornell's Discord Community.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has been featured in the latest edition of Steem News...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit