jquery

JavaScript problem with IE

I built a site about 6 months ago now and designed a menu with some interactivity using jQuery. It worked great in my friends (Firefox, Safari, etc). Turns out that now IE7 & 8 are not playing ball. The error in IE points to jQuery (on Google's CDN) with invalid argument. The page can be viewed here. Move your mouse over the top heade...

Howto change all links to text in a div tag

I'd like to get rid of all links in a specific div tag with the help of jquery. E.g from this: <div id="some_div"> <a href="whatever.html">click here</a> </div> To this: <div id="some_div"> click here </div> Thanks in advance. ...

jquery slideshow

Hi, I need a jquery slideshow with div popup i want to show my image gallery in that slideshow. I have three villas images in gallery each with a set of 5 images. when i click on the first villa image, that slideshow my show the rest of four including the one i click. similary with other two villas. i have stored the images of my ...

JQuery selected tab problem?

I'm fairly new to JQuery and for some reason I can't get the currently selected tab to highlight correctly it should be a different color when selected. Can some one help me fix this problem? Here is the JQuery. $(document).ready(function() { //When page loads... $(".form-content").hide(); //Hide all content $("#menu ul li...

Formfill in Javascript not working?

var tagMatch; if (tagMatch = window.location.href.match(/\/questions\/ask\?tags=([^&]+)/)) { $(function() { if (!$('#tagnames').val().length) { $('#tagnames').val(unescape(match[1].replace(/\+/g, ' ')); } }); } Hi all, this JS code is supposed to match the latter-part of a URL of the fo...

ASP MVC w/ JQuery .get() call failing

I'm attempting to fire off a JQuery .get() to a MVC (2 rc 2) controller. I can see the JS function call happen, then when the .get() is called it never comes back. (1) It would be great to know what I'm doing wrong to fix the immediate problem (2) It would also be great to have an education on what to do for debugging these async reque...

Help with jquery datepicker calendar date disabling

I'm hoping to get some help with my problem i have been having with jquery datepicker. Please visit this site for information regarding the problem with code samples: http://codingforums.com/showthread.php?p=929427 Basically, i am trying to get the 1st day and day 31st working and have yet to find a way to do this. They say it may be a...

How to post a Array using Jquery..

hello frieds this is how i usually post a variable using Jquery.. $.post("include/save_legatee.inc.php", { legatee_name: legatee_name_string, legatee_relationship:legatee_relationship_string, ...

CSS selector for innermost TABLEs?

Is there any way to select only innermost tables? That is ones that do not contain any more tables inside them? I know I can filter by element.getElementsByTagName("table").length == 0, I'm just wondering if there's a more elegant solution. ...

Watch for Creation of Specific Element (by id) with JQuery?

I am going to be loading a swf into a div tag when the user initiates some action. The div tag's id is container, the embedded swf's tag id will be swf_content. I want to be able to set a variable to that swf_content tag when it is loaded. So something like: $("#swf_content").ready(function() { SWF = $("#swf_content").get(0); }) ...

jquery programmatic popup window

Hi, I'm new to Jquery, so please bear with me. I'm trying to create a function that will programmatically open popup windows. I'm running the following code in Firefox, and it seems to work except that the popup windows disregards the toolbar/menubar/scrollbars/resizable/location parameters (they are still visible/functional and I woul...

jQuery selector

I have this HTML code: <div class='com_box'> <div class='com_box_c'> <div class='com_box_info'> <a id='quote'>quote</a> </div> </div> </div> When I click in a#quote i want to add a textarea after '.com_box'. How do I select the outer div? Here is my no working try so far: $('a#quote').click( function() { var...

JQuery with Forms

I have the following HTML: <form class="lala"> <input type="text" id="textv" value="Text 1" size="5"> <input type="submit" value="Go!"></form> <form class="lala"><input type="text" id="textv" value="Text 2" size="5"><input type="submit" value="Go!"></form> Now I have the following JQuery: $(document).ready(function(){ $(".lala")...

Strange menu behavior

Take a look at http://sensenich.bythepixel.com The top menu, when you hover over "Products" and expand "Propellers", everything works as it should. I want the Propellers to collapse when I hover away from the menu, which it does. However it also collapses the propellers when I try to click on "Accessories". I can't for the life of me...

jquery datepicker highlight dates

Hi guys, i'm struggling to highlight the dates[startdate - enddate] which i select.Can anyone help me? ...

JQuery collapsible tabs problem?

I'm fairly new to JQuery and for some reason when I add another id selector like id="a" to my <div id="tab-1" class="form-content"> my collapsible tabs wont work how can I fix this problem so I can have multiple id selectors and my collapsible tabs will work also? Here is the JQuery. $(document).ready(function() { //When page load...

jquery photo slide

Hey guys, I have an image, when i hover on it i am able to view left and right arrows... when i click an arrow i am changing the source attr of the image using jquery... so i am successful in changing the images on clicking the arrows.. what i want is, how do i get the slide show feel... the animation pat where the current image slides ...

Dynamically loaded flash movie is on top of jquery dialog: how to change zorder?

A flash movie is loaded on a page via javascript (replaceChild on a div) I add jquery datepicker to a input above this movie. When the datepicker (or other jquery element) is shown, it is shown under the movie (wrong zorder) The element do have "z-index: 99" in its css class How do i bring the jquery element up? [Edit] Theres no s...

jQuery autocomplete show results 'containing' query not begining with query

jQuery autocomplete plugin shows results that begin with the query you type into a search box. How would you amend the plugin to allow you to show results that contain the query you are typing? for example, i am searching for people, i want to be able to type either a firstname or a surname, i type 'and' i want it to show Adam *And*erson...

ASP.NET MVC with JQuery $post and parameter

Hello, What is wrong with this code. The code is finding the javascript and debug1 shown. If I remove the parameter p the code also founds mycontrol action and debug2 is shown. View: function method(p) { alert("debug1"); $.post('../MyController/MyAction/' + p, function() { alert("debug2"); $('#panel').empty().h...