[eluser]Unknown[/eluser]
Hello,
As the layout of my first message was not good (a real calamity
), making it unreadable, I give me a second chance. Your help is needed.
I’m able to display a modal window containing a simple form using jqmodal but unable to display the result of the ajax request in it (database request).
a) html file:
Code:
<div>Forgotten password</div>
$().ready(function() {
$(’#ex2’).jqm({ajax: ‘<?php echo base_url();?>welcome/form’, trigger: ‘a.ex2trigger’,onLoad});
});
<div class=“jqmWindow” id=“ex2”>
<?php echo base_url();?>images/interface/preloader.gif
</div>
b) form.php (initially loaded by welcome/form and displayed in the modal window):
Code:
<form name=“password” action=”<?php echo base_url();?>welcome/password”>
Close <span class=“title”>Information</span>
<div id=“yourpassword”>Password<span id=“yourinfo_subtitle” class=“subtitle”></span>
<input name=“email” type=“text” id=“txt_email_password” value=“Email”>
</div>
submit
</form>
Your suggestions are welcome !
Sylvie