I am trying to get show hide to work on multiple objects but I am unable to get it to work. Any help would be nice an much appreciated... I am lost on how to do this. If I only do one show hide it works fine but more than one it does not work properly.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://...
Hello, quick question. I am trying to use either javascript, jquery, or php to make it so when I click a link, it replaces a static image on my page with another image, for 15 seconds, then reverts back to the original image. What would be the best way to go about this?
...
I have a function that attaches the jQuery UI DatePicker (with my options) to a passed jQuery object:
function bindDatepicker($obj)
{
if ($obj == null) $obj = $("input.date");
$obj.datepicker(
{
appendText: '(yyyy-mm-dd)',
autoSize: true,
changeMonth: true,
changeYear: true,
closeText: 'Done',
...
I want to do something similar to what priceline does. It saves the recent searches in a dropdown menu. When you pick one from the recent search. The form will be populated accordingly. (See screen shot http://yfrog.com/5fscreenshot20100501at105p)
This is what I am thinking. (1) Save the searches into an array in a cookie (2), when a re...
Hey, I am wondering how exactly the below pagination systems are set up? In terms of the how the data is displayed, for instance, does BuySellAds load all results in from database and then paginate that data so filter can be done easier? or, do they call the database every time a new page is loaded and then grab the info and display it? ...
I am working on a pet project and am at the research stage.
Quick summary
I am trying to intercept all form submits, onclick, and every single keydown. My library of choice is either jquery, or jquery + prototypejs. I figure I can batch up the events into a queue/stack and send it back to the server in time interval batches to keep p...
Another jquery issue... I have tried this several times using "class" and "id" elements and I can not get it right. I am hoping the brains on stackoverflow can help!
The problem that I am having is when I open the page all elments are closed. When I click on one link all links open. I believe it closes correctly the problem is that...
These are the logical steps which I need to do with jquery:
x is a 2 digit number(integer) derived from an input.value();
If var x is **not** 33 or 44
Convert this 2 digit number to string;
split the string in 2 parts as number;
Add these 2 values until they reduce to single digit;
Return var x value as this value;
Els...
So I am trying to add an icon to an image, once someone has 'tagged' a portion of the image - i.e. they have submitted the form.
How do I do that in jQuery?
Just to be clear...imagine you are on flickr and you see an image. You want to add an annotation, you click on the image where you want, and it shows you a form field. You enter th...
hi :)
after an hour of trying to find a solution, I give up (temporarily). "this.selectedIndex = -1" clears all select element just fine in FF and other browsers, but NOT in Internet Explorer 8.
any idea how to clear select elements in IE?
thanks!
...
I was looking around a few days ago for a new script to replace the featured content area on my website's current implementation. Randomly, I can across a gorgeous one that I have not been able to find again because, like an idiot, I didn't bookmark the page.
It's difficult to explain what the slider looked like, so I'll try to make a c...
I have used the jQuery dialog code so that I can prompt my user. Is there a way to catch if the user clicks the close button (the 'X' in the top right? Thanks.
...
I have an AJAX call to load a function once the page is loaded, the function opens a lightbox a like frame with some data. The issue is that if I click on close (lightbox frame), the page loads again and again loading the frame so the use never reaches the page under the layer of frame since the frame load on infinite loop. The Ajax is r...
I have a $.get() call to a PHP page that takes 4 GET parameters. For some reason, despite giving the $.get() call all 4, it only passes the first two. When I look at the dev console in chrome, it shows the URL that gets called, and it only passes action and dbname. Heres the code:
$.get('util/util.php', { action: 'start', dbname: db, ur...
I want to use auto-completion in a number of fields (5-7) in my forms. There is a screencast on auto-completion with Prototype library by Ryan Bates ( http://railscasts.com/episodes/102-auto-complete-association). On the other hand, I have noticed that quite many guys suggest jQuery for this task ( http://jquery.bassistance.de/autocomple...
I'm looking for a good jQuery or CSS, or combo, library to enance my left side menu in an an intranet application. I don't like the 'hover only' expand/collapse style of the ASP.NET Menu control on its own, and I don't like the 'icon-click only' expand/collapse style of the TreeView control on its own.
I plan on trying the CSS Control ...
Different pages of my site have different js needs (plugins mainly), some need a lightbox, some dont, some need a carousel, some dont etc.
With regards to pageloading speed should i
option 1 - reference each js file when it is needed:
so one page might have:
<script type="text/javascript" src="js/carousel/scrollable.js"></script> ...
Hi
I m using jquery ui tabs
and i m using them with the function of dynamically closing them.
the example page here where clicking on the link 'add tab' leads to
adding of tabs in the tabs panel...
now in firefox the close buttons are displayed beneath the text of the tab
which is leading to garbled text in the tab panel or the bod...
Scott Gu's tutorial on Model validation gets us all set up with the MS client side validation using the following scripts:
<script src="../../Scripts/jquery.validate.min.js" type="text/javascript"></script>
<script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
However I've seen various posts allowing u...
hi all,
i'm having a vertical navigation in my website (items below each other) and i'm looking for a menu script (i think it's called accordeon style)
when clicking on a menu item all subitems should slide out and the rest of the navigation should also slide down.
thanks
...