So i want to isolate the element directly below the link clicked
so for example here is my Jquery and if I click on the link with the class drop all the links on the page that have the class drop_down slidedown. How can i use "this" or anything to isolate only one at a time.
$(document).ready(function(){
$('.drop').click(function()...
Now the only outstanding is the presentation layer. Want to build user interface for existing application.And as we all know presentation layer plays a critical role if its unsuccessful then rest all application is unsuccess. Choosing a presentation layer plays an important role.
Which is the best one to use for presentation layer? I th...
Hi,
So i'm using the colorbox plugin for a contact form. I am just the default colorbox properties, so it should automatically adjust to the div it contains (right?).
Well There is a small vertical scroll bar on this colorbox content when its FIRST loaded. I've seen it happen sporatically in Firefox and chrome for OSX
example - scro...
I have three tabs, made up of images that change when you rollover them. The rollover effect is achieved with the following example css.
a#tabButton_profile
{
height: 30px;
width: 133px;
display:block;
background-image: url(img/content_tab_profile.jpg);
}
a#tabButton_profile:hover{background-image: url(img/content_tab_p...
pls compare this pg in FF and IE..
http://mayacove.com/cycle/photos_cycle.html
I had thought it was a z-index problem with IE, but it's not.. if I comment out all this code..
$(document).ready(function() {
$('#photos').cycle({
fx: 'none',
timeout: 0,
next: '#next',
prev: '#prev',
af...
Where you can pick an item from a <select> menu and then it populates a second <select> menu.
It goes by too many names and they're are too many implementations. I'm looking for an up-to-date one (works well with the latest version of jQuery) that can pull the data using Ajax.
Can anyone recommend a good plugin?
...
I am sure there is a tutorial somewhere on the net on how to dynamically load markers to Google Maps while Zooming In and Out through AJAX.
Some like this site is doing http://www.visualtour.com/p_findahome.asp?q=toronro+ontario
...
Currently I have the following jQuery UI button:
$('#button').button(
{
label: 'Test',
icons: {primary: 'ui-icon-circle-plus', secondary: null}
}
);
I wish to use own image for the button called 'custom.png'.
How I can achieve that?
...
Hi,
I have this url which is JSON webservice
http://ws.geonames.org/weatherJSON?north=90&south=-9.9&east=-22.4&west=55.2
I need to write a jquery function to access the JSON object from the above url.
I am not sure how to proceed with this task. Could someone help me out with starting out the jquery code?
Thanks
Inorde...
Hi,
I am writing a bookmarklet in which I want to use the jquery forms plugin.
The problem I am having is that a web page on which the bookmarklet might be used could be using a different js lib, which already uses '$'. No problem, I can tell jQuery to use noConflict()
However, the forms plugin of jQuery also uses '$' which I have no c...
I have 2 select boxes, "#Country" and "#StateAbbreviation" if a user selects a country other than USA - .val="USA" in the #Country select box, I need to change the value in "#StateAbbreviation" to OTHER/INTL. - val="IT" and make it disabled.
Why doesn't this work?
$("#Country").change(function() {
if($(this).val() != 'USA') {
$(...
So I've made a menu sort of thing, affixed to the bottom of the screen via CSS fixed position, and it works fine. Only problem is that when the page is scrolled down somewhat, and then the menu activated (slide up animated with jQuery), the page jumps to the top again. It's pretty irritating. Here's some pertinent code:
//handle click o...
I use Uploadify to upload multiple pictures to server.
I want to display pictures thumbnails before the pictures are actually uploaded to the server, based on this. I use Firefox 3.6.6.
Here is how I thought to do this:
$('#fileInput').uploadify({
...
onSelect: function(event, queueID, fileObj) {
var img = document.cre...
There doesn't seem to be an easy way in (well supported) css to do this. I'm looking for a javascript solution, preferably jQuery.
I have an unordered list like this:
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
<li>D</li>
<li>E</li>
...etc
</ul>
I want each column to have a height for example four items and ...
I'm using the following lines of JavaScript to validate an input as a valid email address:
// Check for a valid email address
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
var address = $('#formRegister-emailAddress').val();
if(reg.test(address) == false) {
// Validation Failed
alert('Please enter a va...
Hi I have the following function, I need to make it return false only if one of two other checkboxes are checked.
$.validator.addMethod(
"ReutersNA",
function(value, element) {
var selectedCountry = $("#Country").val();
var NorthAmerica = new Array("USA","CAN","MEX");
if($.inArray(selectedCountry,NorthAmerica) > -1) {
r...
I have a jQuery function that allows a user to create a list of links. By clicking on an "add row" link they create as many of these blocks (shown below) as they like which they can type the information into.
<div class="links_row">
<input type="text" name="link_name[]">
<input type="text" name="link_url[]">
</div>
I am post...
in a page of my asp.net mvc website jquery not worked.
when i test the html source then i see the jquery script is not written
but i used only one master page to load all jquery on every page .
so where my jquery. when i debug my jquery then error found $ is not defined
off course it come because jquery not load
are you know why m...
Hello,
I need help in regards to updating a table rendered by jQuery data-tables plugin.
I have a view called Index.aspx in which I have a DIV, where the traditional table data is rendered. Something like:
<div id="students">
<table ...>
<thead>
...
</thead>
<tbody>
... (all the r...
Hi,
I get the session MaxInactiveInterval time using the following query. I am developing web application using JSF Framework
var sessionMaxInactiveTime = ${pageContext.session.maxInactiveInterval};
I need to set maxInactiveInterval.
how to set maxInactiveInterval using JavaScript, JQuery, or to write Servlet.
But i want to contr...