file1.php - calls JS function in file2.js (working fine).
file2.js - makes http_request to file3.php to do some stuff. (working fine)
file3.php - check some stuff in the db (working), then makes the following JS call to a <span> in file1.php (not working)
Expand|Select|Wrap|Line Numbers
- echo" <script language=Javascript><!--";
- echo" document.getElementById('email_hint').style.visibility = 'visible';";
- echo" //--></script>";
[HTML]<span id="email_hint" style="visibility:hidden;">Email all ready assigned to a member.</span>[/HTML]
My questions is why does the <span> never hear/process the getElementById call? Could it be that the call to the *document.* only refers to elements in file3.php? What say you?
FYI, file3.php is all php, it has no HTML.