Hey Wizzud. Thanks for your help - I figured it out. You're right - there was
no reason to use the toggleClass function in this case. The addClass and
removeClass were the way to go. It totally makes sense now - I'm just adding
the active class to whatever existing class I need. This is very
1. Non AJAX
User need to select a username, fill in the captcha, and submit the
form = no automation possible as need to fill in the captcahe
You can validate Captchas via ajax...
Exactly, this is where I would like to go ;-)
Just include captchas in your api.
--
Fabien Meghazi
Karl Swedberg schrieb:
Hi Stan,
this topic has come up once before at least, and I can definitely
understand the confusion. The conciseness of the syntax in this case
perhaps leads to unexpected results. I'm not sure what the rationale
is, but using a filter function should give you the
howa schrieb:
On 11月22日, 下午7時15分, Fabien Meghazi [EMAIL PROTECTED] wrote:
In non AJAX apps, automatic checking can be prevented using Captcha in
the registration page.
As you could do with an AJAX application, I don't understand what
would prevent you to do so.
What main difference
Hello Joel,
Thanks for your reply and your quick fix, everything works like a
charm now! :)
Regards Arjan
Newbie alert!
I'm using jQuery to handle the show/hide of a div depending on option
selected in a select box (based on code posted here previously):
$(document).ready(function() {
var $idOptionDivs = $([EMAIL PROTECTED]'IDoption']).hide();
var $rnOptionDivs = $([EMAIL
use like this:
$.post('/testurl/', { param1: value1 }, function(data)
{alert(data)});
In firefox ,when I submit this ajax request,in the firebug it
says,Loading...,but no return.
in IE it works fine.
but if I change the post to get ,it works well,or change
{param1:'value1'} to a empty {},it also
Tabs are not loading on the first click. I have a link which is like:
li class=newsa href=javascript:loadTabs('news')Headlines/a/
li
when user clicks on this it calls the following function:
script
function loadTabs(filename) {
$('head').append('link type=text/css href='+ webroot +
Thanks a lot, this works like a charm:)
Nevertheless I still need to make the hover css !important in
order to have it visible.
cheers
Francesco
--
View this message in context:
http://www.nabble.com/Again-on-tablesorter-and-row-hovering-tf4852402s27240.html#a13908178
Sent from the jQuery
Fabien Meghazi schrieb:
1. Non AJAX
User need to select a username, fill in the captcha, and submit the
form = no automation possible as need to fill in the captcahe
You can validate Captchas via ajax...
Exactly, this is where I would like to go ;-)
Just include captchas in
On 23 Nov., 12:39, sukhminder [EMAIL PROTECTED] wrote:
Tabs are not loading on the first click. I have a link which is like:
li class=newsa href=javascript:loadTabs('news')Headlines/a/
li
when user clicks on this it calls the following function:
script
function loadTabs(filename) {
1. I beg to differ: it's your use of my reply that doesn't work
2. You can't fadeOut() text context, you can only fade an element.
Therefore if you want to keep the outer div visible, then the inner
text needs to wrapped in something (like another div?), and it's that
'something' that you fade
On Nov 24, 7:46 am, yetanother [EMAIL PROTECTED] wrote:
I'm using an id tag (based on my database id) in my html to help
direct traffic. On a click I use the following which grabs the
variable from the id tag of the link:
I presume you meant the id attribute of an A element.
var myID =
Try
$(ul# + myID).load(data.html);
Hope this helps,
Glen
On Nov 23, 2007 1:46 PM, yetanother [EMAIL PROTECTED] wrote:
I'm using an id tag (based on my database id) in my html to help
direct traffic. On a click I use the following which grabs the
variable from the id tag of the link:
var
Hi,
Had some trouble with leaking memory and finally found out that it is
not my fault but jQuerie's. The testscript is quite simple:
for (var i=1; i=100; i++)
$(#testarea).load(testload.php);
The memory grows about 6MB everytime I press F5. I only get the memory
back by closing the browser.
That's even better. Thanks!
On Nov 23, 1:03 pm, Wizzud [EMAIL PROTECTED] wrote:
var bang = $('.bang').hide();
$('a.collapse').click(function(){
var vis = bang.is(':visible');
bang[ vis ? 'hide' : 'show' ]();
$(this).text( vis ? '(+)' : '(-)' );
});
On Nov 23, 5:18 pm, mdrisser
Thanks for the info. I do have Flanagan book and I did look for
something, and found concat which was not what I wanted and thought
Javascript did not do it. I should have look more and done a query for
it on the web. Shame on me.
Continue the good work ;)
Llaurick
On 23 nov, 14:42, Michael
Inside my callback function I used this to get the current slide index
with my Cycle object:
$(myCycler).children().index(this);
When I used incoming to find the index, it remained the same until the
second click (third image/slide)
On Oct 21, 8:17 am, Tobias Parent [EMAIL PROTECTED] wrote:
Thanks for your reply but it doesn't work.
I'm using the form plugin with its ajaxForm method so I have these
options :
var pdoptions = { target: '#pdresult', success:
hidediv('pdresult')};
and I bind them to the form with :
$('#pdform').ajaxForm(pdoptions);
the hidediv function contains
just use this url
http://jqueryjs.googlecode.com/svn/trunk/
On Nov 23, 12:31 pm, Estevão Lucas [EMAIL PROTECTED] wrote:
Hi,
I would like to download the jQuery's SVN Repository with TortoiseSVN,
but when i try to download the project with SVN Repository and put
Hi there,
can jquery.validate use custom validator? And another problem is about
email validator,it can't pass validate with my email address
[EMAIL PROTECTED] exactly validate email address.
sorry for my poor english.
Best Regards
Jacky
On Nov 23, 2007 3:27 AM, Joel Birch [EMAIL PROTECTED] wrote:
On 23/11/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I tried giving them different IDs and testing the same approach with
.nav li #id with no success, the selector doesn't work.
Not sure exactly where the problem lies, but
To follow up on what Wizzud said. I just had a similar issue using
the cycle plugin for jQuery. I wrote a custom transition called
centerFade for it, I figured this out by using an example on this
board posted by Mike Alsup. Below is the transition.
jQuery.fn.cycle.transitions.centerFade=
I am trying to get data from a database.
I call an ASP page to retrieve a JSON recordset:
$.getJSON('getRecordset.asp', { my request data } , function(data)
{...
It works but the JSON object I receive gets cut at a point (if I call
the asp directly in the browser I see the whole recordset
Great tip!! Thanks, Josh
Feijó
- Original Message -
From: Josh Nathanson
To: jquery-en@googlegroups.com
Sent: Monday, November 19, 2007 11:01 PM
Subject: [jQuery] Re: Working with cluetip and validate
You do not have to use inline validate messages. You can use the
Hi Shawn,
your feedback is welcome, and you make some good obversavations.
The least I can say is: I'm working on it. Actually I've implemented a
scrolling result list (both mouse and keyboard navigatable) today and
tuned some other stuff (making it thickbox compatible).
For a (too) long
Jay,
Your code works great, but adds a couple of extra steps. Its not
necessary to empty the html first, if you call .html() with an
argument containing what you want to appear there, jQuery will clear
the exisiting html for you and then replace it with what you had
desired.
// Works, but adds
Thanks Karl, I've done this - hopefully I can get some feedback and
see if they've already addressed a fix for this and if it is even
possible.
Pax.
On Nov 23, 10:11 am, Karl Swedberg [EMAIL PROTECTED] wrote:
On Nov 23, 2007, at 9:39 AM, Stosh wrote:
Perhaps I'm foolishly getting ahead of
Jörn,
filter() appears to behave the same way that find() does, looping
through and stacking the results in order, not by appearance in the
DOM.
Pax,
- Stan
On Nov 23, 3:05 am, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Karl Swedberg schrieb:
Hi Stan,
this topic has come up once before at
An observation I just noticed...
To do the following...
$(start).find('div.classOne, div.classTwo');
And have it order properly, with Karl's example it'd actually need to
be:
$(start).find('*').filter(function() {
return this.className.match(/classOne|classTwo/);
}) ;
I just noticed
Hi Karl,
thanks. I had viewed that site once before, but not so extensively.
But some advanced examples come close, so i will play with that one...
The following link shows a bit what effect i want.
http://www.commadot.com/jquery/faq.php
If you click example one and after a few seconds again
Just a note:
On AJAX calls where the data type is script, I get the following
error:
EvalError: function eval must be called directly, and not by way of a
function of another name
This error is triggered from line 501 of jquery 1.2.1 uncompressed.
By the way, when an error is thrown, the
This'll probably seem obvious to anyone with more jQuery knowledge
than myself...
I'm using the below code to show/hide specific divs according to which
day it is. However, for some reason it isn't working. I've tried my
best to find doumentation on how to write If/Else statements for
jQuery but
Phew. I thought it was just me being stupid!!
It is a great script and delivers 90% of what we are looking for - but
when I sent it off for testing the main feedback was that users want
to click on all the icons they can see - not open, then click the
closebutton so that they can open another
Thanks Karl. I did something similar in the end adding a new custom
selector prefixed with the :, like:
jQuery(a).is('.classOne') || jQuery(a).is('.classTwo')
However, yours looks like it would execute faster and more
efficiently, so I'll probably switch to using that.
All aside though, is the
Roughly:
- get the width, height, top and left of the parent (width(), height()
and offset())
- get the width and height of the child
- calculate top and left of the child (simple maths)
- set the top and left of the child according to the calculated values
above (css())
- fade in child
No problem.
btw you can simplify further if you wish...
function toggleMode(mediaType) {
$.each(['.video', '.music', '.radio'], function(n, v){
$(v)[(mediaType == n+1 ? 'add' : 'remove')+'Class']('active');
});
}
On Nov 23, 9:01 am, [EMAIL PROTECTED] wrote:
Hey Wizzud. Thanks for
On 11月23日, 下午4時06分, Jörn Zaefferer [EMAIL PROTECTED] wrote:
howa schrieb:
On 11月22日, 下午7時15分, Fabien Meghazi [EMAIL PROTECTED] wrote:
In non AJAX apps, automatic checking can be prevented using Captcha in
the registration page.
As you could do with an AJAX application, I don't
On Nov 23, 8:05 am, Jörn Zaefferer [EMAIL PROTECTED] wrote:
How about this: $(div).filter(.one, .two)?
Jörn
Nope, sorry.
That will (A) filter for '.one', then (B) filter for '.two', returning
the results of A appended by the results of B.
So...
div id='A' class='two'/div
div id='B'
Thanks Jorn. I did manage to figure it out, and actually redefined my
needs so this trick was required.. :)
Your suggestion to use your plugin highlights where I have a problem
with the jQuery autocomplete solutions though. I'm only meaning to
highlight a problem I perceive here, not to
I have implemented jCarousel dynamically loading images with AJAX. It
runs fine until I click some other link on the page and it shows me
the following error: jCarousel: No width/height set for items. This
will cause an infinite loop. Aborting...
Below is the part of the code what I am using:
On Nov 23, 2007, at 9:39 AM, Stosh wrote:
Perhaps I'm foolishly getting ahead of myself here, but the while loop
around 1241 in find() seems to explain why this happens, is there any
way of modifying find() so that it searches comma separated selector
returning the results in DOM order? Or
Hi,
I would like to download the jQuery's SVN Repository with TortoiseSVN,
but when i try to download the project with SVN Repository and put
'http://jqueryjs.googlecode.com/svn/trunk/ jqueryjs-read-only in URL
label, this show:
PROPFIND request failed on svn/trunk 403 Forbbiden.
Can
Hi Zarino,
You won't find any documentation about jQuery's if/else statements for the
same reason that you won't find any documentation on jQuery's assignment
statement, arithmetic operators, or Date object. All those things are part
of the JavaScript language itself, not part of jQuery. So of
On Nov 23, 2007, at 4:43 AM, PJ wrote:
Phew. I thought it was just me being stupid!!
Nope. that was me being stupid. ;-)
It is a great script and delivers 90% of what we are looking for - but
when I sent it off for testing the main feedback was that users want
to click on all the icons
ff3 just in beta. jorn is working at mozilla, so don't worry about
this...
On Nov 23, 4:44 pm, Jerome Carty [EMAIL PROTECTED] wrote:
Just a note:
On AJAX calls where the data type is script, I get the following
error:
EvalError: function eval must be called directly, and not by way of a
Hi all,
Whats the best way to insert some content at the caret in a text
field?
Cheers,
Mike
I would like to know if there is a function (or any other way) in
JQuery (or a plugin) that would allow to create a concatenation of a
collection of String. What I would like is to take a list or array of
strings (text) and create something like a comma separated value
string with it.
Thanks
I found that a few minutes after sent my msg to this group :)
I have to thank you Karl a lot for that fabulous plugin!
Feijó
- Original Message -
From: Karl Swedberg
To: jquery-en@googlegroups.com
Sent: Monday, November 19, 2007 3:17 PM
Subject: [jQuery] Re: Working with
There are a quite a number of different workable methods to implementing
jquery and ASP.NET. If you are comfortable with writing custom server
controls, then here is just one way:
1. For each control that uses jquery, add this to the OnPreRender event:
Llaurick, you won't find that in jQuery, but you don't need to, because it's
a standard part of JavaScript.
Since someone else had a similar question earlier today (tried to find
something in jQuery but couldn't - because it's built into JavaScript
itself), here's a general tip:
If you ask, how
+1 to this, particularly as the only way out of an accidental first
selection is to close and re-open the datepicker. As an additional
sweetener, it would be great if the unset date defaulted to today's
date (i.e. if a user selects only a start date, the end date gets set
to today and vice
Hi Mike,
check out my plugin:
http://laboratorium.0xab.cd/jquery/fieldselection/0.2.3-test/
The code is an unfinished mess, but you should get the point.. ;)
Regards,
Alex
Mike Pearce wrote:
Hi all,
Whats the best way to insert some content at the caret in a text
field?
Cheers,
I'm using an id tag (based on my database id) in my html to help
direct traffic. On a click I use the following which grabs the
variable from the id tag of the link:
var myID = $(this).attr(id);
I tested that with an alert and it works properly...
Now then, if there was an unordered list with
54 matches
Mail list logo