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

JavaScript

 
SuggestionRe: JavaScript: How to reference user control inside content page? Pin
Blikkies13-Feb-13 2:14
professionalBlikkies13-Feb-13 2:14 
AnswerRe: JavaScript: How to reference user control inside content page? Pin
ZurdoDev14-Feb-13 3:33
professionalZurdoDev14-Feb-13 3:33 
AnswerRe: JavaScript: How to reference user control inside content page? Pin
twseitex15-Feb-13 0:02
twseitex15-Feb-13 0:02 
Questiongetting rid of  &Nbsp's Pin
BennyCriziko11-Feb-13 3:52
BennyCriziko11-Feb-13 3:52 
AnswerRe: getting rid of  &Nbsp's Pin
BennyCriziko11-Feb-13 8:17
BennyCriziko11-Feb-13 8:17 
QuestionCreate Appointment in yahoo calendar using API Pin
srinivasan.p.t29-Jan-13 3:08
srinivasan.p.t29-Jan-13 3:08 
AnswerRe: Create Appointment in yahoo calendar using API Pin
ZurdoDev4-Feb-13 8:52
professionalZurdoDev4-Feb-13 8:52 
QuestionJava Script is not working in Chrome Pin
Flex_Query29-Jan-13 2:17
Flex_Query29-Jan-13 2: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
ZurdoDev4-Feb-13 8:52
professionalZurdoDev4-Feb-13 8:52 
AnswerRe: Java Script is not working in Chrome Pin
Brisingr Aerowing10-Mar-13 10:19
professionalBrisingr Aerowing10-Mar-13 10:19 
QuestionPosting a message from diffrent domain Pin
AghaKhan28-Jan-13 22:01
AghaKhan28-Jan-13 22:01 
GeneralRe: Posting a message from diffrent domain Pin
Prasad Khandekar13-Mar-13 23:58
professionalPrasad Khandekar13-Mar-13 23:58 
QuestionProject Help Please Pin
jmallen25-Jan-13 4:53
jmallen25-Jan-13 4:53 
AnswerRe: Project Help Please Pin
sarinya_chalat3-Feb-13 16:17
sarinya_chalat3-Feb-13 16:17 
Questionproject question Pin
jacklyne16-Jan-13 20:04
jacklyne16-Jan-13 20:04 
AnswerRe: project question Pin
Richard MacCutchan16-Jan-13 23:45
mveRichard MacCutchan16-Jan-13 23:45 
GeneralRe: project question Pin
AnalogNerd17-Jan-13 5:21
AnalogNerd17-Jan-13 5:21 
AnswerRe: project question Pin
J4amieC17-Jan-13 0:09
J4amieC17-Jan-13 0:09 
QuestionAbout mobile web debugger Pin
tidelgl13-Jan-13 19:18
tidelgl13-Jan-13 19:18 
QuestionRegular Expression Pin
AB777111-Jan-13 4:10
AB777111-Jan-13 4:10 
AnswerRe: Regular Expression Pin
vinodkumarnie18-Jan-13 21:44
vinodkumarnie18-Jan-13 21:44 
AnswerRe: Regular Expression Pin
AspDotNetDev24-Jan-13 14:09
protectorAspDotNetDev24-Jan-13 14:09 
QuestionHow to put clipboard data into TextBox Pin
Ravindra Bisen10-Jan-13 0:02
Ravindra Bisen10-Jan-13 0:02 
AnswerRe: How to put clipboard data into TextBox Pin
J4amieC10-Jan-13 2:39
J4amieC10-Jan-13 2:39 
AnswerRe: How to put clipboard data into TextBox Pin
Ravindra Bisen14-Jan-13 21:50
Ravindra Bisen14-Jan-13 21:50 

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.