• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jq modal and CI


As the layout of my first message was not good (a real calamity Smile), 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:

<div>Forgotten password</div>
  $().ready(function() {
  $(’#ex2’).jqm({ajax: ‘&lt;?php echo base_url();?&gt;welcome/form’, trigger: ‘a.ex2trigger’,onLoad});
  <div class=“jqmWindow” id=“ex2”>
  &lt;?php echo base_url();?&gt;images/interface/preloader.gif

b) form.php (initially loaded by welcome/form and displayed in the modal window):

&lt;form name=“password” action=”&lt;?php echo base_url();?&gt;welcome/password”&gt;
  Close <span class=“title”>Information</span>
  <div id=“yourpassword”>Password<span id=“yourinfo_subtitle” class=“subtitle”></span>
  &lt;input name=“email” type=“text” id=“txt_email_password” value=“Email”&gt;

Your suggestions are welcome !


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.