On May 23, 6:48 am, Josh Powell wrote:
[...]
> Also, many of the jQuery examples are poorly constructed,
Depending on your point of view.
> take the
> 'table' instance:
>
> for (var i = 0; i < 40; i++) {
> $("").appendTo("body").html
> ("first").find("tr").prepend("before");}
>
> retu
I am new to jQuery and have a newbie question.
I have a link click load into div. Thats all good. But how do I add effects?
I read the jQuery docs and there are success: complete: error: but looking
thru example online I have not seen this any where.
Basicaly I want that click on the link it fa
its IE 7
On May 22, 9:13 pm, "ryan.j" wrote:
> possibly keycode vs. charcode. did you try the keypress thingy on
> quirksmode to see what IE returns on keydown?
>
> which version of IE isn't it working?
>
> On May 22, 3:10 pm, runrunforest wrote:
>
> > thanks
>
> > I got this to work in all bro
If you have the 'containment' option set as well as the 'alsoResize'
option, the containment will prevent the main element from resizing
past its borders but the alsoResize element will still resize past its
borders. Is there a way to fix this?
Thanks in advance,
Matt Mueller
I'm being lazy. I could spend a few hours trying out all the plugins,
but am hoping someone already went through that heavy lifting for
me...
I'm looking for a portfolio slider. Ideally, it'd have the following features:
- sliding objects can be a mix of HTML (text, images, maybe
flash/video as
Hi again,
I've added some demos for using hoverFlow with sub menus:
http://www.2meter3.de/code/hoverFlow/submenus.html
I've also found a little quirk when using the :hidden/:visible pseudo
selectors described in my first post: There are situations when the
mouse is over a menu item but the sub
One of the areas of the comparison where jQuery fares the worst is
"destroy." jQuery checks every element it is removing to see if there
are events bound to it and removes those events because they can cause
memory leaks. None of the other libraries do this. I do wish that
jQuery provided a met
so as not to confuse..
the name attribute looks like this
name="name['name']" for the input field
and the js is
rules: {
name['name']: 'required'
}
i noticed typos in the above question.
On May 22, 12:36 pm, "bhan...@hcinsight.com"
wrote:
> Can anyone tell me how i can change which attri
@wesleycjx
I guess the event is called on "keypress" event.
i have a similar sort of problem like deafGuru
my script is->
$(".stock_item").live("keypress",function(){
console.log($(this));
$(this)
.autocomplete("includes/pages
look at the jQuery validation plugin.. its pretty slick.
On May 22, 4:06 am, gladrinkz wrote:
> is ant one know how can i set email validation in jquery i am
> using .net
Can anyone tell me how i can change which attribute on my form field
triggers the validation?
currently it appears the be the name attribute. So in my Rails app
using Rails helpers, it sets the name to somthing like formname
['fieldname'] and the whole name.
in my script if i do something like
I just updated my site to load certain files only when necessary. For
instance, I only load the FCFEditor when I have a textarea that is
going to use it, and I just have the script element directly after the
textarea.
As for performance, its going to depend. However, I moved about 3-4
plugins t
DisasterMan more or less wrote exactly what I would have said. I've
used Prototype/Script.aculo.us and the lack of (good) documentation
was what kept me from really being happy. I can't comment on
MooTools. Combine that with the fact that I (personally) like the
syntax of jQuery better...it just
The way I do it is to just send the email via ajax to a validation
script that returns back an xml response.
$("#signup-form #email").blur(function() {
$.get("/ajax/emailcheck", { email: $("#email").val() },
function (xml) {
if ($('status',xml).text() == 1) {
// Available and valid
You'll want to read:
http://docs.jquery.com/UI/API/1.6/Tabs
At the bottom there is a section called "...my slider, Google Map,
etc. not work when placed in a hidden (inactive) tab?".
As the docs state:
Any component that requires some dimensional computation for its
initialization won't work i
SYNTAX ERROR
this is your code :
$(document).ready(function() {
$("#base-state").click(
>
> function() {
> $(this).toggleClass("active");
> }
> )
> });
>
this is how it should be
$(document).ready(function() {
$("#base-state").click(
>
> function() {
> $(this).toggleClass("act
I believe your CSS is invalid. I don't think you can apply both a class AND
an ID in the same selector which is what #base-state.active does. Now
#base-state:active might work as that's a pseudo class.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]
I just did this the other day on a web page.
You need to make an image that has both the active, and regular state
images in it.
Then in your css,
#base-state {background-position: 0px 0px;} // The first 0 is the X
axis position, the second is the Y
#base-state.active {background-position: 0px
I started with Prototype/Script.aculo.us, tried MooTools, and moved to
JQuery.
I don't have very technical reasons to support this just personal
experience.
I was amazed by Prototype, having not used a framewqork before, but
found it fiddly and not terribly well documented.
MooTools was just rea
didit hanks.
On May 21, 6:15 pm, MorningZ wrote:
> $("select.sortby").change(function() {
> window.location = "http://..."; + "&order=" + $(this).val();
>
> });
>
> On May 21, 7:10 pm, dezok714 wrote:
>
> > I am writing a sortby function that uses two "select"s on the page and
> > dig
I would very highly recommend it. It's written by the creator of jQuery
John Resig.
Is this Michael Finney from Seven on Your Side?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of finneycanhelp
Sent: Friday, May 22, 2009 8:
$("tr").remove()
Just make sure that you're referencing a SPECIFIC tr, e.g.
$("tr").click(function() {
$(this).remove();
}
But again - bear in mind that that removes it from the CURRENT PAGE
ONLY, so "refreshing" (either a span or the whole page) will "bring it
back".
As advised by myse
Yup, setting the individual padding improves matters slightly if you set
the 4 individuals in CSS
IE - works, as before
Opera - works, as before
FF - jumps to zero, then animates
Safari - jumps to zero, then animates
Chrome - jumps to zero, then animates
The only way to get all 5 browsers to
There are other non-library solutions to domready out there:
One of the first:
http://dean.edwards.name/weblog/2006/06/again/
or taken from Mootools:
http://snipplr.com/view/6029/domreadyjs/
etc.
Just Google domready, and as Richard said, look at jQuery's source.
On May 21, 6:25 pm, Michael Li
Why don't you use an ?
--Klaus
On 21 Mai, 06:40, Nic Hubbard wrote:
> I have a form that I built, and I replaced the submit button with an
> image. When you click the image, it calls the .submit() jQuery
> function and submits the form.
>
> Because I am not using the normal submit input butt
Does document.ready wait for external scripts to be loaded
I have google analytics (+1 other) loading just before the body tag
however script in document ready seem to be waiting for these to load
I only want to wait for the jquery plugins at the top of the page to
load
the scripts at the botto
Hello,
A year ago, on a part time basis I started an open source user
interface prototyping project - www.fluidIA.org. Recently this turned
into a grad project. Seeing the powerful potential of jQuery, I've
relied on this Javascript library to build this browser based
application. The tool aims t
Have you read the book "Pro JavaScript Techniques" Published December
2006? Still good / applicable?
(book image and links at http://jspro.org/ )
Do you know of an active and better email list (or discussion group)
for such general JavaScript questions?
Thanks.
Michael Finney
You'll need to write a custom parser. For detection tell it to look for your
quote characters at start and end with string characters between. For cache
population, use regex to strip the quotes.
aquaone
On Thu, May 21, 2009 at 22:04, clorentzen wrote:
>
> I'm using the tablesorter plugin, and
You will need to write your own custom parser. The numeric sorter won't
detect nor handle scientific notation.
aquaone
On Thu, May 21, 2009 at 20:22, devdoer wrote:
>
> HI:
>
> I found tablesorter plugin failed to sort the float if the float is
> in scientific notation?
>
> Eg. the tablesort
Each jQuery plugin author uses their own license. While most will use
MIT or GPL to be consistent with jQuery, unless explicitly mentioned,
you'll need to check-in with each author.
Rey...
doddstr13 wrote:
Are all jquery plugins available under GPL and MIT licenses? My
company requries me
Oh... gotcha. Yes, mine doesn't error-out either. It's just that if
I'm trying to animate to 12px from whatever is currently set in the
stylesheet, the padding first 'jumps' to 0px, then animates to 12px.
So, for yours, maybe if you tried setting the 4 sides individually (or
set the padding on t
jQuery has a lot of overhead because of it's event handling, cross-
browser normalization, etc, it's a good trade-off for most websites.
And you can easily reduce those numbers a lot doing simple
optimizations.
On May 21, 11:25 pm, donb wrote:
> It has apparently sped up 50% with the latest rele
If you're talking about this http://gsgd.co.uk/sandbox/jquery/easing/,
it has been integrated into jQuery UI (jqueryui.com).
On May 22, 1:41 am, goodwill wrote:
> I try to integrate easing with 1.3.2 animate but seems its just not
> working. Which version of the easing plugin I should use?
Set value="" (empty string) for the null-option, and specify required:true.
Jörn
On Fri, May 22, 2009 at 4:25 PM, ciupaz wrote:
>
> Hi all,
> I need to validate a combobox if the user doesn't make a choice.
> My combo is:
>
>
> null
> utenza1
> utenza2
>
>
> and I'm trying t
You can use window.onload, it will have a slight delay but will work
consistently.
jQuery ready() uses the DOMContentReady event when it's supported, and
some assorted techniques to find out if the DOM has loaded in other
browsers, take a look at the source code.
-- ricardo
On May 21, 10:25 pm,
thanks!!!
2009/5/21 Richard D. Worth
> The type is an attribute. You can get it via the .attr() method:
>
> var theType = $("#myInput").attr("type");
>
> Setting the type is not supported across browsers. Rather, you'll have to
> create a new input with the type you want. Ex:
>
> $('').appendTo(
Hi all,
I need to validate a combobox if the user doesn't make a choice.
My combo is:
null
utenza1
utenza2
and I'm trying this code:
rules: {
utenza: {
required: "#utenza[selectedValue=-1]"
}
},
but it doesn't work.
How could fix it?
thanks
I got this to work in all browser except... IE.
The code i used
$(window).keydown(function(e){
if(e.which == 37){ $('.prev').click();}
else if(e.which == 39){ $('.next').click();}
});
What makes IE not understand this ?
On May 22, 3:15 pm
possibly keycode vs. charcode. did you try the keypress thingy on
quirksmode to see what IE returns on keydown?
which version of IE isn't it working?
On May 22, 3:10 pm, runrunforest wrote:
> thanks
>
> I got this to work in all browser except... IE.
>
> The code i used
>
> $(window).ke
have you tried setting a longer duration (or just the 'slow' attrib)
to see if that cures the jumpyness?
On May 22, 2:51 pm, Liam Byrne wrote:
> It has worked for me by just setting a single value in the CSS and using
> a single value in the animate function; as I said, the only issue I
> encoun
You may want to ask over here:
http://groups.google.com/group/jquery-ui
- Richard
On Fri, May 22, 2009 at 9:37 AM, Mean Mike wrote:
>
> Hello again,
>
> I have a connected sortable that I'd like to keep contained to the
> 'sortcontainer' but it seems to be acting erratically not sure what
> I"
It has worked for me by just setting a single value in the CSS and using
a single value in the animate function; as I said, the only issue I
encountered was that FF, Chrome & Safari "jumped" as if I'd simply set
the value.
Maybe that's related to what you're seeing, but it "works" on some le
Hello again,
I have a connected sortable that I'd like to keep contained to the
'sortcontainer' but it seems to be acting erratically not sure what
I"m doing wrong or if it is even possible ?
thanks
Mike
my jquery is like so...
$("#hottopic, #hidden").sortable({
connect
the jquery version waits until the page is completely loaded, which
the event may not do depending on the circumstances.
i don't know if this would work, but if you inserted an or
at the very end of your document with an onload attribute it
might be more thorough.
On May 22, 2:25 am, Michael
bump
--
View this message in context:
http://www.nabble.com/AJAX-News-Ticker-decay-problem-tp23664065s27240p23670295.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
am just intermediate in jquery ,
so am not understand the remove TR, but i asked to google ,
Let we see the response
thanks for reply
On Fri, May 22, 2009 at 4:56 PM, Liam Byrne wrote:
>
> The issue is what exactly you are trying to achieve when the user "deletes
> the required row".
>
> If
Hi all ,
The below is my script , for check and delete the rows, but some time
i got error like undefined ,
function check_delete(site) {
//alert(site)
var lenChkBox = $("input:checked").length;
//var hdnValues = "";
//alert(lenChkBox)
if(lenChkBox > 1){
Unable to figure out why my load function stops working after a form
submit.
On the page I have two different forms. After submitting the first
form - I come back to the page now when I click the add button - I see
an alert message but no JSP loaded. I don't see any interaction with
the server at
Hi,
the slideDown/slideUp functions in jQuery are simply shortcuts that
execute the animate function with certain animation properties.
slideDown animates "height", "marginTop", "marginBottom",
"paddingTop", "paddingBottom" to the special value "show", slideDown
animates the same properties to t
is ant one know how can i set email validation in jquery i am
using .net
Hello All,
I am relatively new to jquery but I have been charged at work to write
a plugin for an AJAX news Ticker.
I have had problems with the ticker animating. It runs correctly the
first three cycles, but then the fourth cycle no longer animates. My
code up to this point is here:
http://abo
I need a way to store an associative array in a cookie. Or maybe JSON
encoded string. I am using jquery.
var cookie=[];
cookie["product_1"]=[];
cookie["product_1"][cookie["product_1"].length]=12;
$.cookie('uploads', $.toJSON(cookie), { path: '/', expires: 10 });
Hi
I am using jquery, but in some pages I cannot use it but I need to
write js code like:
$('document').ready(myInitFunction)
How can i write js to do this work? is it document.onLoad() event?
thanks!
HI:
I found tablesorter plugin failed to sort the float if the float is
in scientific notation?
Eg. the tablesorter asc sorted result of float list is :
[ 7e-06,4e-05,0.051116,0.00518,0.0].
any help would be much appreciated
--
View this message in context:
http://www.nabble.com/AJAX-News-Ticker-decay-problem-tp23664065s27240p23664714.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
I need a way to store an associative array in a cookie. Or maybe JSON
encoded string. I am using jquery.
var cookie=[];
cookie["product_1"]=[];
cookie["product_1"][cookie["product_1"].length]=12;
$.cookie('uploads', $.toJSON(cookie), { path: '/', expires: 10 });
Maybe you could run an effect on all images at load time to have a
transparency value say 99%, then use the transparency 100% on hover?
On Fri, May 22, 2009 at 2:43 PM, dnagir wrote:
>
> Hi,
>
> Just wondering if there's some effect in JQ that we can use to
> simulate rollover.
> Usually when us
never mind - fixed
On May 22, 7:26 am, kevind wrote:
> hi,
>
> i have an iframe on page to hold record editing form - the form
> presented in the frame needs to be different sizes depending on the
> form size
>
> i want the page called to resize the frame but, i can't figure out how
> to refer
The issue is what exactly you are trying to achieve when the user
"deletes the required row".
If it's purely client side, then it's "hide" rather than delete. You
could achieve this by
1) Display the page using a session variable to determine which rows to show
2) Call an ajax function to s
hi,
i have an iframe on page to hold record editing form - the form
presented in the frame needs to be different sizes depending on the
form size
i want the page called to resize the frame but, i can't figure out how
to refer to it from the page loaded in the iframe
parent().$("#myiframe").he
if you definitely want to do it with jquery, i reckon you'd be better
off adding a class to the button with { background-image:xyz.png !
important; } than playing with .toggle() or attr('src, 'xyz.png') or
anything like that.
you can customise a button as much as you like using a single image
setup.
join the two buttons together (like below) with the element they're
displayed in sized to only show a single button, and modify the
background position on :hover with css.
||| <-- image
^ ^
show
al
> Modern rollovers use a single image, not multiple images (you can use
> a single image for all rollovers if you want).
>
> > But we always must have 2 images (similar ones).
>
> No, you don't.
>
Thanks a lot.
I must have think about it.
> > I understand it will never be as good as alternative i
can't you do..
$("#form").validate({
rules: {
input1: {
required: true
},
input2: {
required: true
}
}
});
On 22 May, 11:23, ciupaz wrote:
> Anyone has ideas?
Sounds like AJAX to me...check into $.ajax...
On Fri, May 22, 2009 at 2:05 AM, bharani kumar <
bharanikumariyer...@gmail.com> wrote:
>
> Why asking this question ? you know ,
>
> For example ,
>
> there is a three links
> one,two,three,
>
> When one is clicked around 50 rows data will be displaye
Anyone has ideas?
$(’#check_id’).is(’:hidden’)
On May 22, 9:56 am, Steven Yang wrote:
> one way i can think of on top of my head is
> if($("#check_id:hidden").length == 0)
> then its hidden
See
http://www.viget.com/js/viget.js
- Richard
On Thu, May 21, 2009 at 11:07 PM, Mech7 wrote:
>
> How can I re order items in a list... kinda like what happends on:
> http://www.viget.com/work
one way i can think of on top of my head is
if($("#check_id:hidden").length == 0)
then its hidden
HI, i work in .net
and in my jquery function want know if mi object are in state hidden
or not...
but this 2 method not work
if($("#check_id").attr("type", hidden)){//..}
or
if ($("#check_id").is(input[type='hidden'])){//..}
what is the right metod??
are you updating the gsgd easing plugin? the function names changed at
some point, and it's not been updated since last December. their demo
site (http://gsgd.co.uk/sandbox/jquery/easing/) uses jquery 1.2.1, so
maybe try running off that codebase & see what happens.
unless you're using an entirel
On May 22, 2:43 pm, dnagir wrote:
> Hi,
>
> Just wondering if there's some effect in JQ that we can use to
> simulate rollover.
It doesn't require any javascript at all.
> Usually when user hovers a mouse over a link/image it changes its src/
> background to another one (for example arrow.png
1. basically you weren't linking to the jquery library correctly -
either the file wasn't in the location specified in the link or the
filename/folder structure was incorrect. linking to the google APIs
version of jquery just means you don't need to worry about the
location of the file for now. th
take a look here -> http://www.quirksmode.org/js/keys.html
37: left
38: up
39: right
40: down
irritatingly, i completely forgot the arrow keys are a special case,
and won't trigger properly (or even consistently) the keypress event
across different browsers. try keydown or keyup to catch the cha
Excellent,
I'll have a play with it in the project i'm currently working on and
let you know if i build anything that might be worthy for
contribution.
Cheers,
Douglas
On May 21, 5:42 pm, Tin wrote:
> I do plan on continuing to develop it - the last month has been really
> slow since I had lit
Thanks for your reply.
I don't know what I have missed earlier when I tried it but now blur
works. Perhaps I misspelled the field id.
Have a nice day!
Sig
On May 21, 6:12 pm, MorningZ wrote:
> it's ".blur()"
>
> if it doesn't work for you, then you are not using it properly
> posting
77 matches
Mail list logo