Is there a way to have a text validation tool for jQuery such that:
Box 1: Hi
Box 2: Automatically fills with Hi if Hi is entered in Box 1
In another case if,
Box 1: Bye
Box 2: If the user enters Bye in Box 2 it says that they entered an invalid response
Also is it possible to have it such that if Choice A is selected in a a combo bo...
I'm using Firebug to help figure out what's going on in my JavaScript (+JQuery) code. I'm mainly using it to print out tons of console.log statements. This is probably not the most efficient way to stay on top of the project. As it has grown from just a few functions to over a hundred I am starting to get confused about how everything fi...
Hey,
I have a web page with a table that displays data from a database. There is a main being displayed and an additional that is hidden and only displays with jquery when the user clicks a button that is on the first main .
The problem that I am getting is when I use the datatables plugin, it finds all the rows and counts them, so I...
Can jquery interact with XML like Flash do. I want to make random text rotate with jquery and XML(text will be in XML file)
look at this http://healmyptsd.com/ left testimonials section in left under navigation bar. right now there are 3 images. I want to use selectable text and images in background for every testimonials. and the matt...
Hello,
Say I have a jQuery plugin like $.abc = function() {}. Now I want to provide an extra module which uses the same scope as $.abc and extends its functionality. For e.g. in my abc plugin I will check if say a variable mod1 = true; if its true, then I will automatically call thoso functions of mod1.
My question is how do I write mo...
This is one of those situations where I feel like I'm missing a crucial keyword to find the answer on Google...
I have a bag of parameters and I want to make the browser navigate to a GET URL with the parameters. Being a jQuery user, I know that if I wanted to make an ajax request, I would simply do:
$.getJSON(url, params, fn_handle_re...
I have a list thumbnails that lead to larger counterparts when clicked. I'd like to show the image title in a div, at the bottom edge of the thumbnail. Also, when a mouse is moved over the thumbnail, it shows a 2nd div (containing text) over the entire thing.
Whats the best way of doing that? If a js library is required, jquery is prefe...
Hello,
I have lots of jquery functions in my script but a particular one is not working, this is my function
$('#delete').click(function() {
var id = $(this).val();
$.ajax({
type: 'post',
url: 'update.php',
data: 'action=delete&id=' + id ,
...
How do I count the number of tr elements within a table using jquery. Sorry, I sense this might be basic but i've been banging my head against it.
I know there is a similar thread, but I just want the total rows.
http://stackoverflow.com/questions/613024/count-number-of-table-rows-between-two-specific-rows-with-jquery
...
How can I highlight some portion of the text in TextArea? For example I have start and end position of the text and I need change its background color to yellow. How can I do this using jQuery or simple JavaScript?
...
So i've followed the tutorial Zend Framework: Navigation and Breadcrumbs with an XML File in ZF 1.8 and all is working well, but i now want to use the jdmenu jquery plugin to renderer a cleaner looking horizontal menu. By default, the Zend framework wraps the menu html code in this element name
<ul class="navigation">
I think i can ca...
I'm trying to write a javascript application that loads data from the openstreetmap API (http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6), which is basically just a restful xml api. I'm trying to use jquery to access the XMl. however I get security errors. This is a cross site scripting blocking.
How can I access that XML? A...
When placing a google map inside a jquery-ui tab, the map fails to display properly in certain circumstances. To reproduce:
Go here
Click the 'list' link
Resize the browser window
Click the 'map' link
Observe that some of the place name overlays draw properly, but others do not. I've actually stripped out all of the jquery-ui stuff t...
I have a flash object that I am trying to show and hide along with the rest of my hidden div. Without the flash object, the hidden div works great. When the page loads, this style keeps the div hidden:
<style>
div {display:none;}
p {display:none;}
div p {display:none;}
</style>
But when I add the flash object it always appears.
<div ...
Hello, I am attempting to use AJAX in jQuery to load content to a div, however, it is severely failing:
Here's the javascript:
$(document).ready(function() {
$('#webdev').hide();
$("#apply-webdev").click(function() {
var form = $("#webdev");
var formContent = form.find("#webdev");
form.slideToggle();
...
In the flowing javascript code there is one $(window).
What does it mean???
$(window).bind('load', function() {
$('img.protect').protectImage();
});
...
Hey people
I'm seeking an js menu like the link below.
http://www.mtv.com/mtv2/
jQuery would be a plus!
...
I am trying to make a sort of "scales" look, where two divs will slowly animate up and down like being weighed on a scale. I could use some help with the functions though please, I can not get two to animate simultaneously on page load, and I need them to go up, then back down, then up, etc... Make sense? Here is what I have so far, I a...
Hi all,
I have an html page full of data. Whenever the user hovers over an entry, a popup window appears (similar to a tooltip). I want this tooltip to stay in view as long as the user does not click outside of it, AND lock out other tooltips from being displayed.
My question is this: How do I "lock out" other hover events, either by u...
a:link {color:#FF0000} /* unvisited link */
a:visited {color:#00FF00} /* visited link */
a:hover {color:#FF00FF} /* mouse over link */
a:active {color:#0000FF} /* selected link */
The pseudo-classes (link, visited, hover, active) don't do exactly what I want which is to highlight the last-clicked link on a page to be a different color ...