Tagged Questions
0
votes
0answers
14 views
Delete html Row and Delete Column button using Javascript
i am trying to achieve like the pic below.
i don't seem to get the "delete selected column" right and also Delete selected row. instead the are deleting all rows and all columns.
so far i have the ...
0
votes
0answers
10 views
Get information from the browser's network console
I want to access my browser's network console output via JavaScript or maybe another language.
Here is a screenshot of the Firefox network console on Youtube:
I just want to retrieve every URL my ...
2
votes
0answers
43 views
Why is mouseenter event triggered when page below is scrolled?
I noticed mouseenter event triggered when mouse is untouched but the page below the cursor is scrolled.
Check out this fiddle: http://jsfiddle.net/F3EwW/
Steps to reproduce:
Click on a li
Use ...
0
votes
1answer
23 views
Firefox event.clientX not working
I'm working on a d3 and js project.
The beginning of the function looks like:
$(document).ready(function() {
d3.select("#aid").select(".abutton").on("mousemove",function() {
...
2
votes
3answers
62 views
How to know the javascript event source on function scope?
Question
Is it possible to know if the function was fired by a user event or an async event (like callback) without having the original event parameter?
Background
I'm trying to determine the event ...
0
votes
2answers
49 views
JavaScript/AJAX is saying “undefined” when it should show a picture
On my register page, I am trying to set it up so that when somebody enters a username into the username box, it will either show a green check mark if the username doesn't exist, or a red 'X' if the ...
0
votes
0answers
15 views
Event Listeners MSPointer are not firing
I am currently trying to learn javascript and doing the following tutorial (http://www.sitepoint.com/creating-a-simple-windows-8-game-with-javascript-input-and-sound/) however I have run into an issue ...
0
votes
1answer
48 views
Splice() did not work or just delayed
I am displaying rotating images.
var pics= [
"images/img1.jpg",
"images/img2.jpg",
"images/img3.jpg",
];
And would want it to stop onClick.
function StopRotate(interval, imgIndex){
...
0
votes
0answers
28 views
How is jQuery able to normalize currentTarget for IE?
In an event handler in a standard compliant browser, this and e.currentTarget (where e is the parameter of the handler) refer to the element to which the handler is attached, which by the way isn't ...
0
votes
2answers
30 views
document.readyState not working in Firefox and Chrome
In my application, I am calling a method for every 1000ms to check the document readyState. Following is the code which I am using,
var success=setInterval(""CheckState()"",1000);
function ...
1
vote
0answers
28 views
onkeypress doesn't work in IE10 document mode IE8
I have a HTML input that must call a JS function when a key is pressed.
It works fine in Firefox, Chrome, and some versions of IE. It depends of the document mode of IE:
Explorer mode: 10. Document ...
0
votes
2answers
29 views
event.dataTransfer loses its items inside setTimeout function
Can someone please explain why this is happening. This is in the ondrop handler
Why does it loses it's values inside the timer?
var _this = this;
this.event = event;
...
0
votes
0answers
51 views
function not passing into model pop up
I have a model,
i am trying to pass a function as a parameter in the pop up...
but the model function is not taking the parameter...
providing my code below...
i am trying to pass function in this ...
1
vote
3answers
26 views
run javascript function on check change of checkbox inside a div with specific class
I've a check box inside a repeater control. the repeater may have variable number of items.
I need to call a js function whenever a checkbox with id "DFO_MFO" of any list item is checked/unchecked. ...
0
votes
0answers
21 views
A tag getting click instead of touchstart [duplicate]
I am using touchstart event instead of click when available.
But whenever I have a link <a href.. and I press on it on my mobile phone, it takes 300ms to fire. Is there a way to make it work as if ...
0
votes
1answer
27 views
KendoUI Autocomplete - Change event not firing when selecting the same thing twice
KendoUI Autocomplete isn't allowing me to select the same item twice in a row. If I select an item, then select another, it will of course work, but not back-to-back.
By placing ...
-2
votes
1answer
37 views
not working in IE. Working in FF, Chrome [closed]
I am creating website using JSF where I have below.
<h:form prependId="false" enctype="multipart/form-data" id="addBODMeeting">
<h:inputText id="myDateHide" value="#{BODMeeting.myDateHide}" ...
0
votes
1answer
31 views
Ajax onchange disables second ajax call onclick
I have situation where I have the following code:
<input type="text" onchange="javascript:ajax01()">
<a href="javascript:ajax02()">text</a>
Both ajax-functions work perfectly - ...
1
vote
1answer
50 views
Detect date selection on an HTML5 calendar element, but not manually entered date
I need to be able to run a JavaScript function when a user clicks on a date in an HTML5 calendar element. I tried using onchange, but it also fires when the user types in a date:
<input ...
0
votes
1answer
51 views
I want to remove img tag on click of button from javascript
I have added here 2 functions moveoutid() for creating img tag on click of button and it addes image src to img tag to show image on webpage. and moveinid() for removing selected image from img tag.
...
0
votes
1answer
46 views
jQuery enable and disable drag and drop selection
I am trying to use threedubmedia's drag and drop selection capability as shown in the demo here. I have all that code figured out, but what I can't figure out is how to enable and disable the ...
0
votes
0answers
25 views
save button should appear in cnfrmMsgMdl method
I am having several jsp pages....
each jsp page is producing showing models...
for one of the model i am trying to replace ok and cancel button with save, save and continue button...
but its not ...
0
votes
2answers
36 views
Can't prevent clearing of selected option after “onClick” executes
I am currently working on a page that sends data via ajax and uses the response to reset the controls in the form.
When the button's onClick function is called it all works well but the value I ...
1
vote
1answer
32 views
Javascript & “onclickstart”
I've searched a lot for a Javascript event which shows a situation
that a click has been started but not finished yet. For example for
ondrag event there's an ondragstart. I didn't find anything ...
0
votes
0answers
19 views
Ruby on Rails 3.2.13 - Rewriting iView Slider jQuery Obtrusive Code
I want to implement something similar to the Regular with API example where you can click the thumbnails and the slider scrolls to the picture clicked and links to scroll back and forth.
...
-1
votes
1answer
54 views
I have created image tag in javascript.but it is not displaying image on web page
I am calling this function on add button from my PHTML. On click of add button I want to show image of selected fruit in <div>.
function moveoutid()
{
var sda = ...
0
votes
1answer
13 views
Windows8 Store app doesnt support onhashchange
I am trying to make an WIN8 app out of my html5 project.
Unfortunately I have been using hashes and especially the event onhashchange which is not supported by Windows8 apps.
This event is not ...
0
votes
1answer
11 views
Maintaining this context when linking a function to an event
I have a set of functions that are contained within:
var main = {
func1: function() {
...
},
func2: function() {
...
}
}
After the code, I have this line:
...
0
votes
1answer
21 views
is there a way to access serverside ajax responses as temporary files?
In ancient times IE6 under MS windows XP at least let us access to ajax responses as files in the local filesystem under "temp" folder.
Is still there a way to access ajax responses as temporary ...
0
votes
0answers
38 views
printing spring message in alert using js
I am integrating js code with spring...
in the return statement they have given the spring message...
i dont know wat does it mean...
how to print the result in alert and see
what for they are ...