Home
My Faqts
Contributors
About
Help
News: Faqts.com
search
is now functional again. Thank you for your patience.
faqts
:
Computers
:
Programming
:
Languages
:
JavaScript
: Event handling
+ Search
Enter your search terms
Submit search form
Web
faqts.com
Folders
There are no folders in this category
Articles
FAQTS
Share Your Knowledge
Ask a Question
Questions
Recently Asked Questions
How can i convert the Turkish letter(ý,Ý,Ö,ö,Ç,ç,Þ,þ,Ð,ð) into English (i,I,O,o,C,c,S,s,G,g) when I'
Where is there full documentation on javascript 1.5 events
How can I check whether a block element like a div with overflow as auto or scroll has been scrolled?
How can to avoid the confirmation dialog in IE when trying to close the window using javascript
How can to avoid the confirmation dialog in IE when trying to close the window using javascript
Random Questions
how do I prevent people from viewing source?
can i have a form button envoke a ctrl-f with ie
How can I prevent the F5 key from refreshing current page ?
you can capture all the keys !!
Can I define onMouseOvers and onMouseOuts for links or TD's in a CSS and if so, what is the format?
How to capture mouse move events in the document/window?
How can I capture right mouse button events?
How can attach events to arbritrary HTML elements with NN4
How do I attach an event handler with js?
How can I handle JavaScript errors?
How can I suppress JavaScript error messages?
How can I add/combine two event handlers?
Is there a way to prevent the context menu from appearing when the right mouse button is clicked in IE4? I am aware of IE5's capability to do this.
How can I cancel a key press?
How can I capture key presses?
Can I call the onchange handler of a form element?
How can I let a FORM being submitted with the enter key?
How can I prevent a form being submitted when enter is pressed inside a text field?
Why does my key event handling for NN4 not work on Linux?
Can I capture function keys?
(How) Can I convert the key pressed (for instance to upper case)?
Is there an event that fires when all frames in a frameset are completely loaded?
How can I simulate onclick with NN3/4 for a text field/text area?
Can I capture the arrow keys with client side JavaScript?
Why are browser errors like a 404 not caught by window.onerror?
Can I check with client side JavaScript whether a http server is up?
How can I disable text selection (by mouse clicking/dragging)?
How can I capture load events of frames in the frameset document?
How can I associate a key with a certain action?
How can I attach mouseover/mouseout handlers to a DIV or SPAN in NN4?
How can I set an inactivity timer?
Can I keep track of which element has focus?
How can I use the ondragdrop event handler in NN4?
Can I prevent file dropping in a browser window?
onLoad - how do I store each URL in a cookie, then track the number of times it's been loaded
How can I simulate a "submit" button click?
How can I capture Alt-key and Ctrl-key combinations?
Can I capture the CTRL key when a click event occurs?
How can I run a local windows app (exe) by clicking on a link?
How can I capture keypress events of frames to process them in the frameset ?
Is there anything special about event handling in frames?
How do I capture keystroke values into an array?
How do I get the position of the mouse when an "onMouseOver" is activated?
Is it possible to get an email(with information about a visitor- IP etc.) sent every time a HTML page is loaded(Form? in onload?)?
How to apply beforeprint, afterprint event for selective document area printout.
why in nn4 when you try to capture mouseover/outs from multiple layers does it say the second layer has no properties ?
How to handle two event at the same time (Onchange + Onclick)
How do I force a document to print in a differant font and margin size than what is viewed.
How can onMouseOver/ Out trigger a text description to appear elsewhere on page ?
Can I capture the Delete key?
How to overcome key event unreliability for form fields inside tables with NN4?
Is there a window.onmove handler?
Can I find out which events are supported in which element?
How to disable right click in Opera ?
Is there an event handler which is called after a user has copied a file to disk using the File Download Dialog
how to pass selected text (non-form) to a form
Can I run a PDF file on a CD from Acrobat Reader installed on the same CD?
how can I create a pop up consist of hyperlinks on mouse over
In Netscape (4.x) I have a onUnload event handler..not able to set a cookie in this event handler ..can anyone please help with a solution ?? thanks.
How do I get a event when the user presses the Back/Forward key from javascript ?
Also, how do I get an event when the user types in a url in the location window of the browser and presses enter??
How do I get the href property for a linked image?
How can I update a NON-Javascript variable using the OnChange Event?
How can I access a link href through the links name (anchor) ?
How do I prevent dragging of page elements in IE4+?
How can I mask the input in a text field?
How can I let the enter key tab from form field to form field?
How to hide the URL being displayed on the status bar ,location window & title bar?
How to assign onClick handler to select options in NN4?
Can I submit a form using onchange from a radio button?
Can I get onmouseover events for OPTION elements in a SELECT?
How do I implement drag and drop for positioned elements?
How can I distinguish onmouseover/out of child elements from those of the parent element (IE4 /NN6)?
Why does my layer's onmouseover/out fire when the mouse moves over a child element (IE4 /NN6)?
How can i capture the reload/refresh event in Javascript?
When jumping to a link within a page, is there any way a page's "onUnload" function can ascertain the URL of the link that was clicked?
How can I capture onLoad event of Parent window in its Child Window using Javascript
How I can use Arrow key to move to next or previous fields in a form instead of using Tab key
How do I prevent auto submit in NN6?
i have a contextmenu that can be disabled when clicking on the specific frame how do i do the same by clicking on other frames instead
WHAT TOPIC SHOULD I READ UP ON FOR THINGS LIKE document.oncontextmenu,document.body.onmouseup,window.location,parent.location.assign, window.open
If you do document.write("<input type=button>"); how can you then add an onClick handler dynamically? doc.forms[0].elements[0].onclick=f()doesn't work
Why Doesn't My Code For Div Layers "divID.style.visibility = 'visible';" work in Netscape?
How can I set up hotkeys using 'control' keys? eg: CTRL+SHIFT+M
how do I prevent people from viewing source?
How can I perform a find across multiple frames? I've tried capturing 'ctrl-f' but the system gets a hold of it first, before my script.
How do I capture the back button of the browser and disable it?
Problem with onBlur in IE5.5
How can I prevent the F5 key from refreshing current page ?
How to fix NN4 busted events on form elements in a table, so it works like IE?
How do I cancel a key press in NS6, Mozilla and other DOM compatible browsers?
How to detect alt key in netscape 4.8.It can detect shift and ctrl keys.I also bneed to know how to detect arrow keys in netscape
How do I resize a DIV section by a javascript function ?
How to print a web page directly with out having a Printer Dialog ?? like the print button, does in the browser
How can I use eventhandler with a parameter?
Is click() supported in NN6 ?
How can I in an event handler like onclick get the coordinates relative to the element (for instance an img) clicked?
How can i capture the reload/refresh event in Javascript?
Can I define onMouseOvers and onMouseOuts for links or TD's in a CSS and if so, what is the format?
Is there a list of how to detect which key a user presses on the keyboard for ALL keys
is it possible to get an email saying which pages a user visits when he leaves my site
How to prevent focus to location bar when I want the focus to be on the field after validation?
How to disable backspace button
How to trap backspace button event and trap it if the focus is in not inside a text field /text area
Is it possible to capture right mouse click "Add Bookmark" in NN4 to imitate addFavorite in IE5?
Can I trigger a remote 'onClick' event (e.g - click on link 'a' triggers a click on link 'b')?
I need to protect my web page content (text and images) from print a copy. Any ideia?
Are there any ways to modify an event handler dynamically?
How do I disable the "Control+N" event for a new window in IE 5.5?
Using the Browse button in a File field in IE5 does not fire the onChange handler.
Is it possible to detect the use of a mouse scroll wheel with JavaScript??
you can capture all the keys !!
How can I capture the funktion keys (F1,F2....F5) on Netscape!?
How can I know which item I just selected in a multiple-choice selection list?
Is it possible to generate a keypress event in a JS and fire it to write in an input-field?
How can I print without previewing or displaying first? ie. I want to have a "report selection crite
Is there any EVENT in JS to detect that an applet have been closed? I use java-plugin.
With the event "OnClick", can I input into the currently focused or selected cell of an html form?
Can I set the focus in an element from the onChange event of another. In ie5+
Need an event to restrict user typing text in url in address box of a browser
onunload event is not working in netscape. How do I use onunload event in netscape
can i have a form button envoke a ctrl-f with ie
How can I disable links and buttons till the page is loaded?
How can I prevent an html page from being printed by a browser?
How can I prevent an html page from being printed by a browser?
When validating a field with "Onchange=", how can you keep the cursor in this field in NS6?
Is a func "myTime=setTimeout" autocleared by page unload. Or is "clearTimeout(mytime)" necessary?
How to make scrollbars that handle javascript? i.e. when I scroll, scripts run and update web page
How can I find the element clicked on in a document?
How can i add a Table on click of a button.
How can I execute an ASP page WITHOUT opening a window (hidden)?
how can I prevent IE giving address bar focus if TAB is pressed?
I want to script a fireEvent that will do the same thing as pressing Alt-Tab. How?
Is it possible to simulate a KeyPress event?
How can I find the event coordinates relative to the element the event is fired on?
Adding onkeydown event handler to <SELECT> that already has onhange handler prevents onchange event.
Netscape 6.2, document.form.element.focus(), how to with multiple elements?
how do I disable alert messages
How to cancel a keystroke before it is displayed in a text input box in NS6.
Can we call 2 functions at a time?
Can we call 2 functions at a time?
How can we trap F1 key in IE without showing the help window?
Can somebody please tell me how to detect browser close using Netscape; OnUnload doesnt work when th
Onunload event: Is there a way to know the next entered URL of the browser (Get it as a string)?
How do I disable printing on a page?
I selected some text in a text area. how can I know what they are?
How do you cascade events across a number of tags? (ie <td><div>.... where each tag has onClick set)
How can I stop a body ONBLUR="window.close();" affecting onClick="javascript:window.print()
onchange and onsubmit only being called once or not at all (especially related to frames and IE5.0)
How is a form submit different from submit button onClick event?
Is there a way to know when a user has press the (x) button of the browser
Why does form.submit() not fire the OnSubmit event handler referenced within the <FORM> tag?
How do I move a layer where an element was clicked?
How do I prevent event cascading?
How to get the element ID that lost focus through mouse click and give focus back via onClick etc.??
How can I disable the CTRL + C function
How can I capture the window.close() event other then ONUNLOAD?
onUnload event handler doesn't work in Opera7.11, alert() etc. do not trigger! Plz Help, thx
When a page is loaded (onLoad) does this mean the data can be seen on screen?
how to create a wait or progress page
how can i disable refresh button in ie5.5
How can I compute event.offsetX/offsetY which IE provides with Mozilla?
How can i disable/trap f5 when a flash movie has focus?
But how to get 'event.ctrlKey' in Mozilla if I need to pass more parameters like onclickhandl(some i
How do I get the Submit Button to submit when the Enter key is struck in Netscape?
How can I prevent user for double clicking on a link and submitting twice?
Is there an event for the Mac command key?
How can I replace the context menu with my own where links in the menu are context sensitive?
How can I expand acronyms or abbreviations when they are clicked?
How can I ensure that an element containing an iframe is hidden when the mouse leaves the element?
How do I block function keys and other keys across IE, NS, and Mozilla?
Accesskey of Button fires before onblur of textbox
OnBlur/OnChange of textbox is fired after AccessKey button is clicked
Fire Onblur before accessKey event
How can I find the word in the text on the page related to an event (e.g. word clicked on or hovered)?
How can I disable all the function keys and redirect them to my links?
Is it possible that when I click on a link, the table in the current document gets borders?
How to know that which element in form has been changed before sumbitting it.
How can to avoid the confirmation dialog in IE when trying to close the window using javascript
How can to avoid the confirmation dialog in IE when trying to close the window using javascript
How can I check whether a block element like a div with overflow as auto or scroll has been scrolled?
How can javascript 1.5 use window.onerror
Where is there full documentation on javascript 1.5 events
How can i convert the Turkish letter(ý,Ý,Ö,ö,Ç,ç,Þ,þ,Ð,ð) into English (i,I,O,o,C,c,S,s,G,g) when I'
Unanswered Questions
Can I redirect keypress events to another window in the same frameset?
onclick with divs/layers
Can SaveAs be used with the execCommand in a way that avoids the SaveAs dialogue box?
how to assign ondblclick handler for iFrame named "editor" from document containing "editor" .
Why does setTimeout not work in NN 6.0 when called recursively..?? It works fine in IE 5.x
In IE 5 how do I close my popUp menu when clicking outside the menu. The <BODY onBlur> event is not getting control. This works in NN but not IE.
What is solution for unreliability of event handling in OS/2 using Javascript and Netscape NN4.61?
Why does my layer's onclick handling work only away from text in the layer?
Why events are catched by wrong DIV after alert or confirm in Nestcape?
Can NN4.7 use STYLE TAG for capitalization and alignment inside textfield
How is the target event property used to gather info. in Netscape like srcElement is used in IE?
How to get the word under the mouse pointer when the onClick are on a DIV element
How Can I capture the url when a user clicks on an anchor in another frame?
How can I display a jpg file when the mouse button is clicked?
How do you fire an OnClick event in an ActiveX control?
is it possible to send a key event from a frame to another in the same frameset?
How can I set send mail option of the browser when click a button on my page for Internet explorer?
How to I capture a URL of a redirected link after I click on a link in one frame to the other?
Can you use a mouseover trigger to stop a running function that uses IF (or WHILE)
How can I suppress function key actions (F4>moving to the adress bar) automtically activated by IE6?
How can I capture mouse co-ordinates in javascript in Netscape 6 ?
How can I can capture a double click mouse event ?
Using JavaScript, I want to track the no. of times a file has been downloaded from my HTML document?
I want the user to hold Alt+F8 while clicking the link. that's the only way I want the link to work
How do you detect a keyPress of Alt key and Ctrl and redirect to another file? (prevent stealing)
How do you display a layer in netscape, it tells me "Layername" has no properties but my layer is de
How can I detect an event on an ActiveX object - like a calendar (<object classid='CLSID:3C31275E..)
Is there any way to detect a paste event. For example when the user selects EDIT : PASTE?
How can i prevent submitting the form On Keypress event??
how do you create a drop event in javascript ( modify mouseup event ?)
scrollTo function in IE6 problem
onUnload() can't open a local file in NN - open('test.html') upon user closing the browser.
how can i detect whether a person is viewing a page when he is online or offline
Why in IE5.0 my onResize handler is called twice during window resize?
How do I disable alert messages in javascript?
From Client side code, how can I force the Printer to use "Manual Feed" when printing HTML ?
How I can know that a table cell (in NN4) was clicked and which cell it was?
How to display the hidden gif's in a table cell when the mouse drags over it.(draggin in table cell)
How do i make my pointer become a "do not enter" symbol when it mouses over an image?
How do you use a function to call document.fireEvent() for an F11 KeyPress?
How can I detect CTRL+ALT+key pressing in Netscape 6?
Is there a work around for the window.print() problems on Mac?
How do I trap the History.back action in a browser?(IE/NN)
how do it load dynamic textbox ?.
How to enable or disable menuitems in the context menu on clicking Right mouse botton?
linking from page1 to a specific layer on page2. how do i get onClick and onLoad at the same time?
eqwr3432
How do I detect the CTRL, SHIFT, ALT Keypress in NN6
onLoad not being called in a NS4 popup window?
How do I capture reserved events like <CONTROL>b and <CONTROL>i?
How do I capture reserved events like <CONTROL>b and <CONTROL>i?
How can I have a user draw (by dragging mouse) an unfilled rectangle over an image in IE?
How can I catch the event of the refresh button in ie-bar is pressed (in JavaScript)?
OnChange sending all popup values on form, only want the ONE
How do I distinguish a window close event from a link to another document?
Can I use the event window. prompt() in NN4?
With an 'onclick' effect, drop down menu link to MSAccess database to retrieve the options
I need a rollover image button which triggers onClick an image to change elsewhere on the same page
I need a rollover image button which triggers onClick an image to change elsewhere on the same page
How can i capture the keyPress of Enter and Return key separately
How to drag image into another target image in NN4+
From a parent window modal child window is launched but it minimises why??
How reassign window.eventSrcElement on document.body in other iframe?(IE)
How to detect that the Enter key has been pressed and transfer the focus to another component?
Can somebody explain how JS is used to CONFIRM whether user wants window closed despite the odds.
I'm using 'onkeyDown' to capture the 'event.keycode'.The value I need as charCodeAt of event?
Double clicking a text-input field and selecting a prior entry does not trigger an onchange event?
How to use left and right arrow keys at extrem left and extrem right of an input field to navigate
How do I prevent the Ctrl-R keys refreshing the page in IE?
How do i detect if the browser window has been selected by alt+tab? and How to set focus on a plugin
How do i detect if the browser window has been selected by alt+tab? and How to set focus on a plugin
Re: Capture Delete & Arrow keys, how do you tell if kc=46 is delete or period?
I want to grab and abort the left/rigth Alt-PrtScr How? The key event samples does not show this.
How do I use the change event for two active x combo that have the same name.
What is the NN equivalent of the onbeforeunload event in IE?
Mouse event works in ie6 but not in ns7.
How do I catch the url, the user wants to navigate to, using e.g., onunload?
How Do I Simulate "onClick" in Netscape 4.5 <A onClick=foo()>Link</a>
How can I disable the CTRL + C function
How can I disable the CTRL + C function
when dragging an element, how to stop text selection but allow scrollbars to scroll [onselectstart]
How can I capture & prevent the user performing a rerfesh?
How can I capture & prevent the user refreshig the document?
How can I get the onkeydown event of a flash movie inside IE5 or IE6
How can I get the onkeydown event of a flash movie inside IE5 or IE6
how can I get the keydown event of a flash plugin?
How can I get the onkeydown event of an embedded flash movie?
How can I assign Ctrl+N key combination to an embedded flash movie?
get the keypress and keycode from iframe when editmode=on
How to diable the Print Screen Button in the KeyBoard using Javascript
Is there a way to force the order that documents in frames are refreshed when a user hits F5 (IE) ?
How do I handle mouse clicks in child window?
Is it possible to cancel a text box onchange when clicking a button?
How do I go to the href attribute of an A tag AND close the window I'm in?
How can I get onmousemove to capture coordinates over an image? It works fine over text.
I currently have a button in Brio that transfers a table to excel. How do i create a chart?
How to prevent unloading if the unload is a result of refresh?
onChange doesn't fire in NN6 for formelement type="file"
command key
how to close browser with confirmation and to open new window if ok clicked or remain in the same if
How can I disable the "Back" and "Forward" buttons on Microsoft's "IntelliMouse" ?
How can I disable the "Back" and "Forward" buttons on Microsoft's "IntelliMouse" ?
How to supress the Alt +Home key combination press in IE ?
How can I create a preview of a hyperlink in another frame on mouseover?
How can I trigger the "Save Target As..." when left clicking on a link?
How can I disable the View-Text Size - I don't want the text size on my webpage to be changed
is it possible to hide some text fields on form load and made visible during user request
How can I pass an inputbox value in a jsp file to another inputbox in another jsp file
How do I open a sized popup from another sized popup? (onClick doesn't seem to work twice)
how can i prevent to click refresh button of toolbar
How to know that which element in form has been changed before sumbitting it.
document.onkeypress reports events in IE6 for Ctrl-v but not Ctrl-c ?
how to avoid or suppress activex control alert in IE when trying to download an activex
How do I filter a listbox from a textbox?
How can i list related values in drop down as the user type the key
How can I Simulate the "SAVE TARGET AS" without right click ?
How can I make a remote control script that works with keyboard events(actions)?
Attach an event to all links on the page ?
Onchange alert of txt field and onclick alert of button fires together in firefox and not in IE
how to invoke a javascript function without any event or access the value of confirm for accessing
check if files still uploading (motion sensor webcam triggers) if not scroll thru server images
I would like to know how I can remove the page header & footer when printing a web page?
can I change the question mark image in a confirm object?
I need to change the background image of a table cell each time a page loads.
i want to include window.onload and onmouse over on the same page . any examples how to do it
How do I detect the return value from the file open dialog, when I click on the link.
How do I program a DOWNLOAD Button to download a PDF file without IE's activeX warning?
How do I program a DOWNLOAD Button to download a PDF file without IE's activeX warning?
I would like to change target of an event or redirect it to another object.
How to trap F5 key in flash which is embeded in html.....?
How can i Capture the values to another function onMouseover event
How to copy text from one textbox to another on key up
how can i fire onclick event on any anchor tag in page when i click on any Button using js?
how to call 2 functions onload (not in body tag)
How to refresh the parent window on close of the child window?
When my mouse point to textbox and press pre-defined keycode(F1~F9).How i pass/show value to textbox
Advancing Text Field Focus with the Period Key, IE v.s Firefox
Advancing Text Field Focus with the Period key besides TAB. IE vs firefox
How can i move an open window to the new mouse loaction on the user desktop on user mouse click
How can we block "Right click-refresh" option on a web-page?
Can we control MULTIPLE KEYBOARD EVENTS like, Ctrl N, Ctrl R, etc. on the same page?
I'm using an ONCLICK to change style visibility - how do I get styles globally with wildcards?
how can I move the focus to the next TextField when the previous textField has its max chars
If we perform an event on one machine, how to fire the same event on the remote machine synchronous
Any help regarding Co Browsing ?
how can I avoid event cascading when validating multiple fields using onBlur event
how to fire click and setfocus events at the same time on textbox?
how can i call F11 event on the main browser in Mozilla while loading the page?