Jump to content

Java conflict question


mcmuney

Recommended Posts

I have a scenario where the javascript stops working once a section of a page is reloaded. For example:

 

<javascript>
some java code to open an image usina a fancy window
</script
<div id="reload_section">
<a href="image" id="java-fancy-window" onclick="java-fancy-windo"><img src="image"></a>
</div>
<a href="reload_section_page">RELOAD SECTION</a>

 

I'm using something like this and when I click on the image, it opens the image in a nice popup window; however, when the <div> section is reloaded, the same function stops to work. I've even tried placing the java code again inside the page that's reloaded inside the <div>, but it still does not work.

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/273944-java-conflict-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.