so I am using the .hover feature of jquery.. but im having a small issue. the drop downs stick and dont get hidden when yuo move the mouse over them very quickly (ff3). it seems like it is skipping the mouse out function if the previous function hadnt completed which is slideDown. anyway to fix this?
heres the test site: http://vasos...
Problem
I tried using the following
// Start method 1
var grbData = $.ajax({
type : "GET",
url : "http://grb.sonoma.edu:81/getgrbs.php",
data : "start=0&perPage=3"}).responseText;
$("#ajaxDiv").html(grbData);
// End method 1
// Start method 2
$.get("getgrbs.php", { start : 0, perPage : 3},
function(data) {
...
Suppose the following HTML:
<li class="fooli">
<a class="foo" href="javascript:foo(this);">anchor</a>
</li>
<li class="fooli">
<a class="foo" href="javascript:foo(this);">anchor</a>
</li>
and the following Javascript (using jquery 1.3.2):
function foo(anchor) {
alert($(anchor).attr('href'));
}
My goal is to be able to hide ...
I'm writing a simple jQuery that to change the font size of an element by a certain percentage. The problem I'm having is that when I get the size with jQuery's $('#el').css('font-size') it always returns a pixel value, even when set with em's. When I use Javscript's el.style.font-size property, it won't return a value until one has been...
Hi!
Actually my question is simple. I think. But unfortunately, Google can't help me this time.
I want to return a JSON in my view in this format:
[[0,"Mark Kordon",null,"My HTML - Mark Kordon"],[1,"John Doe",null,"John Doe Markup"]]
How is this possible?
Thanks!
...
Hi All
I'm using this script on my site - http://www.suuronen.org/esa-matti/projects/panfullsize/
Got it all working fine, only problem is that it always defaults to the zoomed image when you load a page. I'd rather it showed the scaled down image first, and then zoomed when requested.
Anyone know how I can fix it?
Cheers
Sam
...
What is the definition of entire page in the following line?
When the entire page is included via PHP include() or require()
function, make sure to put that script
code inside the <body> tag and not
inside the <head>, because calling
jQuery script file from inside the
tag doesn't work for some
reason.
I have had proble...
How do I set the index of a dropdown in jQuery if the way I'm finding the control is as follows:
$("*[id$='" + originalId + "']")
I do it this way because I'm creating controls dynamically and since the ids are changed when using Web Forms, I found this as a work around to find me some controls. But once I have the jQuery object, I do...
UPDATE: Site is online
http://qwickqual.com/memorial/create/
under "Memoria Media" -> Click on "Our Videos" and it loads the list of categories
click on any sub category and it goes through the process below
---------------- end edit ----------------------------------
UPDATED DESCRIPTION OF ERROR:
All code is based on <li> objects b...
I want to have a text input that on focus selects all of the text inside, if any. This is so that I can click on the text input and just start typing rather than having to clear the current value out, assuming I wanted to overwrite what was already in the text input.
How would I do this with jQuery?
...
Hi,
I have a page with 2 user controls on it, UC1 and UC2.
Both user controls poll the database via an ajax call.
UC1 is to poll IF UC2's button has not been pressed.
i.e. only 1 ajax poll at a time, given the above logic.
Both UC's have an jquery onReady call that initializes the timer.
How can I tell UC1 not to poll IF UC2's butt...
Normally, as I understand, you return false from jQuery click handler, and that stops click from going further. How would I achive the same behavior with Ajax.ActionLink?
Tree items use click to expand and collaps, and clicking on Ajax.ActionLink causes both action link to be executed and tree item collapsed/expanded.
...
I want to capture the TAB keypress, cancel the default action and call my own javascript function.
...
On my main page I have this jquery code which does an ajax call and loads the whole pages contents into a DIV on my page, it refreshes every X amount of seconds
<!-- Auto update/look for NEW notifications -->
<script type='text/javascript'>
$(document).ready(function(){
var updatenotification = function(){
$('#notific...
I guess this is similar to what Facebook does, but...I haven't worked out how to follow what they do and if this is a dupe, I apologise.
The idea is to have a thumbnail-size player (width="220px" height="180px") that, when clicked, resizes to a 'normal' size (normal is arbitrary, of course, but for the sake of this example, if we go wit...
I'm using tables in my document, and I want to be able to have a user submit a new item to a list, then have it "automagically" appear at the top of the list (yes, this would be easier with DIVs but working with what i have).
I'm using jQuery, and clone() to create a copy of the most recent table row, then using fadeIn() to display th...
Here's what I'm trying to do, simplified:
<input rel="TimeStart">
// bunch of HTML code in between
<input rel="TimeEnd">
In the Javascript:
$("[rel="TimeEnd]").blur(function() {
// find first previous element named "TimeStart"
// compare their dates
});
I tried using $(this).prev("[rel=TimeStart]") but it keeps returning nu...
I'm trying to present the user with a list of links (properties: Title, url, visible, order). The list will display based upon their order. The user will be able to drag these into the order they want, which will update the records in the database. The user could also click a button that will sort based on the Title of the link (the t...
Hi, i been using the following code for some time now and it has worked ok on ie6-8 and firefox 3.
$("#article").livequery(function () {
$("#article").rte({
cssUrl: "css/rte.css",
mediaUrl: "css/rte/",
listenToClass: "send"});
});
but now that i have upgraded to firefox 3.5.2 it enters an infinite loop adding r...
What does the following line mean?
jQuery.post('/codes/handlers/delete_a_question.php',
{ question_id: jQuery(this).attr('question_id') }
Context in HEAD
jQuery('a.delete_question').live('click', function(){
jQuery.post('/codes/handlers/delete_a_question.php',
{ question_id: jQuery(this).attr('question_id') },
...