Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting, but (despite the name) is NOT related to Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). A pure JavaScript answer is usually expected, except if a tag ...
0
votes
0answers
5 views
backbone.js for connecting model with another model
I know that in backbone.js you can connect View with Model. Where in Model you can update it's information buy calling fetch etc.
But in my case, I have several Views, which can use common data.
How ...
0
votes
0answers
9 views
Bootstrap.js Tabs within Popover aren't working
Bootstrap's Tabs do not seem to be working for me when used within Bootstrap's Popover.
What happens is following:
1. Popover opens
2. Active tab on click changes
3. Tab content is not changing ...
0
votes
0answers
10 views
Infinite scroll problems appending element multiple times
$(function() {
$(window).scroll(function(){
checkY();
});
$('.post').last().after('<div class="newPost" />');
var hrefArray = [],//array global
hrefs = $('.paging ...
0
votes
0answers
14 views
HTML and Javascript: z-index not working, auto-height resize
I have a site, and it looked nice up until a few days when I noticed the vertical menu I wrote was resized (Maybe it could have been something I changed before). The code to the index page is:
...
0
votes
2answers
28 views
Stop Countdown Timer Javascript onClick
Given the Following code:
$('#myButton02').click(function(){
$('#myButton02').hide();
$('#counter').animate({width: 'toggle'});
var count=65;
var ...
0
votes
0answers
26 views
Assigning session variables in Javascript
I am trying to assign a session variable whenever an event is triggered (using Javascript here). But I'm failing to make it happen so that it's loaded just after the body of my page loaded, not the ...
0
votes
1answer
18 views
Show div tag while click on Button
While the page loads, the div tag below should be Hidden. The div should display when a button is clicked. I am using asp.net mvc razor
<div id="field">
@Html.LabelFor(model => ...
1
vote
1answer
10 views
JS: OR operation with more than two operands?
This question is Javascript-based but applies to logical operation in general
take the code example
if (baseText[i] == "."){
/*splice array*/;}
if (baseText[i] == "!"){
/*splice array*/} ...
0
votes
1answer
23 views
Post xml data and get xml response
I have a site that i would like to support the API from pingbid.net, i need to post the required data and get the xml. does anyone have a sample code?
here's my code someone help me
<?php
$url ...
0
votes
2answers
32 views
Expand an image when user hovers or clicks - with minimal effort
I want to expand an image on a web page when the user clicks it or even hovers his cursor over it.
I suspect that this needs a JavaScript solution and I know nothing of JS, so wouldn't know where to ...
-1
votes
0answers
7 views
How to upload image to azure storage with windows store application (JavaScript)?
How can I upload image to azure blob storage in windows store app using JavaScript?
0
votes
1answer
27 views
How to store program state in URL query string?
How do I read, and write, to the query string?
var pageNumber = QueryString['pageNumber'];
var pageSize = QueryString['pageSize'];
$('#next').click(function() {
QueryString['pageNumber'] = ...
0
votes
1answer
42 views
Where do/can I go from here? [closed]
I'm a self taught computer technician, I have always found coding to be interesting and I learned HTML in middle school for basic stuff. I recently graduated from High School and can't afford college, ...
0
votes
0answers
10 views
How I get the internal html content of a div tag using Apache Wicket
In my html file I have a div tag like this,
<div wicket:id="editorArea">Type Here</div>
I am using a JavaScript library called bootstrap-wysiwyg to make this div tag a text are which we ...
0
votes
1answer
11 views
First update ignored when updating modle asynchronously in AngularJS ng-click handler
This is how I intend my application to work:
When a button get clicked, an HTTP request is sent to get more items, and the returned item
array will be appended to existing ones in the model.
So I ...