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.

learn more… | top users | synonyms (6) | javascript jobs

0
votes
0answers
2 views

editing scrollTop to use href value

I currently have the following code for a certain link on my website to scroll back to the top, but I can't figure out how I can change this to use a specified href value instead of a pixel value. ...
0
votes
0answers
2 views

Show Twitter Bootstrap model on form submit

I am trying to show model on submit of form with some condition such as: form have two text field, if one of them is filled then model will be shown to user with some info and If both field are not ...
1
vote
1answer
17 views

The rock, paper scissors Javascript excercise on CodeAcademy

I'm currently going through the CodeAcademy Javascript track and although this particular excercise is letting me pass I don't feel like I'm doing it right to be honest. In this particular excercise ...
0
votes
0answers
3 views

Resize dialogs in CKEditor

after I manually delete some unneccessary options on image dialog, I get this dialog: Question: How do I resize this dialog, to fit nicely URL option???
0
votes
0answers
4 views

Twitter Typeahead.js autosuggest stock symbols using Yahoo finance API

I have recently been trying to migrate my old Bootstrap Typeahead code to the new Twitter Typeahead.js library. I have come across one of my solutions and am having a hard time translating it to work ...
0
votes
1answer
23 views

Jquery click event not firing more than once

I'm having a problem wherein my JQuery click event only fires once. Basically, I have a small page set up with a button that reads Generate Buzzword. When you click on the button, the div "Oren-is" ...
0
votes
0answers
4 views

JavaScript popup box run sql command on close

I am using this JavaScript: <script type="text/javascript">$('#ImportantNotification').reveal();</script> Which displays a popup box and it has a close button. How can I run a sql ...
0
votes
0answers
10 views

Radio Button Validation not working on IE

I have following code which validate the questionnaire form and post answers on the next page if all the required answers are entered by the user. This code works perfectly on the Chrome and Other ...
0
votes
0answers
3 views

Facebook share pop with custom content - HTML and JS

I am trying to create a facebook share pop up with custom text and thumbnail. It works fine on iOS, works fine on desktop but does not display a thumbnail and lastly it does not show any data within ...
0
votes
0answers
10 views

how to prevent scroll to execute to often

I would like to have a functionality witch scrolls on first touch for me the hole section. To make it clear here my html: <div id="page" class="page"> <section class="section" ...
0
votes
0answers
7 views

Passing Json object from my action filter class to my ajax.actionlink

I have the following action filter class inside my asp.net MVC web application, which perform a custom authorization check:- public class CheckUserPermissionsAttribute : ActionFilterAttribute { ...
0
votes
0answers
11 views

Insert div at Specific Index

I am a beginner in jquery and trying to make changes in existing code. I would like to insert div containing some JS at specific index. <div id="test1"> <!-- JS code--> </div> The ...
0
votes
0answers
10 views

ScrollTo sections on single page site, while highlighting active link

I'm designing a website with a similar design to http://qz.com/ In this interface, there is a list on the left-hand side of the page with links to articles that can be seen in the "main window" to ...
-1
votes
1answer
36 views

What kind of sorcery is this?

I'm trying to have one button add 1 and another button add 2 using the code below. It's going all kinds of wrong.. You can only use the button +2 once (then you have to use the +1 button, otherwise ...
0
votes
0answers
16 views

Refresh button values on page

I have such model public class TutorialModel { public string TitleWord { get; set; } public List<string> PossibleAnswers { get; set; } public List<bool> ...

15 30 50 per page