Click here to Skip to main content
15,888,527 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: DropDown onchange event is not working in IE Pin
Dholakiya Ankit10-Sep-13 19:23
Dholakiya Ankit10-Sep-13 19:23 
GeneralRe: DropDown onchange event is not working in IE Pin
Nandan Basak29-Dec-13 17:35
Nandan Basak29-Dec-13 17:35 
QuestionWindow.close overriding in java script Pin
Tahir Tamboli12-Aug-13 23:19
Tahir Tamboli12-Aug-13 23:19 
AnswerRe: Window.close overriding in java script Pin
Joezer BH12-Aug-13 23:41
professionalJoezer BH12-Aug-13 23:41 
GeneralRe: Window.close overriding in java script Pin
Tahir Tamboli13-Aug-13 0:18
Tahir Tamboli13-Aug-13 0:18 
GeneralRe: Window.close overriding in java script Pin
Joezer BH13-Aug-13 0:49
professionalJoezer BH13-Aug-13 0:49 
GeneralRe: Window.close overriding in java script Pin
Tahir Tamboli13-Aug-13 19:20
Tahir Tamboli13-Aug-13 19:20 
GeneralRe: Window.close overriding in java script Pin
twseitex18-Aug-13 3:22
twseitex18-Aug-13 3:22 
Only one way

function close is a pre-defined property of window object.
Please use event bubbling of close() and window. Insert a new funktion that recives this event what you want (event handler).
Prototyping of a function ... try it.

events of window (IE)

Event Description
onactivate Fires when the object is set as the active element.
onafterprint Fires on the object immediately after its associated document prints or previews for printing.
onbeforedeactivate Fires immediately before the activeElement is changed from the current object to another object in the parent document.
onbeforeprint Fires on the object before its associated document prints or previews for printing.
onbeforeunload Fires prior to a page being unloaded.
onblur Fires when the object loses the input focus.
oncontrolselect Fires when the user is about to make a control selection of the object.
ondeactivate Fires when the activeElement is changed from the current object to another object in the parent document.
onerror Fires when an error occurs during object loading.
onfocus Fires when the object receives focus.
onhelp Fires when the user presses the F1 key while the browser is the active window.
onload Fires immediately after the browser loads the object.
onmove Fires when the object moves.
onmoveend Fires when the object stops moving.
onmovestart Fires when the object starts to move.
onresize Fires when the size of the object is about to change.
onresizeend Fires when the user finishes changing the dimensions of the object in a control selection.
onresizestart Fires when the user begins to change the dimensions of the object in a control selection.
onscroll Fires when the user repositions the scroll box in the scroll bar on the object.
onunload Fires immediately before the object is unloaded.

methods of window (IE)

Method Description
alert Displays a dialog box containing an application-defined message.
attachEvent Binds the specified function to an event, so that the function gets called whenever the event fires on the object.
blur Causes the element to lose focus and fires the onblur event.
clearInterval Cancels the interval previously started using the setInterval method.
clearTimeout Cancels a time-out that was set with the setTimeout method.
close Closes the current browser window or HTML Application (HTA).
confirm Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.
createPopup Creates a popup window.
detachEvent Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires.
execScript Executes the specified script in the provided language.
focus Causes the element to receive the focus and executes the code specified by the onfocus event.
moveBy Moves the screen position of the window by the specified x and y offset values.
moveTo Moves the screen position of the upper-left corner of the window to the specified x and y position.
navigate Loads the specified URL to the current window.
open Opens a new window and loads the document specified by a given URL.
print Prints the document associated with the window.
prompt Displays a dialog box that prompts the user with a message and an input field.
resizeBy Changes the current size of the window by the specified x- and y-offset.
resizeTo Sets the size of the window to the specified width and height values.
scroll Causes the window to scroll to the specified x- and y-offset at the upper-left corner of the window.
scrollBy Causes the window to scroll relative to the current scrolled position by the specified x- and y-pixel offset.
scrollTo Scrolls the window to the specified x- and y-offset.
setActive Sets the object as active without setting focus to the object.
setInterval Evaluates an expression each time a specified number of milliseconds has elapsed.
setTimeout Evaluates an expression after a specified number of milliseconds has elapsed.
showHelp Displays a Help file. This method can be used with Microsoft HTML Help.
showModalDialog Creates a modal dialog box that displays the specified HTML document.
showModelessDialog Creates a modeless dialog box that displays the specified HTML document.
GeneralRe: Window.close overriding in java script Pin
Tahir Tamboli20-Aug-13 3:37
Tahir Tamboli20-Aug-13 3:37 
GeneralRe: Window.close overriding in java script Pin
Tahir Tamboli20-Aug-13 3:46
Tahir Tamboli20-Aug-13 3:46 
Questionlazy load not working Pin
*Najla* 20108-Aug-13 8:57
*Najla* 20108-Aug-13 8:57 
AnswerRe: lazy load not working Pin
sjyanxin12-Aug-13 23:20
sjyanxin12-Aug-13 23:20 
GeneralRe: lazy load not working Pin
*Najla* 201013-Aug-13 0:38
*Najla* 201013-Aug-13 0:38 
GeneralRe: lazy load not working Pin
Dholakiya Ankit18-Sep-13 2:11
Dholakiya Ankit18-Sep-13 2:11 
Questionviop in java Pin
Member 98777295-Aug-13 9:03
Member 98777295-Aug-13 9:03 
AnswerRe: viop in java Pin
Richard MacCutchan5-Aug-13 20:54
mveRichard MacCutchan5-Aug-13 20:54 
GeneralRe: viop in java Pin
Member 98777297-Aug-13 5:31
Member 98777297-Aug-13 5:31 
Questionjquery accordition page jumps after completion of accordition Pin
pandu web dev3-Aug-13 1:03
pandu web dev3-Aug-13 1:03 
AnswerRe: jquery accordition page jumps after completion of accordition Pin
Ashutosh Mahto5-Aug-13 19:36
professionalAshutosh Mahto5-Aug-13 19:36 
GeneralRe: jquery accordition page jumps after completion of accordition Pin
pandu web dev5-Aug-13 20:39
pandu web dev5-Aug-13 20:39 
AnswerRe: jquery accordition page jumps after completion of accordition Pin
Dholakiya Ankit18-Sep-13 2:13
Dholakiya Ankit18-Sep-13 2:13 
QuestionNeed help creating an array for checked checkboxes in order checked Pin
jlistunner2-Aug-13 11:23
jlistunner2-Aug-13 11:23 
QuestionHow to get rid of "X" button of dialog box in dojo. Pin
Mehwish Wajiuddin30-Jul-13 20:29
Mehwish Wajiuddin30-Jul-13 20:29 
Questionhow to select numbers that is not between single/double cuotes with regular expression Pin
mohammadkaab30-Jul-13 3:03
mohammadkaab30-Jul-13 3:03 
AnswerRe: how to select numbers that is not between single/double cuotes with regular expression Pin
twseitex30-Jul-13 7:14
twseitex30-Jul-13 7:14 

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.