Trigger client side java script from formview page index changed event within ajax update panel.
Posted on 2009-12-17
I have a .net fromview within an ajax update panel on my page which contains a hiddenfield called hfQuestionNo
as the user pages through the form the hidden field value increments.
The java script i want to run is:
Mediabox.open('url', 'title', 'width height');
this function opens a lightbox style window.
i need to run it when the hidden field value reaches a value that is specified in either the server side or client side scipt.
I am not really sure where to start.