open an iframe when I click on a input submit
-
HI!
I have a subscribe form in my site and I’d like to open a modal window with subscription page inside, when user clicks submit button.
I’m going to try to explain myself (apologizes for my english)
I’m using Mail Relay and they have this form to subscrbe to newsletters:<form enctype="application/x-www-form-urlencoded" action="https://velodrombiketours.ip-zone.com/ccm/subscribe/index/form/" method="post"> <dl class="zend_form"> <dt id="name-label"> <label for="name" class="required">Nombre</label> </dt> <dd id="name-element"> <input type="text" name="name" id="name" value="" /></dd> <dt id="email-label"> <label for="email" class="required">Email</label> </dt> <dd id="email-element"> <input type="text" name="email" id="email" value="" /></dd> <dt id="groups-label"> <label for="groups" class="optional">Grupos</label> </dt> <dd id="groups-element"> </dd> <dt id="submit-label"> </dt> <dd id="submit-element"> <input type="submit" name="submit" id="submit" value="Suscribir" /></dd> </dl> </form>
The “action” of this form is an URL.
action="https://velodrombiketours.ip-zone.com/ccm/subscribe/index/form/"
This url opens in a new window and this is really annoying because user goes out from my site! I’d like this url to be opened in a modal window as a iframe with Fancybox.
Is it possible?
Thanks
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘open an iframe when I click on a input submit’ is closed to new replies.