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.
0
votes
0answers
10 views
how to put validation in reach text editor
Hey i am using this text editor http://www.dynamicdrive.com/dynamicindex16/richtexteditor/#.Uj0jHrwc2Rs i don't know how to put validation how to modify the drag and drop please help me
<!-- To ...
0
votes
3answers
18 views
Getting error in php image uploader
I am getting following error in this code : Parse error: syntax error, unexpected 'return' (T_RETURN), expecting ',' or ';' in C:\xampp\htdocs\uploader\upload.php on line 100
Here is the pastebin ...
0
votes
0answers
7 views
How can I control the width of this Amazon Affiliates javascript snippet?
I have an affiliate widget from Amazon. The widget is a medium rectangle with a width of 300px. The problem is that the WordPress sidebar I need it to fit into is 280px.
I only have the code Amazon ...
0
votes
0answers
6 views
Access actions from within an route in Ember.js
I'm updating the following route:
App.SomeRoute = Ember.Route.extend({
events: {
getMore: function(){
var controller = this.get('controller'),
nextPage = controller.get('page') + ...
0
votes
0answers
4 views
jQuery Reveal Modal not displaying Vimeo video
I'm using Zurb's jQuery Reveal Modal plugin to create a popup window for a Vimeo video. I can't seem to figure out why the video is not displaying in the modal.
<div class="videoEntry">
...
0
votes
0answers
6 views
Gumroad overlay javascript not working with AJAX loaded Content
So I just recently discovered Gumroad(www.gumroad.com), a beautiful solution to ecommerce without all the clutter of host provided solutions. The best feature about gumroad and the only reason I want ...
1
vote
0answers
5 views
index a mongo db with javascript
I have working script which stores the html forms i have created in mongoDB. It works awesome. However, i can't search any of the data i place in mongo, because i don't have an index.
I realize I ...
0
votes
0answers
23 views
Script working in firefox and chrome but not working in IE 9
I'm trying to create linked drop downs in asp.net mvc 4, for which using following JQuery code.
$(document).on('click', '.linked-dropdown', function () {
$('#' + ...
0
votes
0answers
4 views
Rails render partial with modal and local variables
I'm trying to render a partial in a popup (ideally a modal that I have to figure out) upon clicking on a "group name" that's not based on any database object, but rather based on local variables ...
2
votes
2answers
31 views
get the matched data into array in javascript without using any loop
Problem background -- I want to get the nth root of the number where user can enter expression like "the nth root of x'.I have written a function nthroot(x,n) which return proper expected output.My ...
0
votes
0answers
5 views
Tumblr and HTML5 - Canvas for Square Grid?
I am trying to add HTML5 to a tumblr theme to generate 250px by 250px crops of the image posts found on a blog and use them in place of the normal 500px image. I am currently using the following code ...
0
votes
1answer
24 views
foward on button click doesn't work
i want to foward or redirect a page after a $.ajax call
$(document).ready(function(){
$('#submit').on('click', function(){
var params = "";
$('#tableResultat > tbody > ...
0
votes
2answers
35 views
Why not work SetInterval (he work only one)
Good day.
I make progress bar for .swf.
Code in <head>:
function ProgressBar(){
setTimeout(function (){
if (swfobject.getObjectById("Object").IsPlaying()) {
var TotalFrames = ...
-3
votes
2answers
22 views
JSON in PHP not correctly formatted from an JQuery Ajax request
I have a JQuery AJAX request send off some JSON data to a PHP script, however, when it comes to manipulating the data or even trying to access it, it behaves like a string but I need it to behave like ...
0
votes
1answer
22 views
jQuery - same behaviour for click and keypress events
I'm programming a simple memory game, and need to make it usable both with mouse and keyboard. I'm able to build the listeners for the arrow keys in order to move in the cards grid, but I can't let ...