Add values from dialog popup to parent page dynamically

Posted by Unknown

Add values from dialog popup to parent page dynamically


use this line of code in jquery to get the values from the popup to the parent page:

if you want to display values in  in textbox of parent page use this:
 
  parent.top.$("input#txtEmpNo").val("EH0001");

or

if you want to display values in  in div tag of parent page use this:

parent.top.$("#txtEmpNo").html("EH001");

Hope this will helps you


Labels:

Post a Comment

 
test