2
votes
4answers
383 views

Javascript: Nested Callbacks/MySQL Results

I am sure this is a basic question, but I have been searching google for awhile and can't find a satisfactory answer.. I am used to programming MySQL select queries in PHP and simply grabbing a ...
0
votes
3answers
166 views

How can I create an external javascript code for users like the Google Analytics JS Code?

I'm starting a project where I need to create an external javascript code for users to input into their website (like they do with the Google Analytics Snippet). I know a little bit of javascript by ...
0
votes
2answers
69 views

editing(automate change) of a js file on server

I was wondering if it is possible to use a server-side scripting language, php preferable, to automate the change of a value, in this case a number. JS FILE (sample): var whatIsShowingNow = 2; ...
2
votes
1answer
1k views

nodejs + jsdom, jQuery strange behavior

The code below is just a small snippet from my server.js file just to run the test provided by the jsdom documentation. var window = jsdom.jsdom().createWindow(); jsdom.jQueryify(window, ...
1
vote
1answer
272 views

python equivalents to Meteorserver or Derbyjs or Angularjs?

are there any python frameworks that is akin to meteorserver, derbyjs, angularjs? basically something like pyjs but with support for UI data binding witnessed in knockoutjs, and angularjs with a ...
1
vote
1answer
553 views

What is causing the creation of a transient script document?

I am using an application that uses javascript based client side and server side code. I can debug the client side code successfully using a "debugger" statement. Code is viewed in Visual Studio ...
0
votes
1answer
67 views

which errors must be handled in nodejs?

Irrespective of any business logic, what errors must be handled in node server. ? What are potential errors/exceptions ? I have tried to take care of following things- uncaughtException socket ...
0
votes
1answer
216 views

JavaScript: document.write() not working in Mac Terminal

I'm trying to include some libraries in from some server scripts that I'm running from the Mac Terminal (command line). This will not be run in a browser - I'm using Parse Cloud Code for my iOS app's ...
0
votes
1answer
96 views

Not able to read value entered in the form

I am new to java-script. I am hacking one application wherein I need to get the values from the form and do processing on it : icode=document.forms[0].intcode; ...
0
votes
1answer
324 views

Is v8cgi via FastCGI possible in IIS7 and how?

Is it possible to run server-side JS in IIS7 using v8cgi via FastCGI? I already have FastCGI setup in IIS7 and know how to setup up PHP via FastCGI for IIS7 like this ...
1
vote
0answers
267 views

Rails: Execute Javascript (for tracking purposes with Google Analytics) on the server/back-end side ? (whithout a browser)

Ok, I have been struggling with this a lot... and I have done tons of research and found nothing on google. Usually to perform the standard google analytics you just dump a little js in the header of ...
0
votes
0answers
20 views

Simple TCP Server

Context:- I am trying to create simple TCP Server in Node.js Problem Statement:- I am getting an error Unexpected Token '{' given below Attach Code:- var net = require('net'); var server = ...
0
votes
0answers
53 views

run websocket-rails javascript client in node.js

I'm trying to retrieve data from a websocket using my own web server. The websocket server on the remote host runs websocket-rails. From the Websocket-rails github project page ...
0
votes
0answers
21 views

renaming a file with Server Side Actionscript on Linux

I'm trying to use this function of Adobe Media Server's Server Side Actionscript to rename a file. On Windows I can do renameTo("/relative/path/object.ext") and it'll work fine. However, when running ...
0
votes
0answers
219 views

Rendering a single page application with data from the POST request to the server, in NodeJS/Express

I have a single page application which is pretty simple and basically starts out as a blank page. This app is designated to be a Facebook app - running in the Facebook Canvas. Facebook loads my app ...
0
votes
0answers
209 views

Java EE Web App that uses server side jQuery?

I have a Java EE web application and I want to use server side jQuery to process some HTML. Here's the process - User installs a chrome extension that I wrote User visits a web page on their browser ...
0
votes
0answers
270 views

Edit an existing xml file on the server using jscript

I am trying to edit an existing xml file on the server but I can't save my changes back? Is it possible? I don't have to save it on server. No problem saving it locally [Client-side], if it's easier. ...
0
votes
0answers
344 views

How can I execute Javascript on the serverside?

I'm developing a widget to access a client API. In order to move quickly, I created a javascript based data generator and simply included the test script in my widget. Well my API isn't ready and I ...