View Full Version : Change Variable Code Extremely Needed Help

01-22-2009, 10:28 PM
Heres the problem...

On my site page (page1) i have a iframe to a write-protected page on another server (page2). Page two has two variables i need to change on it they are [ chase and count ] the chase variable needs to be false and the count variable need to be 12... I need to implement this javascript variable change as page1 loads with the loading iframe showing page2...


Philip M
01-23-2009, 07:41 AM
For security reasons JavaScript cannot access anything beyond the domain of the current page. This is known as the "same origin policy" and prevents a document or script loaded from one origin from getting or setting properties of a document from a different origin.

You could probably do this with Ajax.

"When I was a kid I used to pray every night for a new bike. Then I realised that The Lord doesn't work that way, so I stole one and asked him to forgive me."

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum