|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Dec 2005
Posts: 87
|
External Javascript file onClick
Can you call an external javascript file from the onClick event? What I am looking for is something similar to the loadVars function in Flash but in javascript. I am trying to update a JS array using a PHP file.
|
|
|
|
|
|
#2 |
|
Member (7 bit)
Join Date: Dec 2005
Posts: 87
|
Also I am trying to do this without the page reloading or a new popup.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Dec 2005
Posts: 87
|
I think I found out how. I am going to try using XMLHttpRequest. Anyone know the compatibility of this and if it is safe to use in modern browsers?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|