Jump to content

Change iframe form action


opstabom

Recommended Posts

I have to change iframe form action from javascript I load iframe and then write javascipt

var page=window.frames['page'];

alert(page);

var form=page.document.getElementById(id);

form.action="<?php echo HOST."save.php"; ?>";

When i move alert script don't work with alert works fine

 

How to change iframe form action method when iframe loads from javascript

 

Link to comment
https://forums.phpfreaks.com/topic/170403-change-iframe-form-action/
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.