Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting. It is NOT the same as Java, and in fact, 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 ...
0
votes
0answers
3 views
Capturing selection from web pages in Firefox extensions
I am trying to make my extension (Web clipper which captures selection from web pages)compatible with older versions of Firefox (from 3.6 - 9).
I know that these versions are not supported but would ...
0
votes
0answers
13 views
How to call ajax on fly for implementing pagination
I have the following javascript code having class named as PurchaseHistory.
var baseUrl = null;
var parameters = null;
var currentPageNumber = null;
var TotalPages = null;
var PageSize = null;
...
0
votes
1answer
17 views
Cookie always null?
I want to check if the cookie is existing or not
The problem is it is always returning to null if i check it
if ($.cookie('cookieCreditDash') == null) {
//CODE ALWAYS ENTER HERE... :(
...
0
votes
0answers
6 views
postData in jqgrid with xml
postData : xml
I want to post the xml data to my web service using jqgrid, I am also passing the parameters to the web service.
I am not able to get how to pass the xml data to web service using ...
0
votes
0answers
3 views
Removing objects from a layer. Kinetic Js
I am currently working a project involving Kinectic Js.
I have to dynamically create and delete shapes constantly, but cannot seem to figure out how to do the latter. I've been trying to do:
$ ...
1
vote
1answer
11 views
Combining and minifying JS and CSS in ASP.NET MVC
I created default ASP.NET MVC 3 web application. Then I added three css and three js files to \Views\Shared_Layout.cshtml view:
<!DOCTYPE html>
<html>
<head>
...
0
votes
3answers
28 views
How can I stop window.status from displaying?
I have the following:
<a class="button accessLink"
id="loginLink"
href="#"
data-action="Login"
data-dialog="access"
...
0
votes
0answers
4 views
Tinymce add link popup
I am using tinymce editor for one of my project. Everything works fine, but I just need to change behavior of add link popup.
Actually, requirement is such that when a user clicks on addlink button ...
1
vote
0answers
12 views
How to access a variable used in java script from jsp page?
I am using ajax in my web page.I want to access a variable used in java script function (in head section of html) by a jsp page.Jsp page is retrieving data from database using that variable.
How can ...
1
vote
0answers
3 views
When declaring a mixin in Ember.js, what does it mean to take the application namespace as the first parameter?
I am browsing through Flamejs' source code and am seeing this a lot:
Flame = Ember.Application.create()
declaring mixin:
Ember.mixin(Flame, { ... } );
Is the application namespace passed in as ...
2
votes
1answer
28 views
Can I replace .attr(“data”… with .data(" …
I have the following:
if ($(this).attr("data-disabled") === "false") {
var $link = $(this);
$("a.accessLink").each(function () {
...
0
votes
1answer
12 views
Reload top window from a popup window opened from colorbox(in top window)
I am opening a colorbox in my page.
In the colorbox iframe page, i have a link, that opens a popup window (window.open).
Now i want to reload the top window page that opened the colorbox, from the ...
0
votes
0answers
12 views
How to plot a matrix based on slider bar position in webpage
I have some very simple data to display, and have a working mockup in Matlab. I'd like to put it on a webpage (prefereably by rewriting something in javascript or pythong, rather than using the matlab ...
1
vote
1answer
41 views
Security Concerns with window.location.href
After reading a Wikipedia article about URL redirection I'm wondering if window.location.href="page.php" is the best option for a web page redirect. The wikipedia article suggests that
However, ...
1
vote
2answers
39 views
very touchy onmouseout behaviour
I would like to design something similar to what can be seen on http://www.thedana.com/ by the "Check availability" button - I've used the jquery.js file from w3school.com and got the following so ...