Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-30-2005, 06:59 PM   #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.
hartken is offline   Reply With Quote
Old 12-30-2005, 06:59 PM   #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.
hartken is offline   Reply With Quote
Old 12-30-2005, 07:13 PM   #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?
hartken is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:02 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2