Example (load in IE6): http://jsbin.com/uheco/14
In IE6, if the user clicks on a SELECT and does not click any OPTION but instead clicks somewhere else on the page outside the SELECT, the SELECT still has focus.
I expected the SELECT to lose focus when I clicked once outside of it (such as in IEs 7 & 8).
Functions bound to the blur ...
Hello guys,
I was hoping someone can point me in the right direction. I am looking to use this plugin along with jquery.validation plugin in my forms but from what I see I would need to use a select tag in order for creditcard2 to function correctly.
What I currently have is this:
<p class="ccType">
<label for="card_type" class=...
Hi All,
$('#div1').load(url, {
id1=ident1,
id2=ident2
}, function() {
// Foo
})
is doing a post instead of what I thought should be a get. Is there a way to make it a get?
Thanks,
rod.
...
I created a WCF SOAP service using VS 2008 that works server side. I tacked on the code below to call the same service/contract client side using jQuery/json (no ASP.NET scriptmanager). When I put the service url into the browser, I get the correct service page and when I invoke the service from javascript and trace via Firebug, I get ...
I have this code
$('#Submit').click(function(event) {
var checked = $('.inputchbox'); ......IE8
var ids= checked.map(function() {
return $(this).val();
}).get().join(',');
alert(ids);
});
This Code return all the values which is there for Checkboxbox (.inputchbo...
I am using the jQuery Datepicker without any problem for TextBox controls that are non-templated. However, I am unable to get the datepicker to work with a TextBox that is in an EditItemTemplate of a ListView control. My latest attempt is to get a handle on this textbox by CSS class name "DateControl", any ideas?
<asp:ListVIew id="lvTes...
I need to display an image in a resizable dialog (so far all the specific image popup libraries I have tried do not fit my needs).
All I want to do is maintain the aspect ratio during resizing. Sounds easy, but it's not.
I thought something like this might work, but no dice:
var d = $("").dialog({title:title, width:400, height:400});
...
i've found a lot of news ticker plugins that kinda do what i need, but not exactly. i want to do exactly what twitter.com does on their home page with the "Top Tweets". facebook also does this on their feed. basically whenever i have a new item i want all the LIs to scroll down, make room for the new LI on top, and fade it in. the ne...
The problem occurs when I try to create small plugin to allow me toggle on and off WYSIWYG on all textareas in the website.
//$('form.default textarea').each(function(){
// console.log( $('<a href="#">Enable WYSIWYG editor</a>').insertAfter('form.default textarea').prev('textarea.wysiwyg').tinymce().hide() );
//});
The full (a bit si...
Here is html:
<a href="http://site.com/any/different/folders/picture_name.jpg">Go and win</a>
<a href="http://site.com/not/similar/links/some_other_name.png">Go and win</a>
How to add some text after last "/" in href attribute (before picture_name.jpg) of each link?
The script should give something like:
<a href="http://site.c...
Hi,
I have a form with some text-inputs: login, password.
If user sees this form the first time, input-texts should "contain" prompts, like "enter login", "enter password".
If user clicks text-input, it's prompt should disappear to allow typing.
I have seen various examples, that uses background image with prerendered text on it.
Tho...
What is the mechanism/algorithm involved in functions that perform a fade of some sort? What are some links or resources i can check out when it comes to this matter.
...
Hi there,
I'm making a webpage that needs to switch between background images on a page, where the user can click on back and forth arrows to sift through each background while browsing.
For each background there needs to be a dynamic description for each image.
For example, the user may load the page and see the body background with a...
I have a site and I am using this plugin for validation in the registration process. I have seen sites where when you exit the email address field, it goes out and checks to see if the email address exists before you hits the submit button. I know this is ajax but I cannot figure it out.
How do you validate if an email address (or a...
So I'm trying to use javascript to pop up a video, and need to know when I'm in an iframe so I can resize the video accordingly.
When outside the iframe, I see three alerts ('this is seen by both', 'not in iframe', and 'this is after the fact')
When in the iframe, I just see the first alert ('this is seen by both').
var handleViewVide...
I am trying to add an onClick event to an anchor tag ...
Previously i had ...
<a href="somlink.html" onClick="pageTracker._link(this.href); return false;">
But i am trying to avoid the inline onClick event because it interferes with another script..
So using jQuery i am trying the following code ...
<script>
$(document).ready(fu...
Hello SO.
My websystem im coding with now is integrated from the originally phpBB system. With this i mean when you log on my websystem, you have actually logged into the forum from the login page. Now i came to the "log out" part, and i want to make it smart. Right now its a simply link with logout:
<a href="<?php echo BASEDIR; ?>../....
My questions are: What's a meta, what do subscribe and unsubscribe do, and what does startBatch/endBatch do?
...
I need to check if an element is x pixels from the bottom of the page, to dynamically load new content. currently, scrollTop and height do not match even if the bar is on the bottom.
jquery is allowed, although basic javascript would be more helpful.
...
I'm not too good at javascript. and hope I can get a bit of help. I'm using Coda Slider 2.0, and have designed it to where the tabs are another slider to the right of the main slider, and each item. Basically like this mootools plugin http://landofcoder.com/demo/mootool/lofslidernews/index2.1.html
Problem is the items will not scroll. H...