jquery

Clicking checkbox to expand div, doesn't work in IE7

The following code works fine in FF, but doesn't in IE7 - when clicking the checkboxes in IE the divs doesn't toggle. How do I troubleshoot these kind of issues - does anyone have an idea on how to go about this? // hide divs $('.product-optional-toggle1').css({ display: 'none'}); $('.product-optional-toggle2').css({ display: 'none'})...

jquery Jscroll Not Showing

Can't seem to get Jscroll to show up. I set a color in the style sheet just to test it but I can't get anything to show up. Any help would be greatly appreciated. http://cheapramen.com/JQuery/jscroll/jscroll.html ...

jQuery: don't auto-close dialog onClick

hi, how can i prevent the jQuery dialog from closing when i click the mouse? closing on hitting esc is fine but i want to keep it open until i close it by clicking the close-icon. any ideas? thx ...

How do I know if jQuery has an Ajax request pending?

I'm having some problems with a jQuery control we made. Suppose you have a dropdownlist that allows you to enter the ID of the item you're looking for, and when you press ENTER or lose focus in a textbox it validates via jQuery that the ID you entered is correct, showing an alert if it doesn't. The thing is that when an ordinary user en...

jQuery + Ajax Hash / History and more

Hi there, I am trying to get a handle on using URL hashes in jQuery to control history in Ajax and make links / pages book-markable. I have tried almost every plug-in out there, and I cant seem to get any to work properly, so I dont have any code examples really. But I am open to any suggestions, information, tutorials, etc. The differ...

select href attribute of a link jquery

i have the following code that is not working properly, what the hell am i doing wrong??? $('#gallerynav ul li a').click(function(){ var href = $('#gallerynav ul li a').attr('href') $("#galleries").children().fadeOut(500 , function(){ (href).fadeIn(500) }) }) i have the href of the links set like this <div id="g...

jquery accordion arrows

How can i add two arrows to mjquery accordion? One when its closed and one when its active? ...

How to trigger Mouse-Over on iPhone?

This might seem like a really dumb question, but I am writing an application and I have come across where my mouse-over, mouse-click and mouse-hover need different events bound to them. Now on Internet Explorer, Firefox, and Safari. It all works as expected. However, on my iPhone the actions will not trigger. Now my question is are the...

Build a form dynamically with Ajax, jQuery

I'm building a very small web ERP application with PHP / mySQL / CodeIgniter / jQuery The Bill/Invoice is built with current date client data etc Now, I must add products to that new invoice that is being created, without reloading/submitting the page. Each product will have its qtty., description, unit price, subtotal, etc. I'd li...

jQuery - remove list items based off of time

I currently have a page that contains an unordered list. That list is initially populated by querying my db, with each list item having a time stamp and text. Using javascript and AJAX, this page updates the unordered list dynamically every 10 seconds, if new data has come in. What is the easiest and most efficient way to remove lis...

Need a quick jquery solution to capture the current url and inject it into another url link

Howdy, My brain is fried ATM and I have a looming deadline, I am looking for a way to grab the currently viewed pages url and place it into another link for bookmarking/social links. Facebook link:http://www.facebook.com/share.php?u=[PAGEURL] Myspace link:http://www.myspace.com/Modules/PostTo/Pages/?u=[PAGEURL] Twitter link: http://twi...

Preventing further animation after reaching last item in scroll when click event is pressed multiple times

I have a horizontal scrollbox (PARENT DIV) that contains nested divs. These nested divs are results that are appended to the parent div dynamically (user doing a search). These dynamically appended divs can be scrolled horizontally by clicking on "previous" or "next" which scrolls every 3 items (411px left or right). I'm using the anima...

Dynamic Div Height Calculation - JQuery/AJAX

Hello, I've written a small lightbox plugin for jQuery (yes, there are several ready made packages -- unfortunately, the designer in my co. does not like any of them). I have one small problem -- I am using .load() to load dynamic flash content into the lightbox div. I am appending the div to the DOM, presetting visibility to hidden, a...

jQuery html() converting braces to html entities (sometimes)

Basically: I have this HTML: <div id="foo"><img src="/foo/bar/{var}/foo" alt="{var}"></div> When calling (using jQuery in Firefox): $("#foo").html() I get: <img src="/foo/bar/%7Bvar%7D/foo" alt="{var}"> My desired output is: <img src="/foo/bar/{var}/foo" alt="{var}"> What's going on here? Any tips for how to resolve this? I...

How do I have jQuery's autocomplete plugin display its dropdown list upon page load?

http://community.sciencecareers.org/mt-static/plugins/CommunityPlus/js/autocomplete/ http://community.sciencecareers.org/mt-static/plugins/CommunityPlus/js/autocomplete/demo/ Trying to programmatically trigger the display of the autocompletion list results. This, instead of waiting for user input. Is this doable? (I've tried getting ...

jQuery excluding certain columns from selection

I have a table where each row is clickable. Some columns in this table have links in them. I'd like to exclude 'link' columns from jQuery selection. My first column, and third column contains links, so I'm doing the following after iterating through each row in the table: row.children('td:gt(2)') // for column 3+ row.children('td:lt(2...

jquery treeview highlight selected

Is highlighting the selected item supported in jquery treeview? Can you point me at sample code demonstrating? ...

The 'charCode' property of a keyup event should not be used. The value is meaningless.

HTML code: <input type="text" id="secrecy" name="secrecy" size="3" maxlengh="3" />Days Jquery code: $('#secrecy').keyup(function(){ alert("ok"); }); Error message: The 'charCode' property of a keyup event should not be used. The value is meaningless. The Jquery code doesn't work.When I input something into "secrecy", ...

How to get jQuery UI to work from a Firefox extension

Hi, I've tried to engage with the jquery and jquery ui communities (email list, irc), in addition to Google and more experienced coworkers, but nothing has proved fruitful. I've found stackoverflow useful in the past, so perhaps someone will have encountered this before. My problem is this: I want to include jQuery UI in my extension. ...

My form can not be submitted even if "true" is returned in the submithandler function, what's wrong

This is the jQuery code: $(document).ready(function(){ $("#digitalchange").validate({ rules: { addbalance: { digits:true, min:20, max:1000 }, addquota: { digits:true, min:5, max:1000 ...