Modal (conflicts) vs openwindow JS code


<script LANGUAGE="javascript">
function openwindow(id){'page2.asp?id='+id,'','width=780,height=180')

I have been taking the advice of the experts in this forum and am using modals where I can instead of using the above openwindow code. It's been going good, thanks!

One issue I am having is that like the above code, page2 has code that conflicts with page1 where the modal resides. It's using database calls etc and can't be put on page1.

So is there a way that I can use my modal code and call page2 in the modal that will show on page1. Hence, this is why I have been using the JS function above. And if the answer is no, am I forced to continue with the same JS code?

Your help would be appreciated.

Thank you.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.