Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7609169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:06:19+00:00 2026-05-31T01:06:19+00:00

This is where i put a popup box into echo <tr><td>.$set[‘Name’].</td><td>.$set[‘Position’].</td><td><select name=’aaa’><option value=’default’>Not Share</option><option

  • 0

This is where i put a popup box into

echo "<tr><td>".$set['Name']."</td><td>".$set['Position']."</td><td><select name='aaa'><option value='default'>Not Share</option><option value='read'>Read Only</option><option value='edit'>Editable</option></select></td></tr>";

I retrieve it like $rights=$_POST['aaa']; and i check it has not post my item , other than the select box every thing success, and i found that not only select box , any type of the input e.g. text box also not post. Why it does not work ? thanks .

<?
include("../connection/conn.php");
session_start();

if($_SERVER['REQUEST_METHOD'] == "POST"){

$rights=$_POST['aaa'];


}else{?>


<html>
<head>


<script src="../plugin/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="../plugin/easyui/jquery.easyui.min.js"></script>
<script src="../plugin/jquery.validate.min.js"></script>
<script src="../plugin/jquery.form.js"></script>

<script>
$(document).ready(function(){
$("#addlist").validate();
});

function popup()
{$('#win').window('open');}   //<-- call popup 
</script>

</head>
<body>

<form id="addlist" method="post" action="add.php" >

 <a href="javascript:popup()"> Permission Settings</a>

<div id="win" class="easyui-window" closed="true" title="Login" style="width:400px;height:600px;"> //<==popup box in <div> element

<?


<select name='aaa'><option value='default'>Not Share</option><option value='read'>Read Only</option><option value='edit'>Editable</option></select> //<-- even not in the table , still not works.
<table width="100%" id="viewSub" border="1px;" cellpadding="1" cellspacing="1">
<tr>
<th field="col1" width="40%">Name:</th>
<th field="col2" width="40%">Position:</th>
<th field="col2" width="20%">Permission:</th>
</tr>

<?
foreach ($result as $set) 
{
    echo "<tr><td>".$set['Name']."</td><td>".$set['Position']."</td><td>ss</td></tr>";

}
//".$set['UserID']."
?>
</table>


<input class="submit" type="submit" name="submit" value="Submit"/>


</form>

</body>

</html>

<?
}
?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:06:21+00:00Added an answer on May 31, 2026 at 1:06 am

    Add this to your select-box:

    <form action="your-page.php" method="post">
    <!-- YOUR POPUP BOX CODE -->
    
    <input type="submit" name="submit" value="Submit" />
    </form>
    

    Your <input> and your <select> MUST BE inside a <form> element!

    The <input type="submit"> is optional because you’re using JQuery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It's hard to put this into the title, so let me explain. I have
I'm trying to put this data type in a Haskell Set, but I don't
My procedure for using log4j is this: put a .properties file somewhere in a
I put this at the top, using sudo vi /etc/profile: PYTHONPATH=/home/myuser:/home/myotheruser When I use
If I put this tag in my HTML: <img src=http://server/imageHandler.php?image=someImage.jpg /> instead of <img
Edit: I put this snippet of code in jsbin: http://jsbin.com/eneru I am trying to
[Rails] Where to put this code? I have a user1 and when another registered
In my Apache webserver I put this: <Directory /var/www/MYDOMAIN.com/htdocs> SetHandler mod_python PythonHandler mod_python.publisher PythonDebug
I have a csv file : 1|1.25 2|23.56 3|58.99 I want to put this
I used to put the class of css in the action link like this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.