I'm trying to implement a jQuery slider with increments. I've gone from, the actual project page, to a test page of the project with just the slider, to just the slider. In all cases I've been unable to get the handle to move. It also seems to have a width of 1px or similar.
My code is as follows,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHT...
I have such code:
function allValid() {
$('input').each(function(index) {
if(something) {
return false;
}
});
return true;
}
which always returns true as return false; affects anonymous inner function. Is there an easy way to call outer function's return?
PS. I am not looking for a worka...
Hi all.
Is it possible to delete some images from the browser (firefox2) memory using javascript? By doing this, I want to save some precious browser memory and let my web app to work better.
I guess that if possible, it will be something like this:
delete (document.images[7]);
document.images[7].src = null;
document.images[7] = n...
I would like to .get a page and then use jquery to find elements such as links. How do i make $('#blah') search the get data instead of the page?
...
Hello,
I'm looking for Javascript code for letting the user draw a line (on an image).
Just as the line tool in Photoshop (for example):
The user clicks on the image, drags the mouse (while the line between the start point and the mouse point is dynamically drawn on mouse drag).
I would also need a callable function to send the page ...
Are there any existing table sorting libraries, or is there a way to configure tablesorter, to sort every two rows? Alternatly, is there a better way to semantially express my table such that standard row sorting will work.
I have an html table that looks something like this
<table>
<thead>
<tr>
<th>Header 1</t...
I need to access and element from within a frameset frame. For example if I have the following markup:
<frameset rows="33%,33%,*">
<frame src="frame1.html"/>
<frame src="frame2.html"/>
<frame src="frame3.html"/>
</frameset>
How can I get some element from one of the child frames? I have tried this:
window.frames[1].getElementByI...
Maybe a very simple question.
How can I put in this code
<Query>
<Where>
<Eq>
<FieldRef Name="Judge_x0020_1" />
<Value Type="Text">mr. R. Sanches</Value>
</Eq>
</Where>
</Query>
A variable from jscript in the area of the code where mr. R. Sanches is written. So my jScript contains a dynamic text va...
Are there any practical ways to tell what part of the DOM was modified if you know that it will be modified?
I am writing a plugin that will be running along with javascript that i did not write. an event will be triggered before DOM is modified, and one event will be triggered after the modification. It is my job to decide what was cha...
The code below works great except the email has all the text on one line like this:
Height: 60 | Diagonal: 123 | Width: 107 | Total SF: 13.92 | Cost Per SF: 450 | Total Cost: $6,264.00
I would like to break after each so it looks like this:
Height: 60
Diagonal: 123
Width: 107
Total SF: 13.92
Cost Per SF: 450
Total Cost...
In a ASP.NET application I have a paging RadGrid which shows up textbox in each row. Outside the grid, there is an OK button to save the content of all the textbox. If user changes text in any one or more of the textbox and without clicking on the "OK" button, tries to move to a different page number (of the grid by clicking on the page ...
I am pretty new to flex, so forgive me if this is an obvious question.
Is there a way to open the Security.showSettings (flash.system.Security) with a callback? or at least to detect if it is currently open or not?
My flex application is used for streaming audio, and is normally controlled by javascript, so I keep it hidden for normal ...
John Resig (of jQuery fame) provides a concise and elegant way to allow simple JavaScript inheritance.
It was so short and sweet, in fact, that it inspired me to attempt to simplify and improve it even further. I've modified Resig's original Class.extend function such that it passes all of his inheritance tests (plus a few more), and al...
I have put the following method in my master page. It works when I call it on a full post back, but when I call it from a updatePanel's asyncPostBack no alert is shown.
public void ShowAlertMessage(String message)
{
string alertScript =
String.Format("alert('{0}');", message);
Page.ClientScript.Regis...
Hi all,
Is there any way to select the image in FCKEditor 2.x using javascript api?
I need select the first image automatically after the editor got focused. The the result should be the same as the user clicked on the image.
Thank you in advance.
...
I'm making a bookmarklet, but I've encountered some wierd behaviour in IE8. The code causing the problem is this:
var els = document.getElementById("my_id").getElementsByTagName("*");
for(var i in els)
{
alert(i+","+els[i])
}
The first thing that is alerted is "length, n". This isn't the case in chrome: just in IE8.
Interestingly...
Hello, I have a set of selected elements in jQuery:
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div class="element"></div>
<div c...
Hi there, we're looking to compress our gargantuan JavaScript files with GZip to speed up the page loads of our site. I know this can be done through IIS, but I can't seem to find a simple step-by-step guide on how to implement it.
If someone could point me towards such a guide, I'd really appreciate it. I've never done this before, so ...
Here is my what I have
<div id=A></div>
<div id=B></div>
<input type="button" value="ChangeA" onClick="createTableA();">
<input type="button" value="ChangeB" onClick="createTableB();">
So in my jsp file, I use javascript and jQuery to manipulate the content of those two div dynamically. For example, if I click on changeA, the function...
So I have a DOM document that looks essentially like this
<categories>
<category id="1"/>
<category id="2"/>
</categories>
This is how the document previews in Firebug, as I would expect.
However, when I POST this to the server, I get
<categories>
<CATEGORY id="1"/>
<CATEGORY id="2"/>
</categories>
Indeed, doc.docu...