Hello, just starting to get my hands dirty with the jQuery goodness and the first task i'm trying to tackle is to underline a link after it has been clicked. Naturally, after a different link in the same div was clicked the previous one is no longer underlined...
Regards
...
If you look at the right, there is a thumbnail gallery. I need to change the action from 'on click' to 'on hover'. I'm not a javascript developer and changing scripts at this point will be futile (too many hours modifying this one...for other reasons).
If you could help me find a way to change the action from 'on click' to 'on hover', I...
do you remember a cute wizard that appears that guides you through a website ? i remember this from before, was wondering if such alternative exists for jquery.
the Actual Wizard character or Clippy that appears ! not a wizard form !
...
Hello,
I am using the following code to get the json feed of a twitter users friends using the twitter api :
var url = "http://twitter.com/statuses/friends/"+twitter_handle+".json?callback=?";
//show ajax loading animation
$('#loading').show();
$.getJSON(url, function(data) {
//hide ajax loading animation
$('#loading').hide();...
I have some links on a site which I need to direct to a page telling the user that they are leaving the site. All of these links already have an onClick function on them which normall triggers an alert telling them that they are leaving the site.
For example, this would normally trigger the alert:
<a href="http://www.example.com" oncl...
Given an inline JQuery UI datepicker, I want to change the background colors of individual dates. So I want to be able to set "October 5th, 2009" to green and "11/6/209" to red. How could I do this in JQuery and as the datepicker is scrolled month to month what event would I catch to update the background colors of individual dates?
...
I've written an ajax-enabled web page intended for use on my Wii. However, ajax doesn't appear to work on the Wii's Opera browser. This page works in IE, Chrome and FF, but not in Safari or Opera.
Here is my jQuery test ajax call:
$.ajax({
type: "POST",
url: "DefaultWebService.asmx/Hello",
data: "{}",
contentType: "app...
Hi All,
I'm fairly new to jquery and I think this is simple but I'm struggling and google doesn't seem to be helping....
What I have is a basic form...
<form>
First Name: < input type="text" name="firstName" id="firstName" />
Surname: < input type="text" name="surname" id="surname" />
<input type="submit" id="submit" value="submit"/>
...
when i click on a link i take it's href value in a variable (the number represents an unique id), then...i have a separate ul:
<ul class="class_one">
<li class="class_two"><a href="2345">some text</a></li>
<li class="class_three"><a href="6789">some text</a></li>
</ul>
what i'm trying to do is to see if i have any "a" in my "ul"...
I'm looking for a Jquery plugin that exposes a date input as 3 select boxes and manages the chosen date in a hidden input inside the form.
I remember seen it a long time ago but at that time a datepicker was more appealing.
...
There is an annoying bug in Firefox which allows me to set the caret position in a textfield, but it does not automatically scroll that caret into view.
My particular issue arises when using the jQuery Masked Input Plugin (http://digitalbush.com/projects/masked-input-plugin/)
If the width of the textfield is less than the width of the ...
I have a function called on the click of a link within a TD. Upon clicking, I traverse back up the DOM to the TR that the link was within, then create a new TR after it.
So far so good.
Now that I've created that new TR, with a TD within, what's the best to now refer to that newly created TD. Or, do I need to traverse my way back into ...
Am working on my earlier hit count question and ran into another stumbling block: how do I post an object's model information through ajax ?
I am using the generic object_detail view for a number of my models and I want to add some ajax to the template that calls my updapte_object_hit_count function (thereby tracking the object's hit ...
I have a form that I submit through ajax, and returns an updated chunk of html that includes an updated form that I want to submit through jquery.
The problem I am having is that the first time I click submit the event is captured by jquery and works great. When I make another change to the form without refreshing, the event is not capt...
Hi, I am working with the latest version of the Coda Slider
http://www.ndoherty.biz/2007/10/coda-slider-11/
and I was wondering if anyone had any ideas for me on how to handle the preloader. The way I have the site built now, the content within the slider pops open modal windows. I want the page to refresh when the modal box is clos...
Hello everyone,
here come my problem I am registering dblclick event on some p tags, when the user double click on this tag he can edit the content. So far so good the only problem if the p tag contain other tags and the user click on this only the content of that tag is editable.
to clarify a bit here come an sample
<html>
<head...
Why does this work only if i call the alert function ?
After i close the alert box, the color changes. If I comment the line with the alert command then nothing happens.
function setLinkColor(el)
{
var color = getStyle(document.getElementById(el.id), "color");
alert(el.id);
document.getElementById("cont...
Currently I'm trying to add on to the auto-complete module for jquery that is out there. After i've auto-completed my text field, i tab to my next field (a drop down). When that drop down is focused, i want to check against my text field and populate the drop down with a specific list depending on what the text field has.
Is this somet...
I'm now doing something like :
$img.hover(function(){$(this).attr('src','1.jpg')},function(){$(this).attr('src','2.jpg')});
Which is not smooth,because it takes quite some time to load an image.
...
ok so basically I have a setup like this:
<div id="tabs">
<div id="tab_one">
Something here
</div>
<div id="tab_two">
Something else here
</div>
<div id="tab_three">
Another thing here
</div>
</div>
Now my css looks like this:
#tab_one {
position:relative;
left:0px;
top:0px;
}
#tab...