runpage(code, funcwhendone)

Parameters

- code page code in single page format

- funcwhendone the function handling the output from the page or default setting the result to element dqlresult after remove hide class on modaldqlresult

The function definition for funcwhendone is function(html) where html is the output format from the page.