I have a list of items, being displayed in a series of DIVs. When someone clicks on an "edit" link, I want to replace the div with a form that will let them edit the contents of that item in a nice way.
I'm trying to think of the ideal way to handle this. Do I create a hidden edit form for every item in the list, and hook the edit link ...
Hi!
I added Google and Wikipedia search box to a page and I'm looking for a way to change the suggestions depending on the selected radio button.
In fact the suggestions language should change depending on the language checked.
Here is my actual code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtm...
This .show and .hide works great in Firefox 3 but not in IE 7.
When I click < in the list in IE the span hides but does not
show again when I select Between again.
Am I doing something wrong?
<select id="lst" onchange="onselectchange();">
<option>Between</option>
<option><</option>
</select>
&nbs...
On my website, I use some simple jQuery to slide down and up an existing element.
$('#menu li:first strong').bind('click', function() {
var searchBox = $(this).parent().find('form');
if (searchBox.is(':hidden')) {
//$('#menu #advanced-search-block').hide();
searchBox.slideDown(10...
I have a link like
<a href="www.site.com" class="cancel">go there </a>
And then I have some jQuery:
$(".cancel").click(function(){
confirm("sure??");
});
But when I click cancel in the alert box it still goes to www.site.com in stead of doing nothing. How to solve this?
...
I'm using the following code to geocode a supplied address using the Google Maps API. The idea is to geocode the address and pass the lat/long in the form post so that my controller action can utilize it. Unfortunately, this doesn't seem to work as the lat/long aren't submitted with the rest of the form. What am I doing wrong?
$(docu...
Hi all,
I'm going nuts just trying to unbind an onclick handler from the event in jQuery so I can bind it later on to another function.
I have isolated the code in a test page so there's nothing but the meat, just a button that calls a function and a script that tries to unbind it:
<%@ Page Language="C#" Inherits="System.Web.Mvc.Vie...
In jQuery error indication from jQuery.validate show near the input field and if this message shows our layout crashed.
I need solution based on flow "div" with z-index and error message show over the page and near the input field.
Thanks
...
I have been having a lot of trouble figuring out how I can access the content within an iframe in Air. Here is some example jquery code that I have been testing with.
$(document).ready(function(){
$("#frame").ready(function(){
air.trace($("#frame").contents().find("body").html());
air.trace(window.frames["frame"].innerHT...
I have read a lot about jquery and i have a webservice where i convert a companyID to the real companyName. Now i want to call that webservice with jquery or javascript. The webservice is on host http://webservice/service.asmx en i'm working on http://tlmos. I don't work and i always get an error
Here is my code:
<script type="text/jav...
I am using JQuery to create additional input fields via clicking a link. Currently, I have an autocomplete plugin implemented that works fine for the fields that were created on page load. When the user adds new fields the autocomplete does not work for those specific fields. I was just wondering if someone could help me figure out how t...
How to use jQuery to get the checked checkboxes values, and put it into a textarea immediately?
Just like this code:
<html>
<head>
</head>
<body>
<div id="c_b">
<input type="checkbox" value="one_name" checked>
<input type="checkbox" value="one_name1">
<input type="checkbox" value="one_name2">
</div>
<textarea id="t...
I have a complex UI with several nested tables, a repeater control and several other HTML controls that have their disable attribute set based on business logic in JQuery.
I need a way to disable the entire table (including nested controls, UI elements etc) and re-enable them when a user toggles a button.
I could iterate through the c...
Hello All,
Im using Thickbox 3.1 with jQuery 1.3.2 with the Validation plugin and all works great when I run the pages individually but when I use Thickbox the page popup (As it should) but the validation on the page now doesn't work (Inside the Thickbox), any help on this would be great.
BTW the strange thing is that Thickbox looks to...
I'm currently trying to use the YouTube API as part of a jQuery plugin and I've run into a bit of a problem.
The way the YT api works is that you load the flash player and, when it's ready it will send a call back to a global function called onYouTubePlayerReady(playerId). You can then use that id combined with getElementById(playerId) ...
Are there any jQuery plugins for doing intellisense in a textarea? (just javascript would work good as well)
...
Hey,
I am trying to find a jquery content slider that contains say 3 boxes at one time and you can scroll through to reveal more.
I have tried the jquery plugin repository and google, I have found ones like the Coda Slider, which I've used. Something along those lines but show three boxes of content at once.
I am going to be using it...
Hey,
I have been trying to create something like: http://jquerystyle.com/index.php - when you go over one it sets a class on rollover, and the other fade out, has anyone heard of a resource to do so?
Thanks,
Ryan
...
Hi All
Hope this jquery based simple code will help to explain the issue.
html:
<script>
$('#remover').click(function(){
$('#block').empty();
})
$('#test').click(function(){
alert(remove1); // still displays the varibale
})
</script>
<div id="block">
<script>
var remove1 = 'asasdsds';
var remove2 = 'asas...
Hi guys,
I'm implementing a click button for my animation plugin, but I found a problem. If I clicked the button too many times the elements get out of control.. I'll just show the code:
options.prev.click(function() {
$(this)
.siblings()
.filter('img')
.slice(0, 1)
.effect('drop', {direction: 'left'},...