Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

value is not getting assigned in anchor tag in parent window

$
0
0

Hi,

 In my parent window, am having anchor tag. For this anchor tag value should be assigned from child window. But value is not assigned. so i am trying with text box. For Text box value is getting from child window and assigned properly. and also from text box value am trying to assign anchor tag. 

my parent window coding like as follows:-

<td class="tablebold" align="center" width="20" colspan="2" style="background-color:Aqua";>
<input type="text" name="ProjectNamefrmChild" id="txt1">
<a href="javascript: EditProject(<%=CompanyID%>,<%=ProjectID%>)" id="LinkProject"><%=ProjectNamefrmChild%></a>
</input>
</td>

My child window coding like as follows:-

function get_popupvalue() {
var parent = window.opener.document.getElementById("txt1")
parent.value = document.getElementById("Project1").value

}


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>