Tagged Questions
0
votes
0answers
29 views
Socket.io - Not Firing the Disconnect on Server-Side
What I basically need is that I want to fire the disconnect function
when someone exits the room, so that I can broadcast that N has left
the room. But sadly, it doesn't fire. What am I doing wrong ...
0
votes
2answers
35 views
Can I use javascript to build a simple order form?
I need to make a really simple order form
http://codeandjoke.com/dev/quizzyrascal/create-your-quiz.html
There are just 4 inputs. A value is passed to a pay now button which takes you to paypal.
...
0
votes
1answer
26 views
Imitate opening a page in a browser so that ajax can run on a server when scheduled as a cron job
I have scheduled a cron job that runs and its supposed to execute some ajax call but it does not. The page it renders is similar to the one below. i cant execute each script one by one and wait for ...
0
votes
1answer
21 views
client server timer , that displayed in client side (js) and can't be cheated
i have client side game in js that have stage which count down the time in minutes
now i save few steps of the game in server side also .
but i know that sometimes that browser is slow and less ...
1
vote
1answer
62 views
Bootstrap carousel image resize server side
I need a solution that enables responsive design image resizes also the images from the server!
So for example when the user sits on a mobile, it can take quite some time to upload an original image ...
0
votes
1answer
60 views
Convert arrayList to javascript array
I am sending an arrayList from a java file to a .jsp file
In order to receive that array I used the following code
var words =
[
<c:forEach begin="0" ...
0
votes
1answer
44 views
Javascript: Getting the contents of a local server-side file
I have a file on my web server (test.txt) and I need to get the contents of it, then assign it to a variable for further manipulation and eventual output to the page, and this should happen every ...
0
votes
0answers
59 views
How can I read the URL entered in a browser's address bar?
My Java application used in blocking certain websites, when the application is running the websites that mentioned in it must be blocked. So, when anyone trying to reach a certain website from any ...
0
votes
1answer
74 views
Render CSS3 animation as a sequence of image files with PhantomJS
I didn't work with PhantomJS before, but want to use it to render some custom-made CSS3 animated sequences to sets of PNG files on server side to join them into a single video file next. Seems like ...
0
votes
1answer
92 views
Creating a single page web app as part of a website
I am working on a project which allows users to monitor energy consumption. The main dashboard page is a web app which is pretty neat and makes extensive use of javascript and ajax. The server ...
-2
votes
2answers
72 views
How to make a server side slideshow
I am trying to find the best way to go about making a server-side slide-show, where the program will get pictures from a folder called /inviteuploads, and display the contents of that folder in the ...
-1
votes
0answers
78 views
What to use as a backend for a client-side web application (AngularJS) [closed]
So I am building this web application that is going to live completely on the client-side of technology (HTML, CSS, JavaScript with AngularJS). This is going to be a REST API that it is going to ...
0
votes
2answers
37 views
Processing js server side
I need to know how is the best way to solve the problem below:
I have an online editor, where the user write a js code to solve some problem, like a challenge. So, I need to get this code, and ...
0
votes
1answer
139 views
Ajax request for server side data for each page in Datatables
I am using Jquery Datatables to load an array of array of data (aaData) obtained via ajax call from server side. I don't want to pull whole of the data at once rather I need to make ajax request for ...
0
votes
0answers
83 views
jquery datatable inline edit not working on mouse click
I am using jQuery inline editing to edit a datatable, and all default edits only actually update the datatabase once Enter button is pressed. However, I want the fields to update once the mouse is ...
1
vote
1answer
56 views
node.js: program either exits unexpectedly or just hangs
I wrote a module in node.js that performs some network operation. I wrote a small script that uses this module (the variable check below). It looks like this:
check(obj, function (err, results) {
...
5
votes
2answers
103 views
server side browser
I was wondering if it is possible to run a browser (specifically a browser engine) on the server side. I do not just mean to render a page but to keep a browser open for some time, run some JS, do ...
0
votes
1answer
117 views
Performance Difference between processing in back end vs phantomjs/nodejs
I'm currently developing a server side application presenting graphs, stats, reports and so on.
The application is using Highchart library (chart generating library) from Highsoft (Awesome tool!) ...
0
votes
2answers
95 views
Basic idea behind node.js implementation?
Here's my current theory as to how node.js will work:
I install node.js on my server so that it can interpret javascript files.
I then I write my javascript files and put them on my server (just as ...
-1
votes
3answers
117 views
Add reusable navigation menu to HTML pages [closed]
Currently, my website uses static hand-written HTML pages. I add navigation menu to all the pages manually.
I want to be able to maintain a single user resource file that contains the HTML code for ...
0
votes
1answer
46 views
Best practice in arranging JS code within dynamic websites
I have the following concern in managing our own written JS code (not js libraries like jquery):
Is it better to relate javascript to html only or to relate it to server side code? means is it better ...
0
votes
4answers
169 views
Server-side validation, client-side notification?
When a user fills a login form with an username and a password I use php to do a server-side validation of the data inputted by comparing it with the one in the "users" table in the SQL database. I'd ...
1
vote
2answers
479 views
How to get value of server-side html checkboxes in client-side?
Let's say I got some server-side HTML elements on a page as follow:
<div id="cblDomain" runat="server">
<input runat="server" id="cblDomain_com" value="10" onchange="subsumDomain()" ...
1
vote
0answers
99 views
Fire Jscript and C# code on one click
I'm developing a website using ASP.NET. I have a problem with executing client and server code altogether.
Inside Default.aspx file, I have a form with controls(checkboxes/drop down lists etc) and a ...
2
votes
1answer
104 views
Save Javascript-Generated HTML to the Server
I'm working on an e-commerce website using Power Reviews to manage product reviews. That service uses javascript to display the reviews on our webpages, which means the content is unlikely to be ...
3
votes
0answers
151 views
Is server-side Javascript ready for the mainstream? [closed]
I expect within a few years that the server side programming landscape will look very different and Javascript will be extremely popular. That's just my personal opinion.
But what about in the here ...
0
votes
2answers
46 views
Prompt user after three links are clicked on site?
I would like to prompt the user once they click more than 3 links on a certain section of a website. I would like to know the best way to approach this.
Can I do this with strictly client-side ...
0
votes
2answers
413 views
How can we fetch dynamically created textbox values to another another php file
I'm working with XAMPP 1.7.7[PHP: 5.3.8], MYSQL Server version: 5.5.16, Web server Apache/2.2.21, phpMyAdmin Version information: 3.4.5.
I'm trying to generate an application like if user enters the ...
0
votes
4answers
81 views
Serverside and clientside javascript
Does serverside javascript exist, if yes, is it possible to clientside javascript to interact with serverside javascript?
For example, is it possible for clientside javascript to request from the ...
0
votes
3answers
196 views
Passing the asp classic html as a string from client-side to server-side
I am having the next scenario (I can't change it). I have an classic asp page. In it, I have the asp code, the javascript code, and the VBscript code. When the user clicks the button confirm, the ...
0
votes
3answers
136 views
Should a javascript web application use another server side language?
I want to create a web application. I do a lot of java and am not overly impressed with the web application frameworks available.
I was thinking about using another server side language like php ...
0
votes
1answer
226 views
Phantom Js, CasperJs External scripts not evaluating properly
Interesting issue here, Im using injectJs to load an external file (site.js) into my phantomJs/CasperJs script. Its loading fine, but the functions are not evaluating and are returning as strings.
...
0
votes
2answers
233 views
Write/read a file on the server with AJAX
I know that it probably isn't, but is it possible to write/read a file on the server without server side languages. I've looked in a bunch of places and found oblique references to reading files on ...
-1
votes
1answer
41 views
running file continously on a server [closed]
I am creating a web page and there is a number on the page which increases by some value every time interval.
Whether or not the page (made with php) is visited, this number increases.
For example, ...
0
votes
1answer
284 views
Open Firewall Port Programmatically in WinRT/Javascript
I am developing a client/server Javascript Windows 8 Metro application. The user which operates the server instance can change the server port. I want to add a rule to firewall each time user changes ...
-3
votes
1answer
204 views
How do I take user input and write it into a server-side file with JavaScript? [closed]
I want to take a form-input from the user, and write it into a server-side file.
Not using any PHP or other coding unless needed.
Example:
Html Code:
<form name="loginForm">
Username: ...
-2
votes
1answer
55 views
Google Apis use server side with javascript vs php [closed]
Is it possible to use Google Maps Api via javascript server side? Do i have to use only php?
0
votes
2answers
1k views
How Read Asp.net TextBox value when changed it text in clientside by javascript
i have a serverside textbox like this:
<asp:TextBox runat="server" id="testText" >hi this is a world!</asp:TextBox>
so i change this value in clienside with javascript like this
...
0
votes
5answers
251 views
Using Ajax to change the inner content of a div
I am a beginner at Ajax, and I have this html code that is meant to change the inner content of a div by using xmlhttprequest to request different html addresses and put their contents in a div. What ...
3
votes
1answer
1k views
call server-side method from javascript in postback [duplicate]
Possible Duplicate:
Call ASP.NET Function From Javascript?
In my custom ajax server-side control I draw image (using html5) and I need to invoke server-side function when user click it ...
0
votes
2answers
92 views
How to find in server side if user clicked yes in client side popup
I am adding an event on server side button click:
ClientScript.RegisterStartupScript(Page.GetType(), "openPopUp", "javascript:onClick();", true);
and in client side I have a function:
function ...
2
votes
1answer
183 views
Shadow DOM Server-side templating
I am interested in upcoming standard called "Shadow DOM" that hasn't default browser support at this time. But how about server-side emulation? I mean something like custom tags in template engine but ...
0
votes
0answers
54 views
Which is more appropriate to do data filter: front end or back end
For starters--I am a "noob" to programming, so just learning how things work and reaching out to the community for help.
But...what I want to know is:
I have a web application I want to build, and ...
4
votes
4answers
2k views
AngularJS client MVC pattern?
Until now I was mainly using Struts 2, Spring, JQuery technology stack for building web applications. The point is, that mentioned stack uses server side MVC pattern. The main role of web browsers ...
1
vote
3answers
574 views
node.js executing server side function from client side
I have the server.js file on server side and the index.html on client side. I need to call a function from the server side through maybe a button or something on the index.html and get a feedbak on ...
3
votes
1answer
262 views
How to add a pure javascript compiler plugin server-side when running CFGroovy in Coldfusion?
I'm trying to sell myself to the idea of trying to build enhanced Jquery Mobile markup on the server (running Coldfusion8) and then try to use DustJS (Javascript templating engine) to precompile the ...
0
votes
1answer
154 views
Is it possible to compile HTML markup to templatable javascript on Coldfusion server-side?
I have been looking at Javascript templating engines trying to find a way to have standard templates available on/offline.
Currently I'm kind of stuck at dustjs/linkedIn which would require to ...
-1
votes
3answers
59 views
Use Server php values in javascript
This question is because I have some values in a database table that works as parameters, so the approach I think to use them in javascript without using inline scripts was call a parameters.php that ...
0
votes
2answers
405 views
javascript returns NaN when calling server side function
I have the following javascript code that is trying to call a server side function:
function server_GetStats(nodeID) {
var result = PageMethods.getStats(nodeID);
return result;
...
4
votes
2answers
463 views
Server side processing or client side processing?
I have developed a comparison website for comparing any product sold online in India. Currently, the site is completely client side :-
Accepts user input.
Makes 20-30 AJAX requests and ...