Hi,
I have checkboxes generated with an auto ID
I am using the function below:
getAllSelectedFeeds = function() {
var val = [];
$('input:checkbox:checked').each(function(i) {
val[i] = $(this).attr('id');
});
return val;
};
It checks if any checkboxes are checked but I only want it to run for those checkbox controls with "sel...
I have a tabbed thumbnail navigation on this page for example.
When people pick a project from the submenu 'by industry -> financial' I want to make sure that the (double) submenu stays the same on the next project page, so people won't get lost in navigation. Right now it goes back to 'by name'.
I've read about the jQuery cookie plugi...
Using jQuery 1.4 to do this.
Adding a form to the body tag, nothing special about the form itself:
$(function() {
$('body').prepend('<form name="frmSample" id="frmSample"><input class="btn" type="submit" value="SIGN UP" /></form>');
});
I'm using the following to submit the form:
$('#frmSample').live('submit', function() {
var for...
For my website I have chosen to use some pretty obscure fonts in my font family. The most well known font (3rd in family) is Century Gothic, which most computers have.
font-family:Tw Cen MT,Gill Sans,Century Gothic,sans-serif;
The problem is that 12px font in century gothic is far bigger than a 12px font in Tw Cen MT & Gill Sans. IF a...
i am posting to ssl server with jquery. will my any ajax posts be protected?
...
why does $('tr:even').addClass('alt'); select from the 1st row
and $('tr:nth-child(even)').addClass('alt'); selects from the 2nd row ?
...
Hi,
Is it just me or does anyone else get errors from firebug when refreshing the following site in Firefox?
http://www.martinwhite.co.uk/greg10
One of the many messages is:
A script on this page may be busy, or it may have stopped responding. You can stop the script right now, open the script debugger, or let the script continue.
...
Can I intercept/interrogate the form submission values using jQuery in the $('#formid').submit(function() { }); call? I can't check the value from the page as it's the particular submit button pressed that I need to check. I've found this http://geekswithblogs.net/renso/archive/2009/09/09/intercept-a-form-submit-with-jquery-and-prevent...
Hello i have an HTML Code like this
<div id="top">
<div class="panel">
<h1>toppanel</h1>
<p>Content from toppanel</p>
</div>
<div class="panelholder" id="ptop">
<a class="open" href="#">open</a>
<a class="close" href="#">close</a>
</div>
</div>
for more than on time. The only differnce is the id from the first ...
Basically I am trying to write a js func that if I check a child checkbox the parent checkbox also checks, if not already checked. I am using jquery here is my html:
<ul id="ulParent" style="margin: 0; padding: 0; list-style: none;">
<li style="margin: 0 0 5px 0;">
<input type="checkbox" checked="check...
I have an issue in IE6/7 where they ignore the live binding of elements. I can't seem to find any solutions to this issue, and I really need both IE6 and 7 support (fixing one should fix the other anyway). The first click of my elements works as intended but afterwords the binding goes away and I can't get it to work. This does not happe...
Menu does not display in line. Not sure how to call the CSS code. Also I want the alert to tell me which menu item was clicked.
<script type="text/javascript">
function get_list() {
$("#tabs").click(function(){
$(this).click(function(){
alert(this);
});
});
</script>
<style type="text/css">
#...
Hi all:
I have a web page that needs references to jQuery and Blueprint and extjs, I ve seen some docs for dealing with
(1) jquery and other libraries and
(2) extjs and other libraries
The docs I ve found also seem to contradict each other a bit, and reference older versions of the libs, so was wondering if anyone did this and what i...
Ok, so the problem is as follows: I'm using jQuery's AJAX in order to make behind the scene calls within the page (on events such as voting an item) and changing the content in the appropriate element. The problem occurs when I mix AJAX with ASP.net's AJAX, more precisely when I try to do a postback AFTER I've used jQuery on the page to ...
is it possible to do such thing with jquery so lets say i have this ingreidents trun this into shoping list with check box
1/4 cup of this
1 cup of that
butter
salad
...
On the client side using jQuery, I want to know if I can just check if a link URL is valid (i.e. doesn't return a 404). This link points to another domain, so if I just use $.get() then I end up with a permission issue. I remember reading something about using a JSONP request, but I don't remember.
...
When I use the below code I'm unable to get selected tab selected(highlighted). I'm wondering if I can reload the same page when I click on a tab and get the newly select tab to be selected. Right now that is not happening. The page is design to display different info base my parameter "a". Also, I do not want use ajax.
<link type="...
jQuery("html").html() seems to retrieves most of it, except for the wrapping tag.
DOM is heavily modified, so original source is of not that much use.
Is it reliable?
Is it a good idea to just take jQuery's output and wrap ... around it? I can see at least some doctype problems here, and inclusion of scripts which shouldn't be rerun....
Can someone figure out how to combine jquery's image thumbnail pager with adding a description paragraph? Please, please see this:
http://procollage.com/site10/wall-of-fame/favs-cycle.html
I tried to add a description sentence at the bottom of the first slide and lost the thumbnail. Please help! Thank you.
<script type="text/javascri...
I have the following jquery function
$(function(){
$('.buttonEffectWrapper a').not('#browse-all a').hover(function(){
pauseResume();
var imageBrowserContent = $('#mainImageBrowser').html();
$('#mainImageBrowserTabButtonWrapper, #slideshow > div')
.animate({opacity:"0"}, {duration:250});
ajaxFunction('footer');...