How can I (or what tools are available) for drawing a line between two or more elements to connect them? Any combination of HTML/CSS/JavaScript/SVG/Canvas is fine.  If your answer supports any of these, then do mention it:   draggable elements drag...
How do I connect to mongodb with node.js?  I have the node-mongodb-native driver.  There's apparently 0 documentation.  Is it something like this?  var mongo = require('mongodb/lib/mongodb');  var Db= new mongo.Db( dbname, new mongo.Serve...
I'm using a PhoneGap project on XCode. I am trying to connect to a SQLite databse by using Javascript.   I have made a file "myDatabase.sqlite" in an SQLite tool. Now my question is how do I open that database in my code? Right now I'...
I would like to serve queries from a javascript code by python. But I am not experienced in this field at all. What I would like to build is something like this:     1. request.js:   open_connection('server.py'); for (var i=0; i<10; i++)...
I'm using AJAX to update some values in a database.  All has worked wonderfully with that, but now I would like to implement some logging stuff.  The logging functions look like they are going to take a fair amount of processing time, and theirs...
I have tried following this guide on Cordova docs, but it doesn't seem to work.  Here is my code:  I have added <plugin name="NetworkStatus" value="CDVConnection" /> to config.xml.  and this script to my index.html:      <...
I created a socket server using websocket module with this configuration taken from this example (with some changes):      var WebSocketServer = require('websocket').server; var http = require('http');  var server = http.createServer(...
Althought this question was asked more than one year ago, it's still relevant for me. I'm also trying to provide more information to make this not just a duplicate. As stated in the original question - if you connect to a MongoDB database wit...
Is there a general way to implement part of an application with JavaScript and supplying a persistent connection to a server? I need the server to be able to push data to the client, regardless of the client being behind a firewall. Thanks in advance...
I am developing a site in which I have used LinkedIn JavaScript API for creating account and add LinkedIn Connections as Friends.  I have got all the connections from the LinkedIn on my page, but how can I add them as friends with each other.  I am s...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.