Hi Wesley,
1. you are only closing one of your IF statements (with a '}')
2. worth making sure you using display:none consistently and not
visibility:hidden anywhere
might help dunno?!
wesley.bunton wrote:
if($(caller).css(display) == none){
Hi Richard,
I also live in the Netherlands and ran into the same problem. I couldn't
find an answer online so i decided to write some addon methods myself.
I added the following two methods to the validator and that did the trick.
$.validator.addMethod(maxNL, function(value, element, param) {
Actually, I need only 4 text fields to trigger the function and I have 10. :)
But tks for the hint.
Hi,
I have this horrible problem that i've spent like 2 days looking for a
easy solution but to no avail. I've been using the jQuery validation
plugin to do the validation for me and it has working great so far.
I've added the remote option and it communicates perfectly with the
server and sends
We have a master list of hundred songs we can draw from in our
database. I have already created a php / mysql / ajax (maybe not
needed here) combination which populates the page with a table of a
master list of items.
Currently when the worship leader clicks on the name of the song it is
moved
Hi,
Is there some general rule to determine when '.' should be added to
JQuery method parameters when referring to CSS classes. Here's an
example from the excellent book Learning JQuery 1.3
if ($header.is('.sort-alpha')) {
findSortKey = function($cell) {
Hi Guys,
This is my very first post! so please be kind :)
Ok, i am very novice to jQuery. But what i am trying to do is use the jQuery
attribute selector to select an input with a specific name.
I can select an input of name type fine by doing the folowing:
$(input[name='name']).do
Let's see :
$(input[name='name'])
So, what is that exactly ?
- $() is a method
- input[name='name'] is the only argument of $() ; oh my gosh, it's a
string !
So I guess I can do this : $(input[name=' + name + ']) and... My oh my
it still works !
Well, let's try something a little bit
. should be used each time you're looking for a class using a search
pattern. That's all. There may be a typo in the aforementionned excellent
book.
Michel Belleville
2009/11/3 Mark Phillips mgphilli...@gmail.com
Hi,
Is there some general rule to determine when '.' should be added to
. is what is used to say find this class so the find('sort-
key') is simply a typo, as it's missing the needed period
find(.sort-key) would get span class=sort-key
find(sort-key) would look for sort-key
On Nov 3, 8:06 am, Mark Phillips mgphilli...@gmail.com wrote:
Hi,
Is there some
Craig... just keep one major thought in regards to selectors *
it's just a string *
and whether you hard code it in there or build it up like the post
above demonstrates, in the end you are just passing a string to the
selector engine..
Hi James,
this issue occured when I was using variables to store the objects.
Now I'm using a config object, and if I do something like this:
config.$myCachedSelector.attr('disabled', false);
it works...
Thanks
On 2 Nov., 20:15, James james.gp@gmail.com wrote:
Does:
You might take a look at the ListNav plugin:
http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx
- Richard
On Tue, Nov 3, 2009 at 7:37 AM, wshawn sh...@sanityllc.com wrote:
We have a master list of hundred songs we can draw from in our
database. I have already created a php / mysql / ajax
:D Is there anyone in here that has any idea... I have no idea on the
level of user in here... may-be this is to hard of a question for this
group? I know it's not a straight forward on but there has to be a
way to fix it
Any help here would be good... thank you
Cheers
Jeremy
On Nov 2, 2:22
Actually your code is working in IE for me. The problem is that your code is
generating empty LI's.
If you click to scroll images to the right i can see all the images in IE.
There a empty space between the images because the empty LI's.
On Tue, Nov 3, 2009 at 13:26, jeremybass_offset
That is the issue I'm taking about :) ... the cause is due to
jcarousel and which is why I bought
I did try the carousel.add(i, mycarousel_getItemHTML
(mycarousel_itemList[i-1])); based in the example (jcarousel)...
http://sorgalla.com/projects/jcarousel/examples/dynamic_javascript.html
To the
What is the URL of the serviceUrl? Make sure that whatever resource
it's going to it supports the POST verb.
For example, if you POST to a .html resource, some servers will not
accept it by default. You'd have to configure your server to allow it.
On Nov 3, 1:53 pm, some_random_kid
I have been able to successfully apply transparency fixes to
transparent .png images using some jQuery plugins (as well as other
methods). However, I have a problem in that my design requires that I
have rollover images on those .png files. The problem is that every
method that I have
got it.. cheack it out :D http://www.visitnorthcentralidaho.org/index.php
just added
var sid=sid.replace(img,);
$(#IMGNavINNER [jcarouselindex=+sid+]).remove();
and that took care of it... it was the as simple as removing those
darn li's... you
I need to programmatically change the option that is selected within a select.
I have code registered to run when this occurs, whether the selection
is initiated by the user or programmatically.
Why doesn't this approach work?
$(document).ready(function () {
$(select#foo).change(function () {
Here's what I have so far. I'm kind of stuck. I just started creating a
simple test page with one input field and a submit button. I want to pass
the input value to a file called submit.html. This file will accept the
argument and doing the heavy lifting with the server. When the response is
Don't know how but I got it to work. Still scratching my head. This is my
code. Anything look funny?
$(document).ready( function() {
$('#submit').click(function() {
/* Block the UI and display the processing message... */
$.blockUI({ message: $('#processing') });
/* do the AJAX
Is there a way to implement this JavaScript commmand through JQuery?
document.getElementById('iframeid').contentWindow.myFunc();
Thanks!
Hello.
I am a newbie with jquery and I need and little help.
I am creating bassistance jQuery tooltip plugin.
The problem is that I can not get certain parts of an XML document and
insert it into the tooltip.
The first time I pass the cursor, nothing happens. After the
information is not
Hello.
I am a newbie with jquery and I need and little help.
I am creating bassistance jQuery tooltip plugin.
The problem is that I can not get certain parts of an XML document and
insert it into the tooltip.
The first time I pass the cursor, nothing happens. After the
information is not
Well i guess the word value was not the right word.
i have a graphic under the slider1 slider2 and slider3 that says:
Low-Medium-High
with 30 steps in the slider.
if a visitor drags slider1 handle to Medium, and slider2 handle to Low
then slider 3 moves to High for instance.
but the
Hi,
Sorry for the late response. For some reason I thought I had this
thread tagged when someone replied.
Anyways, good news. My problem is resolved per your suggestion. I
changed the container div to position:relative, set the dimensions,
and set overflow:hiddne and whoa-la -- everything
Thanks so much for doing that! It does look like an improvement.
Probably not an urgent one, but definitely worth doing for the next
version.
It seems unintuitive that creating a new jQuery object would be less
costly than selecting from an existing collection, but there you go.
Can't argue with
Hi, Yes I found a solution. I changed the div that holds the
images. The position is now relative and the overflow is set to
hidden. Looks great.
hope that helps.
On Oct 23, 8:26 pm, joe joel...@sbcglobal.net wrote:
Thor I am having the exact same problem - have you found a solution??
can
Hi Dhruva:
I'm trying to build a simple search form. Would be nice if the user can
add her/his own fields for make the search better. What I mean? If you
take only one input then the search will be limited to this only field
containing one or more words. By the contrary if the user could add
Hi guys
I am using v1.1 and the unautocomplete is not working correctly for
me. The unautocomplete partially works... as in it doesn't show the
user anything (although the loading style is changed) but it still
triggers the ajax call and just doesn't display the results... The
point being that the
Hi all,
I have a slideshow using only cycle with a scroll horz. I have six
thumbs, three visible at first with prev and next arrows to see the
other three. I also have an automatic transition through each thumb
but when it gets to the fourth thumb, it doesn’t scroll. Is this
possible with cycle?
I am using an AJAX POST, i.e.:
$.ajax({
url: serviceUrl,
async: false,
data: params,
type: POST,
dataType: xml,
//more code here...
});
But in the browser, I see that instead of a POST I see an OPTIONS
as well as a 500 unimplemented method.
Any idea what that OPTIONS
Hi everyone,
I am trying to build a nice menu with Superfish JQuery script where my
top level is made with images, but where the second, third, etc. are
displayed simply with text titles.
For the moment, I am stuck:
http://www.mulibwanji.com/ma/?page_id=9
Hi-Fi Set-Up is the only page with
Hello
I have one anchor link per row in my table's td's with a css class of
.viewLink, and have attached a simple event to display a div with the
contents from an ajax request. Now i am trying to align the popup with the
position of the link, or row at least.
Here is the code i have so far.
There's all kinds of things to look at...
first, you pass in page as the data for the POST call but no
where (in that code sample) do you define it
second load up Firefox and fire up Firebug (http://
www.getfirebug.com), this will let you watch, in real time:
1) what you are sending to
I am using an AJAX POST, i.e.:
$.ajax({
url: serviceUrl,
async: false,
data: params,
type: POST,
dataType: xml,
//more code here...
});
But in the browser, I see that instead of a POST I see an OPTIONS as
well as a 500 unimplemented method.
Any idea what that OPTIONS
I am having trouble getting a specific node in an XML doc, when the
doc contains various nodes that contain sub-nodes with the same name.
It probably easiest to just show an example.
For example, with this XML:
foo
id100/id
bar
id200/id
/bar
foo
if i do this jquery
var fooId =
Hi ReynierPM,
*
*
*The following is the test.html i've written for you, i've tweaked it a bit
to get the right id's also to solve the 2 problems you listed.*
*Try it and see if it does what you wish to do :*
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
head
script
A minor mistake in the previous mail, please take this into consideration
and neglect the previous mail :
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
head
script src=http://code.jquery.com/jquery-latest.pack.js;
type=text/javascript language=javascript charset=utf-8/script
script
Hi Mark,
I checked my pre-release PDF of the book as well as a print copy and
haven't been able to locate the code that has return $cell.find('sort-
key') without the . for the sort-key class. If you wouldn't mind,
could you point me to the page number where you saw that? I'll make
sure
try
nowrap: 0
On Nov 3, 2:33 pm, maltaphilosopher jeremie.ve...@gmail.com wrote:
Hi all,
I have a slideshow using only cycle with a scroll horz. I have six
thumbs, three visible at first with prev and next arrows to see the
other three. I also have an automatic transition through each
Any idea what that OPTIONS and 500 unimplemented method mean
It sounds like somehow type got set to OPTIONS and when sent to the
server it justifiably returned a 500 unimplemented HTTP error code
because it didn't know what to do with that method type. Take a look
at the more code here stuff and
Sorry if I wasn't clear enough. Perhaps this will help, this is my full
function that is not working. I don't think that I have any problems with
syntax, because the basic version of this worked just fine, it would
hide/reveal each div okay, but I want it to make it check and hide an
visible
The value you return should be simply just true or false. No HTML
or other stuff.
Not:
html
headtitleRemote Email Validator/title/head
body
true
/body
/html
or:
html
headtitleRemote Email Validator/title/head
body
false
/body
/html
Just:
true
or:
false
Notice the difference?
this should do it:
$('tr .myToggle:visible:odd').addClass('gray');
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 2, 2009, at 4:31 PM, Manimal wrote:
Here's what I'm trying to do. When I click on a tr i'd like it to hide
then re-style the table to
Dhruva Sagar wrote:
A minor mistake in the previous mail, please take this into consideration
and neglect the previous mail :
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
head
script src=http://code.jquery.com/jquery-latest.pack.js;
type=text/javascript language=javascript
Great :)
Thanks Regards,
Dhruva Sagar.
Marie von
Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html
- Even a stopped clock is right twice a day.
On Wed, Nov 4, 2009 at 9:09 AM, ReynierPM rper...@uci.cu wrote:
Dhruva Sagar wrote:
A minor mistake in
Try this:
var $select = $(select#foo),
firstVal = $select.find('option:first').val();
$select.val(firstVal).change();
On Nov 3, 7:43 am, Mark Volkmann r.mark.volkm...@gmail.com wrote:
I need to programmatically change the option that is selected within a select.
I have code registered to
Hi all
Who can tell me how to unsubscribe this mailling list?
I'm gonna use another account for this mailing list.
thanks
--
View this message in context:
http://old.nabble.com/jQuery-Validation-request-tp25995270s27240p26160052.html
Sent from the jQuery General Discussion mailing list
50 matches
Mail list logo