1)Script Title: DHTML Modal window v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem:
Not sure this is the right place for my question but would apprecaite if someone can help...
I am loading an update form by using DHTML Modal window v1.1 script on click of a button. I am using ASP. There are 6 records on a page , how to make sure to load a different records on the form, on the basis of user slection. e.g if I click on record 1 , the detail of record 1 should show and so on...BUT as of now the last record is loading everytime I click each of the six records.below is my code.
Thanks.Code:<script language="javascript"> function openForm2(){ var val= <%=""&EventID&""%> var val2 = <%=""&ESID&""%> emailwindow<%=""&EventID&""%>=dhtmlmodal.open('Update Event', 'iframe', 'Update_Event.asp?event=' + val + '&SectorID=' + val2 , 'Update an Event', 'width=700px,height=565px,left=300px,top=10px,center=0,resize=0,scrolling=1') emailwindow<%=""&EventID&""%>.onclose=function(){ window.location.reload() } return true; } </script>



Reply With Quote
Bookmarks