Click here to Skip to main content
15,890,512 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: determine file size before uploading? Pin
Peter_in_278023-May-11 14:22
professionalPeter_in_278023-May-11 14:22 
GeneralRe: determine file size before uploading? Pin
Manfred Rudolf Bihy23-May-11 18:55
professionalManfred Rudolf Bihy23-May-11 18:55 
Question"waiting message" before complete loading ?? Pin
dcode2522-May-11 2:02
dcode2522-May-11 2:02 
AnswerRe: "waiting message" before complete loading ?? Pin
twseitex22-May-11 10:11
twseitex22-May-11 10:11 
GeneralRe: "waiting message" before complete loading ?? Pin
dcode2522-May-11 12:00
dcode2522-May-11 12:00 
AnswerRe: "waiting message" before complete loading ?? Pin
thatraja22-May-11 16:19
professionalthatraja22-May-11 16:19 
GeneralRe: "waiting message" before complete loading ?? Pin
dcode2523-May-11 5:13
dcode2523-May-11 5:13 
QuestionWindow.open Help Pin
salmonraju19-May-11 20:29
salmonraju19-May-11 20:29 
Hi,
I have an application that uses frames.

I am calling a method in parent frame as below.(below method is in child frame)

function my MyChild()
{
var pth = window.location.href;
//http://localhost/Main/SUB/Child.aspx[^]

parent.frames["MainFrame"].MainMethod();

}


below is my function in parent Frame, and I am trying to open a new window but that is opening new page in child location
I am using below code , is ter any way so that I can track the URL it is trying to open.


function MainMethod()
{
var path=window.location.href; //below is the value
//http://localhost/Main/Parent.aspx[^]
window.open("Newpage.aspx");
//it is opening in http://localhost/Main/SUB/NewPage.aspx[^]
But I am expecting it will open in http://localhost/Main/NewPage.aspx[^]

}


Please suggest how Can i get the URl path it is trying to open, since window.location.href is giving differnt value.

Thanks,
AnswerRe: Window.open Help Pin
twseitex22-May-11 10:19
twseitex22-May-11 10:19 
Questionhow to set focus again on drop down after pressing down key Pin
Syed Salman Raza Zaidi16-May-11 21:53
Syed Salman Raza Zaidi16-May-11 21:53 
AnswerRe: how to set focus again on drop down after pressing down key Pin
twseitex19-May-11 10:33
twseitex19-May-11 10:33 
QuestionJQuery to Mootools Pin
mehrdadc4814-May-11 18:14
mehrdadc4814-May-11 18:14 
AnswerRe: JQuery to Mootools Pin
DaveAuld15-May-11 1:41
professionalDaveAuld15-May-11 1:41 
QuestionJavaScript Framework Pin
Md. Marufuzzaman11-May-11 8:30
professionalMd. Marufuzzaman11-May-11 8:30 
AnswerRe: JavaScript Framework Pin
DaveAuld11-May-11 8:39
professionalDaveAuld11-May-11 8:39 
GeneralRe: JavaScript Framework Pin
Md. Marufuzzaman11-May-11 9:22
professionalMd. Marufuzzaman11-May-11 9:22 
GeneralRe: JavaScript Framework Pin
AjeetPrabhakar16-May-11 19:16
AjeetPrabhakar16-May-11 19:16 
GeneralRe: JavaScript Framework Pin
DaveAuld16-May-11 19:41
professionalDaveAuld16-May-11 19:41 
AnswerRe: JavaScript Framework Pin
Manfred Rudolf Bihy12-May-11 22:41
professionalManfred Rudolf Bihy12-May-11 22:41 
AnswerRe: JavaScript Framework Pin
Ankur\m/16-May-11 20:38
professionalAnkur\m/16-May-11 20:38 
Questioneval() Vs setTimeout() Pin
Ali Al Omairi(Abu AlHassan)10-May-11 3:37
professionalAli Al Omairi(Abu AlHassan)10-May-11 3:37 
AnswerRe: eval() Vs setTimeout() Pin
Pete O'Hanlon10-May-11 3:57
mvePete O'Hanlon10-May-11 3:57 
GeneralRe: eval() Vs setTimeout() Pin
Manfred Rudolf Bihy12-May-11 22:42
professionalManfred Rudolf Bihy12-May-11 22:42 
GeneralRe: eval() Vs setTimeout() Pin
AspDotNetDev14-May-11 22:44
protectorAspDotNetDev14-May-11 22:44 
GeneralRe: eval() Vs setTimeout() Pin
Ankur\m/16-May-11 20:42
professionalAnkur\m/16-May-11 20:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.