Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Im trying to open a new window using window.open() in jquery, window was opened but when im trying to get the selected value. im unable to get.

Sample Code:
objwinopen = dialog('../HRManagement/EmployeeDetails_Search.aspx?Cat=RM&F9=1&Mode=' + ObjMode + '', null, 'status:no;dialogWidth:745px;dialogHeight:624px;dialogHide:true;help:no;scroll:no');
                   if (objwinopen != null) {
                       objMandal.val(objwinopen.split("/")[0]);
Posted
Updated 6-Oct-14 23:06pm
v3
Comments
Kornfeld Eliyahu Peter 6-Oct-14 5:31am    
What dialog method returns? Is it a string?
Baroor 6-Oct-14 5:41am    
Yes it returns string like: abc/123/xyz
Kornfeld Eliyahu Peter 6-Oct-14 6:47am    
Returns in run time - or that what you expect it to return?
[no name] 6-Oct-14 6:16am    
Try debugging and find what exactly the string looks like. Check if you are getting any error.
ashok rathod 7-Oct-14 2:14am    
What is the datatype of your objWinopen ? and have you make sure that dialog function is returning value as abc/123/xyz and not an encoded string?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900