Patent ID: 8826122

Claim:
A method for displaying a webpage, wherein a webpage parsing server is deployed at a server side, the method comprises: A, obtaining, by the webpage parsing server, an original webpage corresponding to a Universal Resource Locator (URL) request transmitted by a mobile terminal, and executing JavaScript (JS) in the original webpage to obtain a result webpage; B, adding, by the webpage parsing server, a JSNODE attribute to the result webpage, wherein the adding comprises determining a tag containing a JS event to be triggered in the result webpage, the JSNODE attribute comprises an identifier of the tag containing the JS event to be triggered; and determining a form controller which allows the user to submit form data on the result webpage, and adding a Page Data (PD) attribute to the tag containing the JS event to be triggered, wherein the PD attribute comprises an identifier of the form controller; and the mobile terminal determining a JS event triggered by the user and the tag containing the JS event, searching the JSNODE attribute for the identifier of the tag determined, and filling in a JS request protocol packet with the identifier of the tag determined and the JS event triggered by the user; wherein, when the user submits the form data, searching the PD attribute for the identifier of the form controller used by the form data, and filling in the JS request protocol packet with the identifier of the form controller searched out and text information of the form data; and C, executing, by the webpage parsing server, the JS event according to the JS request protocol packet transmitted by the mobile terminal, and transmitting the result webpage in which the JS event has been executed to the mobile terminal for display.