I'd like to extract all the ISBNs on a dynamic web page that I can't feed through a Yahoo Pipe (the user has to log in to see the page). Is there a way to do that with jQuery? How?
Thanks!
I'm using jquery and in one function I'm calling multiple function which are doing different ajax request for example
function contactForm(){
loadCountryList();
loadMyData();
checkUserType();
// doing my stuff
}
How can I know if all the ajax request are completed so that I start doing my stuff in the end?
I don't want to call them one by one to minimize the request time. any suggestion will help me a lot.
Hi
I have a button and when it's clicked, I want to replace the button with an image. How can I do this in JQuery? Is it possible to replace the background of the image as well? The button itself is within a large div, and I don't want to add another div around the button because it messes up a previous layout.
Thanks
I have a page that has a tab set. Each of the tabs is loaded by the jQuery .load() function.
I want to display a loading animation that disappears when all of the ajax requests are finished. However, document.ready() has only provided me with limited success.
How can I ensure that all ajax requests are completed before executing the code to hide the loading animation?
Thanks!
Hi!
I have looked at several tutorials involving rails 3 and jquery. The tutorial at http://www.blog.bridgeutopiaweb.com/post/how-to-use-jquery-for-rails-3/ looked promising. However, I get the errors of document.on is not a function and $("a[data-remote=true]").livequery is not a function
I get the feeling that I should look at another tutorial or just use jquery raw and not install a ruby gem for jquery. Any advice? Thanks!
Hi,
I have been trying to figure out how to use the jQuery BBQ plug-in.
I have been able to add it to my site by copying the code from the site but I'm seeing that if I have a form in one of my tabs, I can't post any of the results successfully.
Has anyone used this plug-in and gotten used to its functionality? I need help figuring out where to input my php code for form handling and have the results returned the page loaded in the tab.
I have the following JQuery code:
$(this).text('Options ▴');
However, the ascii code isn't showing up on my web page. All that shows up is on the webpage is Options ▴.
What am I doing wrong?
I have made a flashLike button with jquery via this code:
$(document).ready(function() {
$('#navigation li a').append('<span class="hover"></span>').each(function () {
var $span = $('span.hover', this).css('opacity', 0);
$(this).hover(function () {
$span.stop().fadeTo(500, 1);
}, function () {
$span.stop().fadeTo(500, 0);
});
});
});
But can we add sound to button in hover like flash buttons?
Thanks in advance
I have a div element which my code will fill with a dynamic amount of links. Using jquery, I want to hide all the links except the first one. This is what I came up with and it works, I was just wondering if this is the best way to do it:
$("#panelContainer").each(function(n) {
$(this).children().hide();
$("#panelContainer a:first").show();
});
I have to populate a multi checkbox in a form from data taken from an XML file from a post function with jquery?
<input type="checkbox" name="mercato[]" id="mkt_0" value="A">A<input type="checkbox" name="mercato[]" id="mkt_1" value="B">B
Thanks in advance.
ciao
h
I'm using .position to find the offset of where the element is relative to the parent, however it seems to be returning a value that is the offset from some parent up the ancestor tree.
I have a button, and its wrapped withing a div and its the only element of that div. The div is floated right. .position is returning a value like {left:780, top:370}, when the true value should be around {left:200, top:0}.
I'm using jquery 1.4
I use http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
but some compaty may block this site, so in this case I want to use my local version on jquery
/JavaScripts/jquery.min.js.
How can I do it?
Hey, I'm wondering how I can insert text into a text area using jquery, upon the click of an anchor tag.
I don't want to replace text already in textarea, I want to append new text to textarea.
Thankyou.
Hi
I have the following jquery in my code$j.getJSON("http://localhost:8080/WWTestHarnessWEB/ReadersToolkitFinalController.htm?jsoncallback=?", {'uID': 1}, function(data){alert(data);});
The json that i am returning looks like the following ({"positiveCount":"0","negativeCount":"999"})
But my alert is never firing.
Any idea what i need to do to ensure that this will work?
regards
Damien
Hi,
Can somebody help me how can I configure jquery to GET data from This URL
http://www.slideshare.net/corotchi
I've found the Slideshare API documentation here : http://www.slideshare.net/developers/documentation
Can somebody help me to make a call an to get the data !!
Thanks !
I'm not all that familiar with jquery so I'm not quite sure how to do this. Basically, I want a block of html to stay hidden at the top of the page with a ~3px edge sticking out (something to mouseover), and when you mouse over it, the hidden section slides down.
Basically I want it to work like the RDP full screen menu bar works. Any thoughts on what the best way of doing this is?
Dear all,
I need to add paging for my users view page, i got all the datas using Json to show in the table..i need to add paging and and also i can able to change number of users to show in a particular page. any simple Jquery plugin or source code will be very much helpful to me.
thanks in advance,
K
How does jquery handle event assignment when it comes to assigning the same handler multiple times? Let's say I have
<div class="draggable">Some Text</div>
Are there any side effects (performance or otherwise) from calling the following multiple times?
$('.draggable').draggable();
Hello, before posting I want to tell you "Sorry for my English".
I've got a problem with JQuery. http://socialworld.den-style.net/ if you click "Nascondi" under the Logo you will see that the #post go to the right and then "comes back" to its old position.
How do I can fix this error? Thanks a lot.
Hi!
Im trying to do a simple fadeIn ONCE for the first div , but the problem is that this is a ajax load inside a everyTime(xxx sec), so it does the same thing everytime it loads again.
anyone got any ideas on how i can prevent the first div to fadeIn over and over again, but still do this function on the new div?
Not very familiar with Jquery.. so feed me with a spoon :)
Hi,
I have some problem with parsing XML in Ie6/7(original 7 no compatible mode). On Another normal browsers it works.
Jquery code:
$.ajax({
type: "GET",
url: "test.xml",
dataType: "html",
success: function(xml) {
$(xml).find('quoteresult').each(function(){
var bid = $(this).find('bid').text();
alert(bid);
});
}
});
I can't understand what is wrong !
Thanks
I wrote this code to load the content of a DIV ,when some one clicks on a link.
Now,if you click on a link twice,it is removing the content.
Here is the code
$('a').click(function() {
var id = $(this).attr('class');
if(id == 'first')
{
$('.active').removeClass('active');
$('a.first').addClass('active');
}
else if(id == 'second')
{
$('.active').removeClass('active');
$('a.second').addClass('active');
}
$('#first').toggle(id == 'first');
$('#second').toggle(id == 'second');
});?
<a class="first">one</a>
<a class="second">two</a>
<div>
<li id="first">
<h2>pen</h2>
<div>
<div>parker</div>
</div>
</li>
<li id="second" style="display: none;">
<h2>car</h2>
<div>Bugatti</div>
</div>
</li>
</div>?
.active { color: green; }