Error: Exception thrown and not caught

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error: Exception thrown and not caught

rishi_raj2121
Hello experts,
                   i want to pop up a div as modal using shadowbox but i am getting this exception error. The shadowbox script is registered in the master page. I am using the following coding

 Shadowbox.init({ modal: true, skipSetup: true });
            Shadowbox.open({
               content  : $('divshowattachments').innerHTML, ,
               title    : "Welcome",
               player   : 'html'
            });

How to solve this issue ?
Reply | Threaded
Open this post in threaded view
|

Re: Error: Exception thrown and not caught

HenzeBerkheij
remove one of the two comma's after the content declaration.
Reply | Threaded
Open this post in threaded view
|

Re: Error: Exception thrown and not caught

filmmaker
In reply to this post by rishi_raj2121
use a decent programming text editor like Komodo, it finds those errors easily.