Using jQuery (and UI), I want to be able to drag table rows out of the table and drop them on some element. The rows themselves should not leave the table, similar to how iTunes works when dragging multiple selected songs. I need to use a table since this is tabular data and I already have a table sort plugin in place.
Any idea how to ...
I am using jCarousel to have a carousel of images in my page. It works great and have no complaints, but I am using the tabbing on the page and when I goto another tab, it get an ugly jCarousel error. Basically what I want to do is to remove the jCarousel from my element when I goto a new tab but for the life of me can't figure it out
...
I'm looking to write jQuery to only enable radio buttons depending on which radio buttons are currently selected in accordance with some business logic.
Essentially there are 3 groups of 3 radio buttons, which end up looking something like (my apologies for being verbose with this example HTML, but hoping this will show what I mean):
<...
$('.tab').click(function() {
$(this).unbind("click");
var classy = $(this).attr("class").split(" ").splice(-1);
var ihtml = $('.content.'+classy).html();
$('#holder').html(ihtml);
$('.tab').removeClass('highlight');
$(this).addClass('highlight');
$(this).unbind("click");
});
So in this code I have basically, a tabbed interface. ...
I'm doing a simple chat script and I have the killSession function which kills the current session and deletes the user from the DB. The problem is that after the name is set and verified the chat form doesn't load, it just kills the session and goes back to the loginForm(). Here's the script:
<?php
if (!isset($_SESSION['name'])) {
log...
Hey, sorry to be such a nuisance, but I have another jQuery problem. Same code.
$('.tab').click(function() {
$(this).unbind("click");
var classy = $(this).attr("class").split(" ").splice(-1);
var ihtml = $('.content.'+classy).text();
$('#holder').html(ihtml).slideDown("slow");
$('.tab:not(.activ...
I have a table, and I'm allowing users to 'select' multiple rows. This is all handled using jQuery events and some CSS to visually and data-wise indicate the row is 'selected'. When the user presses shift, it is possible to select multiple rows. However, sometimes this cause text to become highlighted. Is there anyway to programmatically...
Hello,
I'm still kindof new to jQuery, so there probably is an easy solution, but I can't find anything.
I've made this registration form, that checks if the username or email is taken as the user is typing in the username. Basically it just makes a json request that returns true or false depending on if the username / email is already t...
Hi
I am using asp.net mvc and I am trying to send 2 sets of database from jquery to my Mvc view.
Now my view will look like this
public ActionResult MyView(Product one, Product two)
{
}
now how do I send the stuff back so everything will be binded correctly? I know how to do it with one set of data but not with 2.
Like if I only ne...
There are several good Javascript editors for Markdown / Textile (e.g.: http://attacklab.net/showdown/, the one I'm using right now), but all I need is a Javascript function that converts a string from Markdown / Textile -> HTML and back.
What's the best way to do this? (Ideally it would be jQuery-friendly -- e.g., $("#editor").markdown...
I have a list of draggables connected to a list of sortables. The drag/drop works fine as does the sorting. The thing is that before the list gets sorted, I need to create a record in the DB (using rails). So I use $.post which works fine, but I need to change the the id of the inserted element. I do this by changing the id of the insert...
Hi all,
I wonder if it is possible to get the page title of an url within IFRAME. I tried to use jQuery $('#iframe').attr('title') but that doesn't work. Please help. Thanks.
...
http://wesbos.com/tf/shutterflow/?cat=3
when one hovers over an image .cover is faded in. I use jquery to change the opacity because CSS doesn't work in IE for this purpose.
My code is:
$(document).ready(
function() {
$('.slide').hover(
function() { $(".cover").animate({ opacity: 0.7 },300 ).fadeIn('300...
i have a form to enter directions and display a google map
<form action="#" onsubmit="setDirections(this.from.value, 'address', 'en_US'); return false">
Outside the form i have the following:
Formatted Directions<div id="printdirec"><a href="http://maps.google.com/">Print Directions</a></div>
i want to change the value inside t...
on form submit, i am trying to grab the value of the textbox below and shove it in an url
<input type="text" style="width: 300px" id="fromAddress" name="from" value="" />
here is my jquery code:
<script type='text/javascript'>
$(document).ready(function() {
$(":submit").click(function(e) {
var fro...
Is there a Javascript library that exposes a function to automatically turn URLs and email addresses into clickable links? Basically I'm looking for something that duplicates the Rails helper auto_link().
...
Hi, I've been developing a site (for now is here as an example: http://neurotoxine.mine.nu/gloom), and I'm getting a strange behaviour from a styleswitcher code. It's big so please be patient.
First, you may go to the site I appointed first and see it.
What you've got there, it's a joomla page, with a Jquery using
var $j = jQuery.noCon...
Right now I'm using Jeditable for edit-in-place functionality. Jeditable has some nice options, but (as far as I know), it doesn't allow you to trigger editing except by clicking the element in question.
I.e., suppose my element has id comment. With Jeditable, the only way to start editing is to click comment. What I'd like is to put so...
http://www.resumebucket.com/signup
Is there a ready plugin to implement this?
Should not be big in size.
...
I need to generate unique ids in the browser. Currently, I'm using this:
Math.floor(Math.random() * 10000000000000001)
I'd like to use the current UNIX time ((new Date).getTime()), but I'm worried that if two clients generate ids at the exact same time, they wouldn't be unique.
Can I use the current UNIX time (I'd like to because tha...