Home

Computational Ecology and Software, 2024, 14(3): 168-173
[XML] [EndNote] [RefManager] [BibTex] [ Full PDF (638K)] [Comment/Review Article]

Article

Dynamically insert the forest plot into a web page: The full Javascript codes

WenJun Zhang, GuangHua Liu
International Academy of Ecology and Environmental Sciences, Hong Kong, China; School of Life Sciences, Sun Yat-sen University, Guangzhou 510275, China

Received 18 February 2024;Accepted 10 March 2024;Published online 15 March 2024;Published 1 September 2024
IAEES

Abstract
In present study a method that enables users to dynamically insert the forest plot into a web page was presented. In this method, I created a Javascript module for generating and inserting a HTML table, including an entry function and two sub-functions. When the user applies it, copy these functions together with the table mark into the web page location where the forest plot is to be inserted. The web page will generate the forest plot by passing in parameters and calling the entry function in the user's own Javascript module. The full Javascript codes were given for free uses of web developers.

Keywords Javascript;JQuery;table;web page;HTML;ASP.



International Academy of Ecology and Environmental Sciences. E-mail: office@iaees.org
Copyright © 2009-2024 International Academy of Ecology and Environmental Sciences. All rights reserved.
Web administrator: office@iaees.org, website@iaees.org; Last modified: 2024/5/2


Translate page to: