Im after a plugin to do autocomplete like facebook does in that you can select multiple items - similar to how tagging a stackoverflow question works.
Here are a couple I ran into:
http://wharsojo.wordpress.com/2008/02/18/jquery-facebook-autocomplete
http://www.emposha.com/javascript/fcbkcomplete.html
http://github.com/loopj/jQuery-To...
I use the jQuery Autocomplete plugin to display user info in the search box and I can't quite figure out the meaning of the syntax of the following parse function:
$("#UserSearchBox").autocomplete('FindUser.ashx',
{
minChars: 2,
width: 400,
max: 5,
parse: function(data)
{
return $.map(eval(data), function(row)
{
...
I'm a programming newbie and I can't figure out store a function in jquery and run in it multiple places.
I have:
$(function () {
$("div.class").click(function(){
//Doo something
});
$("div.secondclass").click(function(){
//Doo something
});
});
Now the 2 //Doo somethings are the same, and I don't want to write th...
The Jquery documentation says:
"Triggered events aren't limited to browser-based events, you can also trigger custom events registered with bind."
Exactly how do I do that?
Here's what I want to accomplish:
bind a function to a submit event
call that bound function with a trigger
...
There are different JavaScript frameworks like jQuery, Dojo, mooTools, Google Web Toolkit(GWT), YUI, etc.
Which one from this is suitable for high performance websites?
...
Right now I'm loading nodes with jquery's $.ajax. By that I mean I simply enter in the node url and then load the whole page.
That's probably ridiculous and totally incorrect way to do it. How do I fetch a specific field in a node without loading the kitchen sink?
Thanks
I also see this module:
http://drupal.org/project/js
Am I to u...
I want to call a aspx page method asynchronously using JQuery
...
I am trying to load HTML in to an area on my page and I can load pure text all okay, see example below:
function(msg) {
// Replace the div's content with the page method's return.
$("#CategoryExtension").text(msg);
}
However when I try to include HTML content it displays it as is, and places a quote around the content.
How ca...
I have an html form and within the form I have a <button> element. I am using jquery to redirect the page upon clicking the button (essentially I wanted to nest form elements but since its not valid xhtml I used a javascript workaround).
Furthermore, clicking the button grabs text from an input field, appends it to the query string the...
I know there are jquery plugins to round the corners on divs but is there one that will work on images?
The following browsers should be supported:
Firefox 3.0, 3.5
IE7, 8
Safari
...
Hello folks.. How to count values of two drop down using ajax or php
Example Form
Base Price : $10 Color [drop-down] Size [drop-down]
Base Price : $10
<select name="color">
<option>Blue</option>
<option>White</option>
</select>
<select name="size">
<option>8</option>
<option>10</option>
</select>
Calculation
...
Hey there!
I build a web tool for a photo lab to start print orders to be processed by the printers.
On older Mac's I am experiencing bad performance with my scripts.
I was wondering whether there are some low performing parts in my scripts.
Do you guys see such low performing parts?
thx, Max
$(function() {
/* when start button is ...
I have a paragraph
<p id="one"/>
How can I write multiple lines of text to it. I want the output as
Line 1: input1
Line 2: input2
and so on where input1 is the text in the textbox.
I have tried this till now
$("#one").text("Line 1: " + $('#input1').text());
...
Hi,
I have the following link defined in a .NET 1.1 usercontrol that has the
JQuery source file linked.
<script language="javascript" src="jquery.copy.min.js"></script>
<a href='#' onclick="javascript:$.copy('WORKED');">Copy to clipboard</a>
But nothing happens when I try to paste somewhere else???
Malcolm
...
UPDATE:
Most of the answers given have just been some way of injecting the returned document into the html of the page, but this does not seem to be working. It might help if you could see what the aspx code is doing after all:
Try
RenderDocument = Session("docSelected")
If Not String.IsNullOrEmpty(Request.QueryString("download")...
hi,
i have a tabbed view and when i hover above unselected tabs i give it the same style as a selected tab. the problem is that when i click it i can't seem to unbind the enter and leave events.
function DocReady() {
$("." + TAB_OFF_CLASS).click(changeCategory);
$("." + TAB_OFF_CLASS).mouseenter(onCategoryOver);
$("." + TAB_...
Hi,
I have a div which contains settings and options on an account management page.
$("#moreOptions").slideToggle('slow');
if ($("#moreOptions").is(":visible") == true) {
$("#lnkMoreOpt").text("Less Options «")
}
else {
$("#lnkMoreOpt").text("More Optio...
I'm having problems with IE6 and javascript applied to ajax content.
I'm not able to use any sort of javascript (plain or with jQuery) on the content that is retrieved with ajax.
I have my main html page that loads the Header content with ajax (for this task I'm using the jQuery .load() method)
Something like
<html>
<body>
<div id="head...
Hi,
I am attempting to create a div in a container within a container which is scrollable with up and down arrows in jQuery.
The only thing I can find which I wish to use was
http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm
I would've started attempting to convert that to jQuery, however it apepars to use tags like ilayer and l...
I am using the Jquery cycle plugin.
I have it working fine with basic fades. However I would like to know how to load the images using javascript instead of having all the images on the page at the same time whilst maintaining the nice fade transition.
This is so if the user doesn't have javascript turned on they will only see one im...