Skip to content Skip to sidebar Skip to footer

Placing A Div Inside A Dialog Box

I am creating a jQuery plugin which shows the user a bar graph when a user selects a table on a webpage. I am able to render the table on the same page. Is there any way I can put

Solution 1:

As far as javascript dialog boxes, your options are somewhat limited to what you can do. For example, a line break <br/> cannot be used with a dialog box. You would have to use the new line character \n. If you need to render some sort of HTML in a "box" I would recommend using something different such as fancy box. Here is link to view some examples. It supports a wide range of things such as images, videos and static HTML.

http://fancyapps.com/fancybox/#examples

Post a Comment for "Placing A Div Inside A Dialog Box"