Tagged Questions
0
votes
0answers
30 views
DOM event clearing text values
I'm writing a JS code to calculate a final grade given some individual grades and output the result in the html page but when I trigger the event and function it outputs a wrong answer for a split ...
-1
votes
2answers
18 views
Get the value of a registry key within wow6432node using a batch script?
I have a batch script below (which i was able to derive from Open a file in Visual Studio at a specific line number and How can I get the value of a registry key using a batch script? -Thanks 2 u guys ...
2
votes
1answer
15 views
How to stop an empty iframe triggering a load event on injection?
I'm using an empty frameto handle pseudo-asynchronous form submission. For those that aren't familiar with the technique, the idea is to reference the frame's name attribute in the form's target ...
0
votes
2answers
12 views
jquery function(event) event.target.id is blank when clicking linked text
First, I apologize for the title I wasn't sure how else to describe my problem.
I have a side menu that when clicked slides out to reveal a content panel. Based on the menu item clicked I obviously ...
1
vote
1answer
21 views
How to trigger contenteditable mousedown event?
I have a somewhat odd setup wherein a table cell is made contenteditable=true with a div placed over it to add some border effects without changing the dimensions of any of the cells in the table. ...
2
votes
7answers
51 views
how to toggle (hide/show) a table onClick of <a> tag in java script
I want to show and hide (toggle) the <table> onClick event of the <a>.
this is my <a> tag
<a id="loginLink" onclick="toggleTable(true);" href="#">Login</a>
here is my ...
1
vote
2answers
51 views
class event fires only one
table of Data with is link
<strong>1</strong> <a href ='index.cgi?reqpage=2&job_category_id=1' class='paginateAdmin' id='nonItPaginate'>nextPage</a>
...
0
votes
1answer
45 views
Passing an array to a drop down box with JavaScript and Codigniter
A $location variable is defined using sessions with Codeigniter, it can be 'Austin', 'Houston'...etc. Each location offers different tours. Since the $location variable is already defined all I need ...
0
votes
2answers
24 views
How to efficiently register a DOM event with a specific JavaScript object instance
In my web application I have a custom object which I've defined with an object function constructor and applied various shared properties through the constructors prototype.
MyObject = function ...
2
votes
4answers
32 views
Button element not firing click event when clicking on button text and releasing off it (but still inside the button)?
On WebKit browsers (I tested on Chrome and Safari on Mac), button element behaves weird:
Wen in this fiddle http://jsfiddle.net/5ReUn/3/ you do the following:
Press left mouse button while the ...
0
votes
0answers
39 views
DOJO: Connect to event on window.opener
I have a page that opens a popup window (a new browser window i.e. window.open - not a dijit popup). Within an object created inside this new popup window, I want to connect to an event fired by an ...
1
vote
3answers
19 views
What exactly is the output of window.print()?
(Obviously if I had a printer handy I would test this and find out!)
I am wondering what exactly the javascript function window.print() will print when used on a page where content has been edited ...
1
vote
2answers
26 views
Trigger (dispatchEvent) the 'onerror' with javascript?
In my code I did: element.onerror = my_function;
I am wondering how to forcefully trigger this event so I can test it?
Can someone show me how to use the dispatchEvent flow to do this?
0
votes
1answer
14 views
Javascript keydown events only firing for maximum of two keys
I have a system in place for capturing and registering arrow key input. It works up until a point. It correctly registers if a number of keys are pressed at the same time as long as two or less are ...
0
votes
0answers
15 views
Weird Flicker when clicking on radio buttons and fading Images
I get a really weird flicker on my image when you click on the radio buttons on this order
accessories on
panel on
accessories off
heres the js
var oneOn = ...