Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting. It is NOT the same as Java, and has hardly anything to do with it. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). If a framework or library, such as jQuery, ...
0
votes
0answers
3 views
What technology environment / framework should I use for mobile device and native desktop Twitter animation project?
I started with "twitter hashtags into animations" as my stackoverflow search query...
but realizing it's been about 15 years since I directly programmed (in school) anything related to software code, ...
0
votes
0answers
6 views
Get escaping error when putting JSTL variable into Javascript
I follow this post to render a javascript variable using JSTL variable:
var size= "<c:out value='${fn:length(orders)}'/>";
However, not quite lucky, I get an exception like this:
Element ...
-4
votes
0answers
34 views
how to disable a button for 30 seconds
I want to disable a button for 30 seconds after the page is loaded (to prevent multiple clicking without even a try to watch the content). How can I do that?
<input class="button vote" ...
0
votes
0answers
9 views
Create Event not working
I'm implementing the facebook javascript api into my website. I'm doing some examples and all of them worked so far, except the code to create an Event on the user profile. My code, with the working ...
0
votes
0answers
32 views
Send data without submit button (Javascript / jQuery)
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form name="form1" id="form1" action="coillist" method="POST">
<table id="dataTable" ...
0
votes
4answers
29 views
How can I pass the value of an input in a href
I'm trying to pass the LoadNumber into a php file to use in a query and result in a FPDF on a button click. the button works but the value its passing is $(' not the value I wanted. Where am I going ...
0
votes
0answers
9 views
Message: 'Function.prototype.bind' is null or not an object
IE8 doesn't support Function.prototype.bind, is there a workaround?
-4
votes
0answers
15 views
Encapsulation and privacy in JavaScript [closed]
One of the first things taught in introductory computer science courses, is encapsulation. Basically, anything that is not needed outside of your (class/function/module/etc.) should be kept private. ...
0
votes
2answers
30 views
Why var a is undefined? Javascript OOP
I have this code. It creates an object with x and y field. I want to add a method, which creates new object with additional width and height fields. But despite my tryings it keeps returning ...
0
votes
0answers
8 views
Run jQuery code once document is ready AND iframe content is loaded
I'm experiencing issues with layout of my website as I am running some jQuery that gets applied once content is loaded / document is ready. However, it appears that because iframe content gets loaded ...
0
votes
0answers
10 views
How do I use REGEX to access a JSON file in Javascript
I want to use a get method which compares what the user enters into the senders ID text box with the "name" field on the var data section from the JSON file. If the name matches I want to set a new ...
0
votes
0answers
8 views
rails submit form w/o refresh, :remote => true
I'm trying to submit a form in rails without refreshing the page afterwards. I've been looking around online, but it seems that adding :remote => true doesn't seem to change my form the way I thought ...
0
votes
0answers
25 views
How to load an image based on height of the browser
I have two images: A.png and B.png
I am trying to load the images based on device resolution
I mean if the page is being loaded on desktop A.png must be loaded
or if it is being loaded on iPhone ...
0
votes
0answers
17 views
Getting width of a child div with width 100% gives windows width
HTML:
<div id="parent">
<div id="child">
<div id="child1"></div> <!-- UPDATE -->
</div>
</div>
CSS:
#parent{
float:left;
...
-7
votes
0answers
29 views
i have this for a test and i dont know where to start helllpppppppp plizz [closed]
Create the ‘footresults.html’ page that allows you to generate a football league table displaying the football results and appropriate information as specified below:
You should be able to:
select ...