html5 - Grails Project - Open dialog box -
in application, when hit run button scripted in gsp page as:
<input type="button" value="run" onclick="submitjob()"></input>
submitjob() function defined in extjs javascript file operations , calls controller code renders different gsp output page as:
render(template: "/plugin/jobplot_out", model:[jobname:jobname], contextpath:plugincontextpath)
in application in web browser displays output in same web page. how display same output in dialog box , not in same page?
i new javascript posted question. did: had search div id of run button , had search url div id gets loaded. upon finding this, had write jquery code open dialog box , resulting output rendered there.
Comments
Post a Comment