Tagged Questions
JavaScript (not to be confused with Java) is a dynamic, weakly-typed language used for client-side as well as server-side scripting. Use this tag for questions regarding ECMAScript and its various dialects/implementations (excluding ActionScript and Google-Apps-Script). Unless another tag for a ...
0
votes
0answers
10 views
How to Animate an Image Into a Circular Div
I had done this Till nOw https://jsfiddle.net/XqqtN/6146
var left = $('#coolDiv').offset().left;
$("#coolDiv").css({left:left}).animate({"left":"0px"}, "slow");
Now I want to make it such that
...
0
votes
0answers
10 views
Switch cases with onmouseover and onmouseout events
I've been trying to get a switch to work with both onmouseover and onmouseout, but i don't know how to bind it to the events. Thanks in advance for your help
<script>
function img(img){
switch(...
-1
votes
0answers
5 views
'&' is not allowing in tinymce text editor
[1]: https://i.stack.imgur.com/t0aTJ.png here is the attachement of screen
I am going to insert some characters like '&'inside tinymce text ediotor. but im getting error like this [enter image ...
0
votes
0answers
9 views
Email Password script error
My email password script is showing error: Notice: Undefined variable: _Post in C:\xampp\htdocs\DreamWeaver\EMPWScript.php on line 3
Fail - Please try again!
I define the variable, what is wrong?
&...
0
votes
0answers
4 views
Vue scope fresh
I just use vue.js with jquery. My situation is, I tried to inject sidebar html code (with vue syntax inside) to main.html with jquery. However, after I injected sidebar.html to main.html, vue.js could ...
0
votes
0answers
7 views
Javascript - Determine browser from drop event data
I am trying to implement cross browser drag and drop, and wanted to know if there is a way to determine the browser type from the drop event data transfer data.
Specifically, I am trying to determine ...
0
votes
0answers
7 views
Why MongoDB store the timestamp with -1hour than the actual hour on my computer
I have a collection who contains info about containers and specially the timestamp of when I have read the info (for each elements in the collection). The only problem is that the timestamp is ...
0
votes
1answer
12 views
what does 1x 3x etc mean in karma code coverage report in Angular2 Unit testing?
I am new to Unit Testing in Angular2. I got the karma setup with code coverage along with angular-cli . I have run the command ng-test and opened code coverage report. I saw 1x ,3x etc along with my ...
0
votes
0answers
8 views
Usercontrol not take ScriptManager of Masterpage
I have one Master Page , five Asp.net Page and one Usercontrol. i have scriptmanager on Master page. i have one Condition when click on asp page button usercontrol load , but scriptmanager not get in ...
1
vote
0answers
5 views
Jquery: Adding snap point into draggable object
What I want is to add custom points on the dragee object. The default will only snap the border of the dragee object. What I want is to add a custom point in the middle of the object to snap.
For ...
0
votes
0answers
6 views
how to pass parameter from underscore.js page to backbone.js navigate for url changes
I want to pass two parameter called "data-idVendor", "data-idService" which is in search.html file.I want to send those parameter value to my Backbone navigate for URL changes.How to pass those ...
0
votes
0answers
6 views
How should I mention the phantomjs path in gruntfile.js?
The JSON formatted key, 'phantomjs.binary.path' is not supported in Grunt
grunt.initConfig ({
protractor: {
options: {
configFile: './protractor-conf.js',
keepAlive: true,
noColor: ...
0
votes
1answer
15 views
res.render() into a div with express
I am using nodejs with express and I'm trying to load an ejs into a div like this:
app.js (server side)
//SHOW
app.get("/courses/:id", function(req,res){
console.log("requested");
res.render(...
0
votes
2answers
13 views
how to call mulitple functions onclick with return types javascript
HTML
<html:submit property="submit" value="GetDetails"
onclick="return checkYear();return getStudentDetails();" />
checkYear() checks if academic year is valid
and getStudentDetails() ...
0
votes
4answers
55 views
How to Increment a number in JS or jQuery?
I need to increment a few different numbers in the same HTML ID every 24 hours.
So if one number is at 1 and the other is at 20 regardless of what the number it is must be incremented by 1.
As you ...