Dear All,
I have a page here http://183.78.169.53/tm/addAssign.php. You can select a value from the dropdown list and you will get a list of configurations with the word "Select". If you click on the "Select" word you will get a pop-up value with a list of checkboxes. So what I want is that once they click on the checkbox the window will close and update the "Select" with the revelant "Tyre Serial No". How to achieve the updates? I also want to limit the pop-up window to only at any one time.

There is a dirty way by using cookies. In pop-up window write user choice in cookies before closing it and then read back the cookies in first page. This is not a clean method.

You have to use Ajax to bring the content of popup window on the same page and then you can do what ever you like.

dont use a popup window, it wont work on anybody with a poppup blocker, and just about everything has a popup blocker installed by default
instead use a layer in the current page, have it show or hide (display:block; display:none; ) onclick
a quick dirty example

<script type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false;
function hideIt(thing) {
if (dom) {document.getElementById(thing).style.visibility='hidden';}
if (document.layers) {document.layers[thing].visibility='hide';} }
function showIt(thing) {
if (dom) {document.getElementById(thing).style.visibility='visible';}
if (document.layers) {document.layers[thing].visibility='show';} }
--></script>
<button id="f1orm" onClick="showIt('layer1');">Go ahead, Make your choice</button> &nbsp;
<div><p>This would be the ordinary content</p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborumLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</div>
<div id="layer1" style="position:absolute; z-index:10; left:0; top:100px; width:100%; visibility:hidden; padding:100px; background:#ececec; border: 1px solid;">
<select name='one' onchange='hideIt("layer1");showIt("layer2");'><option value='' selected='selected'>make a choice</option><option value='1'>1</option><option value='2'>2</option><option value='3'>3</option><option value='4'>4</option></select> group one&nbsp;</div>
<div id="layer2" style="position:absolute; z-index:10; left:0; top:100px; width:100%; visibility:hidden; padding:100px; background:#ececec; border: 1px solid;">
<select name='two' onchange='hideIt("layer2");showIt("layer3");'><option value='' selected='selected'>make a choice</option><option value='1'>1</option><option value='2'>2</option><option value='3'>3</option><option value='4'>4</option></select> group two&nbsp;</div>
<div id="layer3" style="position:absolute; z-index:10; left:0; top:100px; width:100%; visibility:hidden; padding:100px; background:#ececec; border: 1px solid;">
<select name='three' onchange='hideIt("layer3");showIt("layer4");'><option value='' selected='selected'>make a choice</option><option value='1'>1</option><option value='2'>2</option><option value='3'>3</option><option value='4'>4</option></select> group three&nbsp; </div>
<div id="layer4"  style="position:absolute; z-index:10; left:0; top:100px; width:100%; visibility:hidden; padding:100px; background:#ececec; border: 1px solid;">
<select name='four' onchange='hideIt("layer4");'><option value='' selected='selected'>make a choice</option><option value='1'>1</option><option value='2'>2</option><option value='3'>3</option><option value='4'>4</option></select> group four&nbsp;
</div>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.