Jump to content

Search the Community

Showing results for tags 'jquery modal popup'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi to all, I have an jquery modal popup window. So now I want to pass value of recid to modal popup window. HTML Code : <a href="#widget-config #ADD" id="<?php echo $row->recid; ?>" data-toggle="modal" class="btn btn-small add" data-rec-id="<?php echo $row->recid; ?>"><i class="icon-plus"> </i> Add</a> PHP Code : <div id="widget-config"> <div id="ADD" class="modal hide"> <div class="modal-header"> <button data-dismiss="modal" class="close" type="button">×</button> <h4>Add Record</h4> </div> <div class="modal-body"> <p>Are you sure you want to Add Mr.ABCD as Student</p> <p><input type="submit" value="Add" class="btn btn-small" name="AddStudent" /> <input type="reset" name="no" class="btn btn-small" value="No"data-dismiss="modal" /></p> </div> </div> <div id="widget-config"> <div id="ADD" class="modal hide"> <form name="formAddStudent" id="formAddStudent" method="post" action="AddStudent.php"> <script language="javascript"> $("a.add).click(function(e){ var _id; e.preventDefault(); var _id = $(this).attr('id'); }); </script> <div class="modal-header"> <button data-dismiss="modal" class="close" type="button">×</button> <h4>Add Record</h4> </div> <div class="modal-body"> <p>Are you sure you want to Add Mr.ABCD as Student</p> <p><input type="submit" value="Add" class="btn btn-small" name="AddStudent" /> <input type="reset" name="no" class="btn btn-small" value="No"data-dismiss="modal" /></p> </div> </form? </div> </div> I tried like above. But am not able to get the recid which is from MySQL table. Please help me out from these....! Thanks in advance.
×
×
  • 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.