Is there a way to overlay the x-axis and y-axis numeric labels onto a jQuery Flot graph. So, I want the labels to not be outside, next to the graph, but on top of the graph itself.
The following example creates an overlay div on top of the graph for the annotations:
http://people.iola.dk/olau/flot/examples/annotating.html
Is there a st...
How would I retrieve the javascript call in the anchor tag below in JS or JQuery? Basically I want to get the code ("javascript:do_my_function('blah', 'string1', 1);") retrieved so I can execute it. This anchor is embedded several deep in some div tags as well.
<a onmouseout="swapImage('btn1','','http://img2.comp.com/img/buttons/btn_g...
When I use Jquery or its plugin, should I just add
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js"></script>
Or should I download both files and upload both to my web serv...
I am trying to get the jQuery Address-Depp Linking Plugin to work with YUI tabs, but am having zero luck.
The plugin is here: http://www.asual.com/jquery/address/
Even with a tabs example: www.asual.com/jquery/address/samples/tabs/
But I'm stumped.
You can see here is basic mockup of my page here:
www.lolurdown.com/TabTest/
And cl...
Site is Located @ beattrainsoundsystem.com/home
I'm using serialScroll to animate a number of divs containing dancing characters, and using LocalScroll to animate the content divs. My issue is that when you try and load a URL with a hash ( for example beattrainsoundsystem.com/home#store) the character divs do not animate to the correct...
Just wondering if people can let me know how to animate favicon like done in this website:
geoplugin
Only seems to work in Firefox though and not IE6.
...
I've made a small slideshow script to cycle through a list of images. The problem with it is selecting the current index during the next() and prev() functions.
When viewing the slideshow, it performs one too many next()'s resulting in no image being shown for one slide. The index is too high. When click prev(), it seems to sit at 0 ind...
I have a number of form fields spanning over the page fold. When pressing the "tab" key to step through each input/select field it sits the next field on the bottom of the page fold.
A few of my fields have tool tips, validation responses and auto suggest boxes that appear below the field. When tabbing to the field, you can't see these ...
Hi all:
I'm experiencing difficulties trying to invoke document.ready( function() {}) in my unit tests. Suppose I have multiple of them in my javascript file, and one of them called inside a named function i.e.
function myFunction() {
$(document).ready(function() {
//...
});
}
How do I actually invoke them in my uni...
If I have a list like the following:
<ul class="nameList">
<li value="1">Bob</li>
<li value="2">Frank</li>
<li value="3">Sally</li>
</ul>
How can I convert that into a json object like so:
[{"id":"1","title":"Bob"},
{"id":"2","title":"Frank"},
{"id":"3","title":"Frank"}]
I need to get that data into that format...
We have a method on an asp.net page that is called on a button click. The problem is that the method take a long time to process. I've been asked to have the page call the method (or call the postback) and then display the jquery.ui dialog which will let the user know that this process could take a long time. I'm looking at serializing t...
i want to send a php variable $thread_id to php file using jquery ajax, so the php file can get all posts for $thread_id and echo it back to main file.
it doesnt work when i type:
$.get("ajaxcall_reply.php", thread_id: $thread_id, function(data) {
$("#threads").html(data);
});
how should i type?
...
Hi All,
I am stuck with the problem of table expanding. I am populating data into a table, and the last column of the table has more content in it, So using jquery is to possible to get all the text in the last column of a table row, append the details into the next row ? Why i am trying this weird thing is to use jQuery table expa...
I have the following piece of jQuery code:
function saveSchedule()
{
var events = [];
$('ul#schedule-list').children().each(function() {
events.push($(this).attr('value'));
});
jQuery.each(events, function()
{
alert(this);
});
$.post("schedule_servic...
Its a bit difficult to explain, but i will try.
Whenever someone clicks on a anchor link, temporarly a dotted box appears around it.
For example, when u click on the stackoverflow logo over the top of this page, it
is surrounded by a dotted line temporarily. Because the page gets refreshed, the dotted box goes away.
But with ajax, the...
I have the following jquery which I want to simplify.
I am just repeating the same things.
Could anyone give me suggestions please.
Thanks in advance.
$("a[rel='imagebox-all']").colorbox({slideshow:true});
$("a[rel='imagebox-new']").colorbox({slideshow:true});
$("a[rel='imagebox-even']").colorbox({slideshow:true});
$("a[rel='imagebox...
I'm using the jQuery Autocomplete plugin. I have two input fields on a form, inputfield1 and inputfield2.
I attached autocomplete to the first field. When the that field loses focus, I want to check if a value was entered and if so, then make an AJAX call to retrieve some "\n"-separated strings and use them to drive autocomplete on the ...
i put 2 jquery plugin together inside a webpage. Conflict happen between the 2 jquery. When i take out 1 of the plugin code. It work. But when i put in 2 together. just 1 of jquery wil working well.
Can anyone help me solve tis?
<script type="text/javascript" src="js/script.js"></script>
<link rel="stylesheet" href="style.css" type="t...
I am trying to copy reddit's voting buttons but I'm somewhat new to jQuery so I'm having challenges. My HTML block looks like:
<ul class="karma-controls">
<li class="karma-control karma-up karma-up-selected"><a href=""></a></li>
<li class="karma-total">1</li>
<li class="karma-control karma-down"><a href=""></a></li>
</ul>
...
I use two jQuery plugins: quickSearch and tablePagination
When I type text into the input box, pagination doesn't work :(
This is my code:
<html><head>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jquery.quicksearch.pack.js"></script>
<script type="text/javascript" s...