hi
im saw this jquery script: http://jquery.bassistance.de/validate/demo/
and i want also the posibility to show a field when a button is checked
but not with a checkbox. but with two radiobuttons. if radiobutton1 is checked, display field1 and if radiobutton2 is checked display field 2
what do i have to change..?
<script type="text/ja...
hi,
i am using textarea elastic plugin JQuery.
this is the plugin
(function(jQuery){
jQuery.fn.extend({
elastic: function() {
// We will create a div clone of the textarea
// by copying these attributes from the textarea to the div.
var mimics = [
'paddingTop',
'paddingRight',
...
Well After you edit in a row in this table i've created on focusout it suppose to reload the entire row with updated data, the thing is the trigger event stop working after the first load so any changes done after the first one doesnt get saved.
I use currently this code
$(function () {
$.ajaxSetup ({
cache: fals...
Hi. I've got a jQuery snippet which basically allows a user to toggle a div, open or closed - their preference is saved in a cookie.
(function($) {
$.fn.extend({
collapse: function(options) {
var defaults = {
inactive : "inactive",
active : "active",
head : ".trigger",
group ...
Hi,
I've found someone with a tutorial showing what I'm essentially after, however, the demo is for a submenu that slides down instead of having the the submenu slide up above the menu item.
Here is the link to the tutorial:
http://www.darkscarab.com/blog/read.php?id=14
Here is the jQuery script it uses:
$(document).ready(function()...
Hello all,
How do I remove numbers from a string using Javascript?
I am not very good with regex at all but I think I can use with replace to achieve the above?
It would actually be great if there was something JQuery offered already to do this?
//Something Like this??
var string = 'All23';
string.replace('REGEX', '');
I appreciat...
hey all - looking for a way to list all onclick's on a page,or elements that contain an onclick. Please help!!
...
Hi, I would like to create a zoomable image map containing irregular shapes upon which you can click to go to their link (actually different countries in a simple map of the world).
I have found a few examples of zoomable images using javascript and/or jQuery, and a few examples of irregular-shape image maps, but nothing that does both ...
Hello,
I have two columns, they are both floated to the left.
Inside the left column I have a 'trigger' to hide the right column, this makes the left column expand 100% when the right column is hidden. Right now I am able to make the right column appear back, but the problem is that the right column wraps under the left column (of cour...
Is it possible to automate the showing/hiding of a ajax loading gif, and the disabling/enabling of the submit button at the same time? (when the submit button is a styled < a > not a input type=submit)
Currently when submitting I do this:
$("#save_button_id").click(function () {
if ($('#save_button_id').hasClass('ui-state-disab...
Hi I need help with a bit of jquery, I am renaming dropdown lists when a checkbox next to them is clicked. I want to get the selected option value of the dropdown called 'Prev' in the code below and assign to the checkbox that is clicked. I hope it makes sense. Thanks
$('.mutuallyexclusive').live("click", function() {
chec...
Quite embarrassing how much time I spend trying to get to download a zipfile from a button....
<button type='button' id='button-download'>download zipfile</button>
$("#button-download").live("click", function() {
$.get("http://localhost/admin/zip/002140.zip"); // doesn't work?
})
I need something bullet proof here, that's why I ...
Hello,
Is it possible to add a live function on a plugin?
The jPikcer plugin wont work I create it from a .live('click', function(e)
Example:
$('.Multiple').jPicker();
Thanks,
Gino
...
Hi, I am looking for a way to debug what a jquery selector returns/selected.
I tried to use toString() but that only returns [object Object].
What I am actually trying to do is to attach a callback to radio buttons. And on click
on one of the buttons I want to submit the enclosing form.
Therefore I try to do something like this:
...
Hello,
I am trying to write a simple input field validation plugin at the moment (more of a learning exercise really) and thought this would not be too hard, seeing as all I should have to do is:
Get input fields
Store them in array with each one's
value
On submit of form check if array
contains any empty strings
But I seem to fail ...
I am using JCarousel plugin for sliders. It is working fine.
But i wan this effect in another plugin called moving boxes
I have 3 List items in Jcarousel. i want that the middle should expand like in moving boxes.
There are two functions in moving boxes JS file called slider.js
returnToNormal("#panel_"+curPanel);
growBigger("#panel_"...
Possible Duplicate:
Good JavaScript IDE with JQuery support ?
is there any free Jquery IDE or online tool? to write and test jquery easily and visually.
With jquery 1.4 intellisense and WYSIWYG.
...
I have an application that allows the user to create an article. The problem arises when the user pastes from something like Word which comes loaded with a bunch of markup.
I'm using a jQuery editor called tiny_mce which allows the markup. I do a htmlencode and decode obviously but it means that i carry a huge payload of markup.
Is t...
I'm trying to filter button events based on whether they have a CSS class assigned to them or not.
Assume I have a button like this:
<button id="save-button" class="ui-state-default ui-corner-all">Save</button>
I want to get jQuery to select all buttons that currently do not have a class of "ui-state-disabled". The selector I'm usin...
I have a frame and I want to dynamically add content to it with javascript or jquery but I can't do something like $('#myframe').html() like I could for a DIV. Is this possible?
...