[mapguide-users] RE: Display the Query Result in a separate popup window

Ivan Miličević Ivan.Milicevic at supranet.hr
Wed Apr 21 07:51:20 EDT 2010


This might be helpful.

http://stackoverflow.com/questions/1353215/javascript-dynamically-add-frame-to-frameset


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Wednesday, April 21, 2010 1:44 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: Display the Query Result in a separate popup window



I my first post for this topic I have mentioned that how I was trying to add
dynamically but some error was showing


************************************************************************************************************ 
var newFrame1 = document.createElement("frame"); 
    newFrame1.id = "newFrame1"; 
    newFrame1.name = "newFrame1"; 
    newFrame1.src = "/mapguide/MyApp/query/QueryPopup.aspx"; //This is the
popup page where i want to display the Query Result 
        
    var frameset = parent.parent.maparea; // Here I m getting the framesret. 
    frameset.cols = null; 
    frameset.rows = "%s,*,0,0,150"; 
    frameset.appendChild(newFrame1); 
    frameset.appendChild(); //Error :: htmlfile: Invalid argument
************************************************************************************************************ 

Please give me some soln, where i did wrong 

thanks
-- 
View this message in context: http://n2.nabble.com/Display-the-Query-Result-in-a-separate-popup-window-tp4929403p4936463.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list