Well I have a 50000+ row table so I can't load all rows into each page for the user to use autocomplete, so I am trying to use an ajax call via the extraParams parameter but don't know:
1) What format to make the results display in on the page being called via ajax (get-dropdown-results.xml in this case)
2) How to get these results int...
I'm mapping an array of two-tuples from one domain (dates) to another (timestamps). Unfortunately, it looks like jQuery.map auto-flattens the two-tuples I return, and I don't see a do_not_flatten parameter.
Am I missing something else in the library that won't auto-flatten?
Addendum: I assume that I shouldn't be using Array.map, which ...
Hey guys,
So I'm seeing some strange issues in ie8 with jquery, and assorted javascript files. These errors are not occurring in Firefox, Safari, or previous versions of IE. The main thing that's happening are variable undefined, mismatched bracket errors, etc... but the error changes each time you force-refresh the page. Checking the c...
I need to prevent the automatic scroll-to behavior in the browser when using link.html#idX and <div id="idX"/>.
The problem I am trying to solve is where I'm trying to do a custom scroll-to functionality on page load by detecting the anchor in the url, but so far have not been able to prevent the automatic scrolling functionality (speci...
I have read a lot at jqueryfordesigners "better coda slider" HERE
i just like to make the arrow to select to next div in the list or the previous..
i have paste the coda code there... no luck...
i could use some help !
the page
...
I have a bunch of automatically generated divs that have a number for their id. Whenever I use this.id to fetch the id it outputs nothing. However when the Id is text only it outputs the id properly. How could I fix this? Anything Helps. Thanks
Edit:
$(".draggable").draggable();
$("*", document.body).click(function (e) {
...
For example, I have a div with an id (lets say "the_div"). This div contains an unordered list, and this list has 5 items in it.
How would I add a class to the third list item, without any of the list items having a class attached to them?
Edit: Even better, how would I change the list item text to equal what number element it was?
Th...
I'm a newbie to jquery, but am trying to use it in my project.
I'm trying to loop through all the links inside #rate_box and add a click event to them. This click event will post some data to an external php script, and then it should unbind the click events on all of the links (so people cannot rate twice in quick succession.) Then it s...
var req = function () {
$.ajax({
url: "out.php",
cache: false,
success: function(html){
$("#stuff").empty().append(html);
},
complete: function(){
req();
}...
Hello all. I'm working on a web application for which I'm attempting to implement a full featured windowing system. Right now it's going very well, I'm only running into one minor issue. Sometimes when I go to drag a part of my application (most often the corner div of my window, which is supposed to trigger a resize operation) the web b...
Hello all,
I’ve got a requirement to create tabs for content displayed on a web page, so that a user doesn’t have to scroll vertically to read all the content.
Is there a way for jQuery to automatically divide page content into chunks and wrap that into tabs? I’m sure I saw something somewhere once…
...
hello,
i have a html-string from a ajaxloaded source and i would like to get some attributes from an object (image) in this string, before i put the whole html into the document.
since now i've something like:
$.ajax({
url: uri+'?js',
success: function(data) {
var htmlCode = $(data).html();
$('#otherObjec...
I'm trying to clone a list item, and then append it to the bottom of that cloned list item, note that it should be below the list item being cloned, not at the bottom of the list as I can do that myself. The purpose is to use it with jQuery.ui sortable.
Everything is working fine, in fact I can even get the cloning and the appending ri...
Hi,
We have a very slow ASP.NET page with a repeater. It is slow because most of the processing is done in the ItemDataBound event of the repeater. All this processing just gets 2 totals to be shown in each row.
To increase the throughput, it could be a good idea to load the repeater without ItemDataBound event and without the 2 totals...
I'm looking to implement a web interface with a number of items which can be selected and dragged around to position them, either in groups or singly. Rather like the Windows Desktop, really.
We're using JQuery already, so additions to that would be first choice. JQuery UI Draggables and Selectables individually do much of what we wan...
Hi,
Just trying to crate a simple comment form on a blog. I want to load the user's gravatar (using jquery) when he/she writes this in the email box.
Anybody have a good code-snipit?
...
Up until this point, I haven't done much in javascript. I recently started playing with jQuery and came across a tutorial on how to do Edit in Place on a form.
The resulting code works perfectly if you hard-code the id of your container div in the function, but I'm having issues generalizing it for an id passed in to the function.
The...
Hi,
I have been using the jQuery nyroModal plugin for a little bit of time, and frankly its one of the best modal plugins I've used to date! I'm hoping that a lot of other people have also used this plugin, hence me requiring some help with regards to using it along with ASP.NET.
I have however run into a problem with it in the past a...
Hello,
When I generate a page with jquery (by including a startup.js in a html page), i cannot acces a cookie through flex.
startup.js
function init_element() {
$(document).ready(function(event){
$("#accountBarDiv").css("position", "absolute");
$("#accountBarDiv").css("left", "0px");
$("#accountBarDiv").css("background-color", "tr...
Hello,
I have a sortable list and a draggable div:
<div id="draggable">Add Item</div>
<ul id="sortable">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
<li>item 4</li>
<li>item 5</li>
</ul>
#sortable is already a .sortable().
I should be able to "drag" another item between any of the list items (first, middle, l...