I have created a jQuery content switcher. Generally, it works fine, but there is one problem with it. If you click the links on the side multiple times, multiple pieces of content sometimes become visible.
The problem most likely lies somewhere within the click event. Here is the code:
$('#tab-list li a').click(
function() {
...
I have implemented the jquery thick box in my page to show another page content in the light bix.I used the iFrame mode of thick box to do this.Now i have a asp.net link button in the page which is being show in the light box. I want to close the light box from client side when this link(in the inner page) is clicked .Which function i ha...
Netscape fails to read a lot of jQuery written. What steps do you take to overcome these, and how much of the market do netscape users take up?
...
I'm using the Blueprint CSS grid for my HTML page. I have a table which I want to show/hide - linking it to a button, using jQuery. The problem is that everytime I click on the button to show/hide the table, everything on the page shifts slightly left-right.
Is this a common problem? Does anyone know what could be causing this and what ...
Is it possible to do this:
myfile.js:
function foo() {
alert(<my-function-name>);
// pops-up "foo"
// or even better: "myfile.js : foo"
}
I've got the dojo and jquery frameworks in my stack, so if either of those make it easier, they're available.
...
I'm trying to position a div at the top left corner of the page, and I want it to stay there regardless of browser window resizing or page scrolling.
How can I do this either with plain CSS (if possible), or with jQuery?
...
I'm having a serious issue with Internet Explorer cachings results from a JQuery Ajax request.
I have header on my web page that get's updated everytime a users navigates to a new page. Once the page is loaded I do this
$.get("/game/getpuzzleinfo", null, function(data, status) {
var content = "<h1>Wikipedia Maze</h1>";
content ...
I am learning jQuery and have a created several plug ins.
Unfortunately due to my company's coding practices they want all javascript code to be extract out to js files. This for me poses two challenges:
Can i extract the actual $(document).ready(..) call to a js file? So far with my limited knowledge I have not figured if this at all...
I am having 3 images. How can I access each one of them and then check the src to see if it matches a string. If the src matches a string, highlight the image.
...
Quick question, why doesn't the appendTo option work without setting helper to 'clone'?
.draggable({ appendTo: 'body', helper: 'clone', zIndex: 2 })
will create a clone appended to the document body, but
.draggable({ appendTo: 'body', zIndex: 2 })
will not do anything. This only presents an issue in IE though because DOM order take...
What would be a good way to attempt to load the hosted jQuery at Google (or other Google hosted libs), but load my copy of jQuery if the Google attempt fails?
I'm not saying Google is flaky. There are cases where the Google copy is blocked (apparently in Iran, for instance).
Would I set up a timer and check for the jQuery object?
What...
I'm trying to have a callback call a function inside $(document).ready(..)
How do I call a function from outside this?
Like for example:
$(document).ready( function(foo) {
var bar = function() { ... };
});
// How do I call bar() from here?
...
Hello,
On some of my company page i want to use show and hide toggle details while click on links.
I used .toggle() but....
But here is minor issue , while User click on Show more content should slide down and more important this text 'Show more' should be change to "Show less" and this should be toggle. I hope you are clear what I r...
hi, i want to use jquery UI's datepicker to trigger a POST that would then load information from the date picked on the datepicker from my database.
so i guess this is a two-part question
is there a way i can make it so the datepicker date, when selected, just gets passed into a POST, so someone would click on jan 1 2010 and it would a...
So I downloaded a custom themed UI for jQuery and added the calendar control to my sight (Example: link text). In the example it shows/displays the size I would like but on my webpage it's about twice the size. why???
I do have a ton of other CSS but I don't have control over the look and feel of the page (Can't touch current CSS, MEH!...
I have recently been using jQuery for light DOM manipulation for my web application and it works great. I've now been requested to add an auto complete to a data field that the user has to fill in. The data in this field is from a very limited set of data but the user can enter that data in its full format, e.g. product name, and code fo...
Hi! I've got a text scrollbox made with JQuery. It works fine when on its own (nationalboston.com/temp) but when I hand it off to be wrapped into a Joomla page, the slider handle doesn't move (here). As far as I can tell, everything else works fine.
I've inspected the computed CSS in Chrome Inspector, and it seems that the handle is ...
I have a page that uses jQuery UI, and calls the datepicker on 2 different text boxes. Without the calls, ie. just loading the page without attaching any datepickers, the page loads in 1.20 seconds. With the datepickers attached, the page loads in 3.92 seconds. (this is in firefox)
How can I get this speed up? Based on the network graph...
HTML markup:
<ul id="portfolio"><li class="web">
<span class="info">August 2007 <a href="http://awebsite.com" rel="external">visit</a></span>
<a href="/assets/image.jpg" class="fancybox" rel="web">
<img src="/assets/imagelarge.jpg" alt="Rising Star Ranch" />
<span class="title">Some Title</span> Some other text...
<...
I'm trying to add a table row with ajax/jquery that has a form element in it. Everything works just fine if I set it without the ajax, but somehow everything inside the <form> tag is just completely lost.
I'm not sure where I'm losing the form (jquery's .html() is effectively the same as innerHTML right? If that's the case I suspect t...