I am currently using this autocomplete plugin. It's pretty straightforward. It accepts a URL, and then uses that data to perform an auto-complete.
This is my code to auto-complete it.
autocompleteurl = '/misc/autocomplete/?q='+$("#q").val()
$("#q").autocomplete(autocompleteurl, {multiple:true});
If someone types "apple", that autoco...
I was playing around with the jquery autogrow plugin, which expands the height of the text automatically as the text needs it. The problem is that with every key down, the bottom border of the textarea jitters in a noticeable way. I'm not sure what the problem could be, so I'm going to go out on a limb and post the 132 lines of this GPL ...
Has anyone compiled jQuery against Google's newly-released Closure compiler?
There has been reported huge savings in code size. I'm curious what the benefit is if jQuery was compiled with it.
...
I can't seem to get my image to pop up the actual size when using thickbox. anyone know how to fix this?
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>WildFire</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
...
Can't seem to get my lightbox to work. Any ideas?
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />
<title>WildFire</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/...
How do I create a photo gallery like the one seen Here?
...
I need a solution for the age old problem of a 'default button' firing undesirably.
i.e you hit enter in a text box, but there is a submit button on the form that isn't the one you want to fire (or maybe you don't want the form to fire at all).
I'm wondering about the following 'solution'. Slightly hacky but should be reliable as far as...
Hi,
I have 2 divs and one is nested in the other. I want to get the child div position relative to browser window. The use case is this: when user scroll down browser, I want to detect the position of the child div and if it is 100px above the bottom of the browser window, I want to fade it out slowly.
How do I do that with jQuery? The...
Hello,
I have two div tags as shown below on my page. When i reference the value of itemName element,using $('#itemName').val(); which i have in both the divs, i always get the value of the element in the first div which is ""(blank). Is there a way to get the value of the itemName element in the 2nd div i.e. facebox using jquery ?
inf...
I have a nested menu like this:
<ul id="menu">
<li>Home
<ul>
<li>New</li>
<li class="selected">Open</li>
<li>Folder</li>
</ul>
</li>
<li>Another menu
<ul>
<li>submenu item 1</li>
<li>submenu item 2</li>
<li>submenu item 3</li>
...
Hello all
I have a problem implementing too JQuery tools; Cycle and Fullsize (together).
I have uploaded an example over at: http://lawrencebrown.eu/jquery/index.html
The problem is that only the first image pics up the Full size script, I have bene told by a friend to add the following into code into the cycle script:
?after: functi...
I'm having a little problem with jQuery:
I'm having .submit() defined on a form, when I submit the form by clicking the submit button, the even triggers and things works smoothly, however, when I use document.forms[0].submit(), the event doesn't get triggered, but the form submits!! Is there any reason why? How can I overcome that?
...
Hi,
I am getting a strange error using jQuery 1.3.2 and Firefox. I have created a small popup window for an element and I am using the code
var popupWindow = $($('#template')[0].innerHTML).css(
'top', top).css(
'left', left).css(
'position', 'absolute').css(
'opacity', '1');
I then us...
Hello,
first of all sorry for the strange title but I wasn't sure how to call this. I am trying to create a slideshow for images. Actually it's more like a fade in and out show.
I could explain the whole thing but I think it's a lot clearer if I just posted my code.
var Images = ["images/1.jpg", "images/2.jpg", "images/3.jpg", "images...
while ($row= mysql_fetch_array($result, MYSQL_ASSOC))
{ $id=$row[id];
$html=<<<html
<tr><td>
<input style="float:left" type="checkbox" id="$id" name="myBoxes[$id]" value="true">
<span style="float:left">$row[content]</span>
<span style="color:black;float:right">$row[submitter]</span></td></tr>
html;
echo $html;
}
$html=<<...
Below I use the id of a clicked item to tell my function which <div> to animate.
However it never seems to animate....
Basically you click and <img> and it uses the ID of that image previewItem to tell what <div> to animate. '#p + previewItem'
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script...
Lets say I have a 3 column <table> or <div> with widths of 50% 200px and empty
I want to use jQuery to animate a off screen element into view with it's ending location being relative to the left edge of the 2nd column.
So say I am viewing page on a large screen and the edge of the second column is 900px from the left side of the windo...
I'm trying to figure out how to filter a table based on the row class when I click a button. I've been looking at various jquery plugins, but none of them seem to do what I need it to do. Some have textboxes that filter, etc., and I've tried adapting the code but frankly, I'm just making a great big mess... Help? I have a table that l...
Is there a way that i can link to a page containing a jquery ui tab set and pass the selected variable in the url link to automatically show a particular tab depending in which link was clicked to reach the page?
...
i want to load contents of external url like (http://www.google.com) into div,
i the way which will readable by search engine crawl.
in any one of (jquery / ajax / php )
Thanks
...