Click here to Skip to main content
11,413,961 members (75,756 online)

JavaScript

 
SuggestionRe: JavaScript: How to reference user control inside content page? Pin
Blikkies, 13-Feb-13 3:14
memberBlikkies13-Feb-13 3:14 
AnswerRe: JavaScript: How to reference user control inside content page? Pin
ryanb31, 14-Feb-13 4:33
memberryanb3114-Feb-13 4:33 
AnswerRe: JavaScript: How to reference user control inside content page? Pin
twseitex, 15-Feb-13 1:02
membertwseitex15-Feb-13 1:02 
Questiongetting rid of  &Nbsp's [modified] Pin
BrianCampbellMCAD, 11-Feb-13 4:52
memberBrianCampbellMCAD11-Feb-13 4:52 
AnswerRe: getting rid of  &Nbsp's Pin
BrianCampbellMCAD, 11-Feb-13 9:17
memberBrianCampbellMCAD11-Feb-13 9:17 
QuestionCreate Appointment in yahoo calendar using API Pin
srinivasan.p.t, 29-Jan-13 4:08
membersrinivasan.p.t29-Jan-13 4:08 
AnswerRe: Create Appointment in yahoo calendar using API Pin
ryanb31, 4-Feb-13 9:52
memberryanb314-Feb-13 9:52 
QuestionJava Script is not working in Chrome Pin
Flex_Query, 29-Jan-13 3:17
memberFlex_Query29-Jan-13 3:17 
The code below works fine on IE and FF but not on Google Chrome.
Please can someone help me to find out the mistake?.


Flex Code:
Public function init():void
{
ExternalInterface.addCallback("getCloseConfirmMessage", closeConfirmMessage);
    
ExternalInterface.call("setUpBeforeUnload",FlexGlobals.topLevelApplication.id);
}
Public function closeConfirmMessage():void
{
     //DB Updation code
}

Java Script :
   <script language="javascript" type="text/javascript">
     var fxControl;
     function confirmClose()
     {    
alert("Please click OK to end the session");                                   fxControl.getCloseConfirmMessage();         
     };
     function setUpBeforeUnload( appName )
     {    
          fxControl = document[ appName ] || window[ appName ];         
window.onbeforeunload = confirmClose;
     };

</script>
QuestionRe: Java Script is not working in Chrome Pin
ryanb31, 4-Feb-13 9:52
memberryanb314-Feb-13 9:52 
AnswerRe: Java Script is not working in Chrome Pin
Brisingr Aerowing, 10-Mar-13 11:19
memberBrisingr Aerowing10-Mar-13 11:19 
QuestionPosting a message from diffrent domain Pin
AghaKhan, 28-Jan-13 23:01
memberAghaKhan28-Jan-13 23:01 
GeneralRe: Posting a message from diffrent domain Pin
Prasad Khandekar, 14-Mar-13 0:58
memberPrasad Khandekar14-Mar-13 0:58 
QuestionProject Help Please Pin
jmallen, 25-Jan-13 5:53
memberjmallen25-Jan-13 5:53 
AnswerRe: Project Help Please Pin
sarinya_chalat, 3-Feb-13 17:17
membersarinya_chalat3-Feb-13 17:17 
AnswerMessage Automatically Removed Pin
, 23-Jan-13 2:30
memberMember 822740423-Jan-13 2:30 
Questionproject question Pin
jacklyne, 16-Jan-13 21:04
memberjacklyne16-Jan-13 21:04 
AnswerRe: project question Pin
Richard MacCutchan, 17-Jan-13 0:45
mvpRichard MacCutchan17-Jan-13 0:45 
GeneralRe: project question Pin
AnalogNerd, 17-Jan-13 6:21
memberAnalogNerd17-Jan-13 6:21 
AnswerRe: project question Pin
J4amieC, 17-Jan-13 1:09
memberJ4amieC17-Jan-13 1:09 
QuestionAbout mobile web debugger Pin
tidelgl, 13-Jan-13 20:18
membertidelgl13-Jan-13 20:18 
QuestionRegular Expression Pin
AB7771, 11-Jan-13 5:10
memberAB777111-Jan-13 5:10 
AnswerRe: Regular Expression Pin
vinodkumarnie, 18-Jan-13 22:44
membervinodkumarnie18-Jan-13 22:44 
AnswerRe: Regular Expression Pin
AspDotNetDev, 24-Jan-13 15:09
protectorAspDotNetDev24-Jan-13 15:09 
QuestionHow to put clipboard data into TextBox Pin
Ravindra Bisen, 10-Jan-13 1:02
memberRavindra Bisen10-Jan-13 1:02 
AnswerRe: How to put clipboard data into TextBox Pin
J4amieC, 10-Jan-13 3:39
memberJ4amieC10-Jan-13 3:39 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150427.2 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid