Is it possible to highlight all the text boxes in a from even if there
is an error in just one of the boxes whbile validating ?
Presumably, which points out a recurring problem: because we don't
know the OP's intended use, vis-à-vis actual markup and CSS, etc.
everything we suggest is somewhat academic. There's a tradeoff with
modifying style rules vs. using class names. If you find yourself
having to alter too many styles
how do you make it drop up?
thanks
HI all,
I am getting a synchronization problem when loading an ajax content
via nyro modal - spent a few hours debugging it line-by-line. The
problem is: sometimes, depending on internet connection, the modal
window returns an error (object required) - mainly in IE. I could
click the same link 10
ok, i will.
Actually i'm not even getting past the first statement
$(this).attr("id") fails
How can i get the id attribute of the input element being validated?
On Mar 22, 6:58 pm, Jörn Zaefferer
wrote:
> You assume that equalTo is a jQuery method (or plugin method), which
> isn't the case.
Hello,
I posted this in the UI group but I'm thinking the question may belong
here. I can't seem to get the height of Dialog titlebars in Opera.
I've tried numerous approaches. You can run the below code in Opera
with any page that contains a Dialog. It always returns 0.
Thanks
http://paste
On Mar 20, 10:15 pm, Alexandru Dinulescu
wrote:
> Hello.
>
> I have a huge question. I need something that rotates classes each 5 seconds
> for ex
>
> I have a . I want each 5 seconds the class to be
> changed from img1 to img2, and so on so at the start an array should be
> placed like
> imgA
> Btw, for the OP's edification regarding global variables (implicit or
> explicit), in your example, since they're outside the jQuery wrapper,
> rotateTimer, rotateClassNames, rotateIndex are globals...
Indeed they are, as are rotateClass and stopRotating. Fair littering
up the global namespace
Sorry, I should have written:
var div = $('div.img1')[0], //get with whatever selector once
swapDiv = setInterval(function(){ ...
and var n =
I'm usually a stickler for not creating globals; not sure where my
head was at...
Btw, for the OP's edification regarding global variables
You assume that equalTo is a jQuery method (or plugin method), which
isn't the case. Look at the source for equalTo to get an idea how to
implement your own.
Jörn
On Sun, Mar 22, 2009 at 11:56 PM, linoj wrote:
>
> fyi, this is what i've tried, but it doesnt work :/
>
> $.validator.addMethod(
Why would you use the Tab plug in then?
On Mar 22, 4:07 pm, David wrote:
> This opens the external page IN the tabs page ... does not help me
>
fyi, this is what i've tried, but it doesnt work :/
$.validator.addMethod("confirm", function(value, element) {
var other = $(this).attr("id").replace("_confirm","");
$(this).equalTo(other);
}, "does not match");
On Mar 22, 8:56 am, Jörn Zaefferer
wrote:
> Give equalTo a t
I ended up adding
$.validator.messages["required"] = "can't be blank"
after my call to jQuery.validator.setDefaults({ ... })
On Mar 22, 1:23 pm, linoj wrote:
> Hi,
> using validate plugin, I'm aware you can change the message for an
> individual field, but can i change the default messag
Well, then you will have to adapt that script and use window.open...
--Klaus
On 22 Mrz., 21:07, David wrote:
> This opens the external page IN the tabs page ... does not help me
>
> On 22 mrt, 20:52, Klaus Hartl wrote:
>
> >http://docs.jquery.com/UI/Tabs#...open_a_tab_in_a_new_window_instead
@mkmanning:
I was intentionally creating something instructive, not dense. What I
gave him is longer than your approach, but not so dramatically as you
seem to suggest -- most of the difference is that mine is commented,
doesn't compound unrelated statements, and has an example of how to
stop it
I was only able to find jQuery 1.2 extension for Dreamweaver. Anyone
know if there's a 1.3 in the works or if it's available somewhere?
Thanks!
This opens the external page IN the tabs page ... does not help me
On 22 mrt, 20:52, Klaus Hartl wrote:
> http://docs.jquery.com/UI/Tabs#...open_a_tab_in_a_new_window_instead
>
> --Klaus
>
> On 22 Mrz., 18:16, David wrote:
>
> > Hi all,
>
> > Is it possible to if you click a tab i get to a new
http://docs.jquery.com/UI/Tabs#...open_a_tab_in_a_new_window_instead
--Klaus
On 22 Mrz., 18:16, David wrote:
> Hi all,
>
> Is it possible to if you click a tab i get to a new page ? i've tried
> the option to load a page into the tab content but that's not what i'm
> looking for.
>
> basicall
Alexandru,
Not sure what your problem was with my example--'cause the example
works!
That just seems like a whole lot of code to do what can be done in a
few lines; here's a working copy for you to follow:
http://actingthemaggot.com/test/divclass.html
On Mar 22, 3:58 am, Alexandru Dinulescu w
Thanks. That's it. My code isn't too OO or jQueryish. I know. I'm more
of a procedural guy. I have to spend more time with jQuery before I
grokking will come.
The event handler does open and close the properly. The golbal
anaimate function is defined below the click handler. I am going to
read t
hi linoj,
what i do is where i do my validation checks:
in the html code:
Vul hier uw wachtwoord in.
then in the script:
$("#validatemessage").text("can't be blank");
hope this helped ...
David
On 22 mrt, 18:23, linoj wrote:
> Hi,
> using validate plugin, I'm aware you can change the mess
Hi,
using validate plugin, I'm aware you can change the message for an
individual field, but can i change the default message, eg for
required say "can't be blank" rather than "This field is required"
thanks
linoj
Thanks Mauricio ... made me feel noob again, as a php programmer i
just started to use jquery.
Hi all,
Is it possible to if you click a tab i get to a new page ? i've tried
the option to load a page into the tab content but that's not what i'm
looking for.
basically if i click on tab 1 it goes to page1.php, tab 2 to page2.php
If someone could help me out ... thanks
Hi Mike,
I'm not following what's going on inside your click handler, apologies
if I'm misreading it but it looks like it would fail as is (do you
really have a global animate() function, for instance?). Also, you're
not declaring the 'event' parameter, which makes it awkward (though
not impossi
I am doing an ajax form submit using Mike Alsup's form widget, but
something appears broken on IE7 and IE8. Debugging inside jQuery 1.3.2's
ajax method I seen the following behaviour:
- if s.data == "_buttonfix=step2&next=step2" onreadystatechange is
never triggered, and IE does a normal (non-a
You can link to the latest major number, for example
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
gets you 1.3.2; it will automatically update to the next 1.#.# version
when available.
http://ajax.googleapis.com/ajax/libs/jquery/1.2/jquery.min.js
Gets you 1.2.6 (the latest versio
Hi there,
You can change the url so that it always uses the latest 1.3.x
release ...
http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
or even the latest 1.x release ...
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
--Karl
Karl Swedberg
www.englishru
Hi!
I am using the autocomplete plugin [1] (with jQuery 1.2.6)
successfully to help users tag an item. Users are presented with an
field and can add multiple items in a comma
separated list.
The field is hooked up like this:
$("#id_edittags").autocomplete(tags, {
multiple: true,
Thank you, yes I'm familiar with equalTo.
My question was more about the syntax for creating the custom rule/
method.
On Mar 22, 8:56 am, Jörn Zaefferer
wrote:
> Give equalTo a try:http://docs.jquery.com/Plugins/Validation/Methods/equalTo
>
> Jörn
>
> On Sun, Mar 22, 2009 at 7:30 AM, linojon w
Hi,
Thanks for the shorthand tip, what I was trying to achieve is upon
sucessful validation call a function, its not a plugin. Its another
function written inside the DOM. I tried adding the live syntax and it
works the way I want it to but not sure if I have coded it right, code
reproduced below
folks, I am trying to puzzle something out. I am using Jquery 1.3.2.
I have an animated list where the clicked item that opens and an
already open item closes. Accordion like. I add or remove the
classname "opened" to determine which element is open. sample HTML and
JS below. That all works. Now
Hi Davi,
It is not allowed to have more than one div#tabs
ID's values must be unique in a document.
Regards,
Maurício
-Mensagem Original-
De: "David"
Para: "jQuery (English)"
Enviada em: domingo, 22 de março de 2009 09:55
Assunto: [jQuery] tabs into tabs
Hi,
probably a simple
Not sure what you are referring to. The remote validation is triggered
only when the input value changes. It doesn't cache previous results,
is that what you are looking for?
Jörn
On Sun, Mar 22, 2009 at 11:22 AM, Laurent wrote:
>
> Hi all,
>
> I want to use the "remote" method to validate a ca
Give equalTo a try: http://docs.jquery.com/Plugins/Validation/Methods/equalTo
Jörn
On Sun, Mar 22, 2009 at 7:30 AM, linojon wrote:
>
> Hi
>
> Using the validate plugin, I'd like to write a validation method
> called "confirm" that does the following:
>
> suppose my form has
>
>
Hi,
probably a simple question ...
if i put a new set of tabs into existing tabs, the new tabs does not
show all i get are text hyperlinks...
The code i use:
so if yuou go to the config tab it should show the new set of tabs
Home
Config
oth
Is anybody using netBeans as IDE?
It looks promising but i can't get it to work properly. I get some of
the functions but not all of them.
(http://www.netbeans.org/download/flash/js/javascript_demo.html)
<>
Does anyone know if it would be possible to somehow use jquery tooltip
plugin to show a tooltip on it's normal anchor from another anchor on
the page? I know it sounds strange, but I have a map with a legend at
the right. I'm usuing jquery tooltip to show a tooltip on the map
points, but I think
Hi all,
I want to use the "remote" method to validate a captcha. No big
problem, it works. But, it doesn't seem optimized...
When I analyze all the Ajax calls with Firebug, it seems that an Ajax
validation call is sent each time I focus another field on my form -
after the captcha field (with re
I have a hover area on the left (height:100%, width:100px) with an
hover function which makes a number of divs animate (from left:-50px
to left:20px) and which should return to initial position after
leaving the hover_area. Altogether this should be pretty
straightforward, but for some reason the
It's works on FF, but not in IE6. Final task - it's just full parse of
XML. But this example already don;t work in IE6.
p = $('')
trace(p.children().length)
in archive of this group i can't find answers. How I can fix this? Or
maybe JQuery have some plugin for this?
I am trying to create a background fade using a transparent png and
altering its position using jQuerys animate function. I've seen this
code around a few times but I can't get it to work. The background
moves to position but is not animated.
I have moved the code into the header so it can be see
Hi
I am using jQuery's 'Form Plugin' (available at
http://www.malsup.com/jquery/form)
to submit my form.
Just before submitting form the plugin runs (using 'beforeSubmit:'
option) validation
callback function. This CB function uses 'formData' - an array of
objects representing the name and value
Hi
Using the validate plugin, I'd like to write a validation method
called "confirm" that does the following:
suppose my form has
what I'd like is the confirm method to look at the current object's
id, strip off the "_confirm" and check that the value matches the
corresp
hi im new using jquery..im playing around with it, and i find it
interesting..i was wondering how can a trigger a dialog from a click
event..here is my code:
$('#btn_delete').click(function(){
$('#msj').dialog();
});
but its not working. what im i doing wrong?
It's works on FF, but not in IE6. Final task - it's just full parse of
XML. But this example already don;t work in IE6.
$('#tt').val('')
p = $('')
trace(p.children().length)
in archive of this group i can't find answers. How I can fix this? Or
maybe JQuery have some plugin for this?
@Klaus: We are using ASP.NET MVC and a lot of integrated functionality
of this framework requires you to name the ids of the form elements to
match the name of the properties on your business objects. As we have
used Umlaute in the database as well as in the business logic it would
cause quite som
THANK YOU!
This works perfectly, exactly what i needed
Best Regards
---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/tra
Thanks for that, but if you use it, aren't you linking to a specific
version number?
Their example is "path:
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js";
So what happens if right though my code I call that file and then
1.3.3 comes out?
Hi,
If you want the really dead simple version, assign the relevant
elements a class name you won't be changing (such a "rotates"), then
use something like this:
* * * * Also on Pastie: http://pastie.org/423361
var rotateTimer;
var rotateClassNames = ['img1', 'img2', 'img3', 'img4', 'img5'];
var
My html looks like
my js is the last one
$(function(){
function rotateClass(){
var el = $(this), classes = el.data('classes'), cur = el.dat
You want want to try Google's AJAX library which hosts
the various JavaScript effects library (JQuery, Prototype, YUI,
Mootools)
for you:
http://code.google.com/apis/ajaxlibs/
Hope this helps!
On Mar 22, 12:31 am, Microbe wrote:
> Hey everyone,
>
> I use jquery on a number of sites (all on th
Hey everyone,
I use jquery on a number of sites (all on the same server).
What is the best way to keep jquery scripts up to date across them all
without having to change code all over the place.
I was thinking of using one of my domains as a host, putting
generically named files there e.g. jque
Hello,
I use jCarousel with dynamic content loading via Ajax from a PHP
script, and it works fiiine :)
But there's always a but :) The images are loaded via a php file
called dynamaic_ajax_php.php, which contains an image array :
$images = array(
'http://static.flickr.com/66/199481236_dc98b5
I am trying to apply this
.applyOpacity {
background: #fff;
filter:alpha(opacity=50);
-moz-opacity:0.50;
-khtml-opacity: 0.50;
opacity: 0.50;
}
To an existing DIV dynamically via a hover and in IE7 this fails. Is
that correct? should I do this differently?
55 matches
Mail list logo