Updating data html page
I have an HTML form that is split into three major components.
The top portion is essentially a header for displaying a magazine name. The middle portion is a table developed through a My SQL query for displaying the story information as a table of contents after it is entered in the bottom portion, which is a data entry screen.
You can read about j Query Ajax from official j Query Site: https://api.jquery.com/j Query.ajax/ If you don't want to use any click event then you can set timer for periodically update. first, try this: Ajax Tutorial If you want to know how ajax works, it is not a good way to use j Query directly.
To work with existing data in a SQL Server database, you can create an HTML page that lets you view and edit the data.
That method requires that you identify all JSF components and write them into your JSF pages.
What if the dynamic elements cannot be identified until run time?
Although you may be familiar with Java Swing applications such as "clock," in which data changes prompt GUI updates, or you might have read the implementation details of such applications in some basic Swing development guides, this approach will not work with my scenarios.We will use HTML5 and Java Script at client side, with PHP at server side.With existing models such as AJAX, the code in a Web page would continually ask the server to supply new data, but the onus was on the client to request the information.The solution was associated with how the various forms were called.My thanks to Sulthan Allaudeen for providing potential solutions.