Excellent! Thank you both. And I apologize. I hit the button
too quickly.
I used $(":checkbox").each(function()
{this.checked=this.name=="veggies"}) but I'm wondering if there's
another way, like using filter perhaps?
On Oct 16, 8:06 am, GARIL <[EMAIL PROTECTED]> wrote:
> Using jQuery, is there a quick way of setting the
Using jQuery, is there a quick way of setting the 'checked' attribute
to true for all the 'veggies' below?
Thank you.
Banana
Avocado
Apple
Papaya
Plum
Broccoli
Cabbage
Radish
Squash
Cucumber
I'm getting the following error with the html snippet shown below.
doc.scrollTop is not a function
pTop = doc.scrollTop(), pLeft = doc.scrollLeft(),
the above from 'ui,dialog.js'
Can anyone help?
--
http://www.w3.org/TR/html4/loose.dtd";>
http://dev.jquery.com/
I guess what I want to do is grab all the parameters of the showIt
function on the onclick event (see below) and bind a click event to
each matched with the parameters just grabbed.
See html code below...
---
http://code.jquery.com/jquery-latest.js";>
$(document).ready
Click me
Is it possible to grab the first,second,third parameters of the showIt
function above so that I can pass the same parameters to another
function?
I managed to get the event itself using:
$("div.hitarea").next().attr("onclick")
but I don't know how to continue...
Definitely.
On Oct 5, 1:45 pm, eduardo wrote:
> Is possible use JQuery in aspx pages writing with ASp.net 3.5 ?
"somediv" should be preceded either by "#" or "." like so...
$("#somediv");
or
$(".somediv");
On Oct 5, 4:00 pm, AdrianMG <[EMAIL PROTECTED]> wrote:
> Hi guys! I was working with jQuery 1.2.6 development and firebug didnt
> report me anybug. Now I am trying to move to 1.2.6 production, but
>
I did. Thanks Josh. I modified it in such a way that given an index x
I can write:
$("#fruits option").get(x).selected = true;
And that did it.
---
On Oct 1, 3:36 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> Did you try my code? It should do what you describe.
>
Thank your for your answers but I don't want to set the value.
What I want to happen is to programmatically change the select into:
BEFORE AFTER
Select your favorite fruit: Select your favorite fruit:
Select your favorite fruit:
Apple
Orange
Pineapple
Banana
In the form above how do I programmatically set using jQuery the
Pineapple option as the selected default?
Beautiful! Thank you very much, Alex and BB.
On Sep 28, 7:32 am, BB <[EMAIL PROTECTED]> wrote:
> $("#fruits option:selected").get(0).index
Thank you. What's the code if I want the index of the selected item?
On Sep 28, 12:53 am, Alex Weber <[EMAIL PROTECTED]> wrote:
> $('#fruits').val()
>
> On Sep 28, 2:12 am, GARIL <[EMAIL PROTECTED]> wrote:
>
> > How do I use jQuery to determine whi
How do I use jQuery to determine which item was selected from the
forms below?
Thank you for the help.
Select your favorite fruit:
Apple
Orange
Pineapple
Banana
Select your favorite fruit:
All fruits
Some only...
Thanks, Jörn.
I finally got my code working.
--
On Sep 21, 7:16 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> See sample #3:http://jquery.bassistance.de/treeview/demo/
> or here:http://dynamicdrive.com/dynamicindex1/treeview/
>
> Jörn
>
>
What I'm trying to accomplish with the code below is populate nodes
dynamically.
Thus when a user clicks on a node, I call the function below. The
problem is that when the tree is rendered the + and - images to the
left of the node does not appear for the new children. Am I doing
something wron
I have the following code that retrieves data using an ajax get in the
following format:
$("#"+sid+"_c").remove();
$("#"+sid).find("a").after("");
var children;
$.get(setToNewPage("main.aspx")+"?tree=1&sid="+sid,
function(data){
I need an example on how to correctly use treeController for the
treeview plugin (http://docs.jquery.com/Plugins/Treeview/treeview)
Many thanks!
18 matches
Mail list logo