Hi,
Please tell me how to display loader images on different locations for
different ajax requests using ajaxStart.
I have posted my code at the link below :
When using jQuery.get to fetch remote contents, the content inside
the
script tag will be removed and therefore not executed.
Is it possible to incluce the script tag and run it automcatically
when using jQuery.get ?
Thanks.
Hi,
Thanks for helping. I think I haven't explained properly what I
wanted
I'm looking for the first parent with an attribute 'id', which in this
example was div id=main. However it could be anything, not
necessary main, so your code wouldn't work as you are looking
specifically for #main.
As a workaround, you could manually trigger the remote validation, via
$(#remotefield).valid(); the plugin caches the input's value, and
doesn't validate it again if it isn't changed.
If you have only one submit button, you could also add a hidden field
that has the name/value of the button.
Use min: 0.
Jörn
On Fri, Dec 19, 2008 at 8:02 PM, Adam apcau...@gmail.com wrote:
How can I create a rule in the validation plugin to disallow negative
numbers. I have a text field that should accept any number 0
thanks,
A.
On 20 Dec, 11:35, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
As a workaround, you could manually trigger the remote validation, via
$(#remotefield).valid(); the plugin caches the input's value, and
doesn't validate it again if it isn't changed.
Yes, this seems to work. Thanks!
If
tkx for your answer,
no i want to create a plugin using jquery
i need't a google's machine to translate
so i want a different steps to create plugin to translate and when i install
or add my plugin, automatiqquely a my site web translate in frensh ok
tkx for your help
Merci beaucoup
Rabab
Hi, I'm tryng for the first time the validation plugin, I was looking
at the doc here:
http://docs.jquery.com/Plugins/Validation/validate
In the "invalidHandler" sample code there is:
$(".selector").validate({
invalidHandler: function(form) {
var errors =
hello!
You can view the problem i'm trying to solve here:
http://www.lab-au.com/mr_news/
The OS scrollbars appears for a fraction of second until jscrollpane
gets rendered.
Did anybody came up with a good solution to avoid the display of
default browser scrollbars when jscrollpane kicks in?
Hello,
Im using the validator plugin in Rails, which is fantastic, but
noticed something odd the other day. The form actually appears to be
SUBMITTING, even if the validation fails!? I can't imagine this is
supposed to happen. I was under the impression that the plugin is
supposed to prevent
--- On Fri, 12/19/08, yvonney yvonn...@gmail.com wrote:
From: yvonney yvonn...@gmail.com
Subject: [jQuery] Need help to decide on SWF/FLV/SIFR plugin - a bit unsure,
for sure!
To: jQuery (English) jquery-en@googlegroups.com
Date: Friday, December 19, 2008, 8:43 PM
Hi all!
Hi,
I am trying XPATH selector with jqueryit doesn't seem to
work..find below the eg.it should select the paragraph.
can any tell me what I am missing.
THnks
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
Hi,
I tried a eg for :not operator.According to which it should not pick
up the Table header but it does .what am i missing.
One more question
what is the significance of putting the 'th' in the square bracket .is
it OK to write like this.
$('tr:not(th):even').addClass('even');
THnks
Hi,
I'm a relative newcomer to jQuery (and Javascript in general), and I'm
having a problem with content loaded via AJAX that I gather is related
to event delegation/rebinding.
I'm using jqModal to populate a modal window with html content via
AJAX. The content contains both text and a
jQuery doesn't support XPath selectors any more - you need to use CSS
selectors.
$(p).addClass(jq);
--John
On Dec 20, 9:36 am, chinnakarup...@gmail.com
chinnakarup...@gmail.com wrote:
Hi,
I am trying XPATH selector with jqueryit doesn't seem to
work..find below the eg.it should select
That's an XPath selector, not a CSS selector. To do that in jQuery you
would need to do:
$(tr:not(:has(th)):even)
--John
On Dec 20, 9:38 am, chinnakarup...@gmail.com
chinnakarup...@gmail.com wrote:
Hi,
I tried a eg for :not operator.According to which it should not pick
up the Table header
Hi!
I've small (or big- I'm unaware...).
I made small image manager using thickbox, when I'm adding new article
I can add some images (open thickbox, upload image) AND AFTER CLOSING
THICKBOX image list should refresh (using ajax), the main problem is
sending request after closing the thickbox
Hi, I can't get jQuery cycle to work and I have no idea why, so I
would really appreciate some help.
my code:
HTML
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//SV
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
Hi everyone,
I'm new to JS and jQuery, and have been searching my off to find a
solution for the following problem:
I'm using jQuery with the Interface elements plug ins to display a slide
show (islideshow.js). The photos are held in a PHP array and are being
dynamically fed to the slide
Hi, I can't get jQuery cycle to work and I have no idea why, so I
would really appreciate some help.
my code:
HTML
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//SV
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
How would I parse my variables in a link like...
a href=index.php?var1=valuevar2=value rel=modalboxshow
modalbox/a
... to a modal box, like the build-in dialog in jQuery?
I've tried to solve the problem in the code below, but it does not
work for 2 reasons:
1 ) I cannot put in variables using
Also I am not sure what is being passed in the filter .I assume it to
be the TD element right now can somebody correct me or tell me
what is happening.I want the 'History' cells to be red
THnks
On Dec 20, 1:43 pm, chinnakarup...@gmail.com
chinnakarup...@gmail.com wrote:
Hi,
I am trying
Or rather the question should be
can the :contains selector have a context for its search..and if I
make the 'this' to be it will it work.
On Dec 20, 1:43 pm, chinnakarup...@gmail.com
chinnakarup...@gmail.com wrote:
Hi,
I am trying to match the content in 'td' and think the problem
On Tue, Dec 16, 2008 at 6:26 PM, Michael Geary m...@mg.to wrote:
http://osdir.com/answers/javascript/2618-jquery-optimizing-easiest-tooltip.html#2
Maybe you could use this code as a start for a custom tooltip plugin?
Thanks for that link, I did manage to modify the simpletip.js library
It looked like a link clicked would expand it AND the link would load.
But I've found that if the link is another page, there is some event
timing problem where it tries to open but then the new page loads
and the expand is lost.
You can see it here,
zunga.orgfree.com
Note that the + and -
I'm making another attempt to get Jorn's validation plug-in working.
I'm getting this error from Firebug after clicking in the first required field
then out
(onfocusout):
validator.settings[on + event.type].call is not a function
(function($) {$.extend($.fn,{validate:fun...cured when checking
Hi all !
I tried but did not succeeded in making this work.
To explain what I'm trying to do.
HTML:
body
div id=first_divptext/p/div
div id=second_divptext/p/div
div id=third_divptext/p/div
/body
CSS not important right now
jQuery:
on document.ready function collect all divs witch id ends with
Hey y'all. I'd like to provide endless scrolling of search results
in the manner of Google Reader. The thing where an AJAX call loads
more results when you scroll to the bottom of the list of results. A
Google search turned up a lot of articles on the theory of how to do
it. I also searched the
Hi all !
Here is my question:
How to fade in div after the previous div finished fading in ?
Here is code I have so far:
HTML:
div id=header_div
p id=header_textHeader text/p
/div
div id=body_div
p
$('h2').parents('[id]')
should work!
On Dec 20, 8:17 am, graphic...@googlemail.com
graphic...@googlemail.com wrote:
Hi,
Thanks for helping. I think I haven't explained properly what I
wanted
I'm looking for the first parent with an attribute 'id', which in this
example was div
$('tr:contains(Comedy)') and $(':contains(Comedy)','tr') are not the
same.
When using tr as a context, you're searching it's children (the
tds). So if you pass td as a context, the search will happen on it's
children (which are none in your page). You need
$('td:contains(Comedy)') or to
Thanks a lot ricardo..
$(':contains(History)','tr').css(background-color,red);
(WORKS)
One thing I understood was
:contains uses the context to search in it children.not in the same
element.becoz when I use 'td' as the context td has the text 'History' in it
that I am looking for. Is
or $('h2').parents('[id]:first')
sorry 'bout the flooding :)
On Dec 20, 9:57 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
$('h2').parents('[id]')
should work!
On Dec 20, 8:17 am, graphic...@googlemail.com
graphic...@googlemail.com wrote:
Hi,
Thanks for helping. I think I haven't
I have an older PC that I use for testing and I've noticed that when I
use Firefox 3.0.5 that sometimes the PC crashes. Not just the
browser, but the entire PC. I've yet to have a single crash in Opera
9.62 testing the same code.
I forget the exact specs of the PC, but I think it's an AMD
$('.headline:eq(0)').click(function() {
$('.article-text:eq(0)').fadeIn();
});
$('.headline:eq(1)').click(function() {
$('.article-text:eq(1)').fadeIn();
});
$('.headline:eq(2)').click(function() {
Total newbie.
Any help appreciated.
Why does replaceAll only seem to work once in this example?
Thanks very much!
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
script src=js/jquery.js type=text/javascript/script
Hi,
I want to remove an object, but also move a piece of it into previous
HTML element, does exist something like ':prev' selector? Thanks!
My code:
JS:
$('#to_move').insertAfter('#div dl:previous(?) dd');
$('#div dl:last').remove();
HTML:
fieldset id=div
dl
dd...something.../dd !-- MOVE
$('.headline').each(function(i) {
$(this).click(function() {
$('.article-text:eq('+i+')').fadeIn();
})
})
Hi David,
I wrote both cluetip and simpletip. sorry cluetip didn't work out for
you, but happy to see that you were able to use simpletip.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Dec 20, 2008, at 4:25 PM, David Morton wrote:
On Tue, Dec 16,
Perfect!
Thanks Ryura =)
On Dec 20, 7:21 pm, Ryura yoyobo...@gmail.com wrote:
$('.headline').each(function(i) {
$(this).click(function() {
$('.article-text:eq('+i+')').fadeIn();
})
})
I further simplified the problem by removing the jqModal component, so
my problem appears to be with Flowplayer and AJAX. When you click the
link, the script loads new html, and then a callback function
instantiating Flowplayer, as well as triggering an alert from a new
link.
The first time the
Thanks a lot Mike
On Dec 19, 4:27 pm, Mike Alsup mal...@gmail.com wrote:
I'm using jquery ajax within a custom method and try to return its
result to that original method but I get nothing while it works fine
if I show it in alert window
here is my code:
42 matches
Mail list logo