Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). Unless a tag for a framework/library is also included, a pure JavaScript answer is expected.
1
vote
1answer
26 views
Issue when converting from HTML to text using javascript
I have the following code snippet to convert html to javascript, but I seem to be facing an issue with the output when bound to a textarea and I am not able to figure out what the issue could be.
var ...
0
votes
2answers
21 views
Hide label when select item from list - javascript
How i can hide label when the user select item from list , i have this code to hide input text , but how i can hide the label for that input text?
<form name="myform">
<table>
<td>
...
1
vote
0answers
11 views
Canonical CSS - does a standard simplified form exist?
Is there a canonical form of CSS (along the lines of Canonical XML for XML)?
In other words, is there a subset of CSS which might say disallow extra whitespace or comments, merge rules into an ...
-2
votes
1answer
26 views
Display text info (like tool tip) either using css or javascript when mouseover on form button
I want to display text paragraph above form button when mouseover on button. I want it using either css or javascript but it should be very basic solution. I don't need much more facilities in this ...
0
votes
0answers
9 views
How can I improve this sticky footer code & fix one minor issue?
For some reason you need to drag the window in jsfiddle to get it going, but it works fine onLoad in context.
The idea behind this is that if the content exceeds the height of the window, it will ...
1
vote
2answers
14 views
Firebug Breakpoint not captured in javascript
I have a valid break point in javascript, but the firebug is showing that as (?) left panel. Whats the error.
However the code is working fine in jsfiddle. http://jsfiddle.net/kcEjN/
I have check ...
0
votes
0answers
4 views
WebKit/Phantomjs why output of getComputedStyles is that way?
on most browsers (e.g. Firefox, Opera) getting the computed Style for a element return a nice object of type CSSStyleDeclaration. On Chrome 28 and PhantomJS 1.9 I get an object that starts with ...
0
votes
0answers
7 views
Using Marionette Compositeview within a Layout region
I'm creating a portfolio type site. The project page shows general information about the project and a gallery.
I've split it up, so the project page is a Marionette Layout. This layout renders ...
0
votes
0answers
18 views
Remember the input date in datepicker
I am using datepicker. I have two text fields fromdate and todate. For Example I input month of May when I submit and input a date again the default date should be May also not the current Month.
...
0
votes
0answers
4 views
ExtJs 4 Grid panel not resizing properly on window resizing
I am rendering Grid Panel in a DIV, for both DIV and Grid Panel I have not specified any width so that it should take up all the browser's width available. When browser window is re-sized by user this ...
0
votes
2answers
21 views
Trouble getting div layer and javascript to delay a few seconds after page load
I've been trying to get this script to delay a few seconds after the page loads, but haven't been able to get it to work. I know there are other similar questions on here that appear to be answered, ...
0
votes
1answer
25 views
Node JS and ajax problems
I am trying to receive data through ajax from node.js but I am not sure what I am doing wrong between interacting the two.
Here is my ajax get request:
$.get('/notificationsNumber',
...
-5
votes
1answer
30 views
What is needed to make an online “checkers” game on the web? [on hold]
As an experiment I was planning on making a board game, and so I chose checkers, but I have one problem. The game is fairly easy to make as a single player game on the web, but I would like to know if ...
0
votes
0answers
16 views
how do I pass a variable from an input box on one page to another page, then submit it?
Here is some code written by a helpful member of this site (the first section) and I put on my site in search2.tpl (I use Smarty templates). The second code bit is the search form on page ONE of my ...
0
votes
0answers
3 views
Javascript news scroller — click and drag to go forwards or back
I am trying to find out if there is a way to hover over my scrolling news ticker, and give the user the ability to click and drag the ticker forwards or backwards.
I know this can be done with ...