Re: [jQuery] Newbie Question: Finding and manipulating an element

2010-03-01 Thread Aaron Johnson
Greg, Nathan, Thanks very much for your help! On 1 March 2010 14:58, Nathan Klatt wrote: > On Mon, Mar 1, 2010 at 5:06 AM, Aaron Johnson > wrote: > > The top level list has an ID and associated css, I'd like to add a class > to > > each of the nested elements in order to style them differently

Re: [jQuery] Newbie Question: Finding and manipulating an element

2010-03-01 Thread Nathan Klatt
On Mon, Mar 1, 2010 at 5:06 AM, Aaron Johnson wrote: > The top level list has an ID and associated css, I'd like to add a class to > each of the nested elements in order to style them differently. I > cannot manually add a class so wondered if I could do it with jQuery. > > I'm looking for a resu

[jQuery] Newbie Question: Finding and manipulating an element

2010-03-01 Thread Aaron Johnson
Hello... I have an unordered list containing nested lists... Home Announcements Announcements Announcements Home Announcements Announcements Announcements Home

Re: [jQuery] Newbie question about updating iframe on tab select

2009-11-17 Thread 刘永杰
you should use ajax. 2009/11/18 zoog22 > > I have some tabs that I want to not update until they are selected. > > Currently, they all load their respective iframes src="x"s when the page > loads. I was thinking I could leave the link blank on loading and change > them as they are clicked. > >

[jQuery] Newbie question about updating iframe on tab select

2009-11-17 Thread zoog22
I have some tabs that I want to not update until they are selected. Currently, they all load their respective iframes src="x"s when the page loads. I was thinking I could leave the link blank on loading and change them as they are clicked. $(function() { $("#tabs").tabs(); });

[jQuery] [Newbie question]: What knowledge is required for Jquery

2009-10-15 Thread nitesh
Hi, Im a completely new to Jquery. Can I start it instantly or I need to first attain certain level of expertise in Html/CSS/JS Below is my current expirience with above 3: . HTML/CSS: Basic knowledge . Javascript/DOM: No knowledge at all Hence, let me know the roadmap to learn Jquery efficient

[jQuery] Newbie Question

2009-10-14 Thread Tiger
I am running a function that takes a long time to run in coldfusion. I would like to display a Loading Data message when the data needs to be loaded then hide that message once the data load is complete. What jQuery functions do you recommend and what basic approach do I need to take. This is wh

[jQuery] Newbie question (Bassistance Validate) - error msg does not go away

2009-09-29 Thread mango
i am new to jquery and started using the validate plugin with jquery. I tried the demo but have problems using my own jsp form. i have added the usual $(document).ready(function() { $('#customForm').validate({ rules: { field1: "required", ...} messages: { .

[jQuery] Newbie Question

2009-08-04 Thread Dave Maharaj :: WidePixels.com
I have a standard php page with some jquery going on its working fine. Now I want to take that page and load it into a div on a different page (tabbed layout pretty much) but when I do the script no longer works when the page loads into the div. SCRIPT CURRENTLY ON THE PHP PAGE THAT WORKS WHEN

[jQuery] newbie question.

2009-07-25 Thread Kris
What does this do? (function($) { do some stuff } )(jQuery);

[jQuery] Newbie Question....

2009-07-17 Thread raisputin
Hello, I have just discovered jQuery and it looks cool. I used the jQuery UI builder at ui.jquery.com to build the UI and it looks and works great :) Unfortunately I do not know enough about javascript to answer my own question, so I am deferring to you :) I would like to have a tab with a dialo

[jQuery] Newbie question

2009-07-16 Thread Greg Evans
Hello, I have just discovered jQuery and it looks cool. I used the jQuery UI builder at ui.jquery.com to build the UI and it looks and works great :) Unfortunately I do not know enough about javascript to answer my own question, so I am deferring to you :) I would like to have a tab with a

[jQuery] Newbie question

2009-07-02 Thread Alexandru Adrian Dinulescu
Hello. I am trying to do something like this $(element1 || element2).click(function(){}) unfortunately this does not work, both element1 and element2 work independently but not together and i have no clue how to get them to work together. Basically what i need that either when element1 is clicke

[jQuery] Newbie question on selectors

2009-06-03 Thread Dave Maharaj :: WidePixels.com
I have a page with 6 links that each have a unique class ; edit_profile edit_preferences edit_journal edit_entry and so on now I built 1 function based off edit_profile $("a.edit_profile").click(function(){ var url_id = $(this).attr('href'); do stuff.. }); but rather than writing the s

[jQuery] Newbie question- declarative selectors inside procedural code

2009-05-25 Thread colin_e
Hi. I'm very new to jquery, and a lightweight coder, so apologies for the newbie question. I think I understand the "implied loop" declarative nature of jquery selectors, that say (sort-of) "for everything matching the selector do"{ } What i'm struggling to get my head around is how this works

[jQuery] jquery newbie question - .load() does not work after form submission

2009-05-22 Thread rumpa_g
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

[jQuery] Newbie question about toggle.

2009-05-21 Thread Lacrima
Hello! I think very simple question, but I am very new to jquery... For example, I have the next code: $('#info').hide(); $('a#show_hide_info').click(function(){ $('#info').toggle(); }); So when a user click on #show_hide_info, #info element become visible or

[jQuery] Newbie Question... Appending multiple items, with the same span name

2009-05-13 Thread Troy
Hello, I'm relatively new to jquery, so I have what I hope will be a simple question. I need to append multiple spans to the line items in an unordered list. Essentially, each line item contains a and I need to grab the content of that span and append it to the bottom of the line item it's conta

[jQuery] Newbie Question - Show/Hide on a:link

2009-04-17 Thread KetanMV
Hi guys -- very basic question here I think. I've got some documentation and a book in front of me, but I can't get this to work! I want to click the "Welcome" nav item to show the div named "welcome" on the page. If I use just the "hide" line of code, the page loads up with the DIV hidden properl

[jQuery] newbie question: problem attaching event listener to fragment loaded in ready handler

2009-04-09 Thread soul268
Hello, I'm pretty new to jQuery and ajax in general - so excuse me for the simple question. Question: How can I load a whole form with load() and after this fragment is added to the DOM of the page, set some event handlers to some of the elements of the form? I'm trying to load a code fragment

[jQuery] newbie question

2009-04-06 Thread Ronz
I've tried loading jquery.js into a site several times several different ways and can't even get an alert to pop up. I can get a test page to work only if I use an src address to google's jquery. Can't I just upload the jquery-1.3.2.min.js file or is there some configuring I have to do? What pro

[jQuery] Newbie Question: get id from A tag

2009-03-24 Thread Jesse
Hello, I am not good at js. I want to get the id from "A" tag. E.g. link I need the value "1234" from the code above, but dont know how to do it. Please help. Thanks.

[jQuery] newbie question: how can i prevent this infinite loop scenario?

2009-03-20 Thread bobby burgess
Hi all, jQuery newbie here and this is my first post. I'm stuck on this conundrum: I have some images on a page and .hover() is bound to each. The "is hovering" function displays an absolute-positioned DIV on top of everything else (it contains a bigger version of the clicked-on image). The "is

[jQuery] Newbie question - downloading jQuery

2009-02-06 Thread rontivo
I just stumbled across jQuery - I'm very impressed with what I've seen on the site. In my case my interest was sparked by a desire to put a floating dialog on our site. I've downloaded jQuery, and I was able to copy the code from the sample and get a dialog to show up, but I notice that the samp

[jQuery] newbie question- how to configure get request - ui sortable list using connectWith

2009-01-24 Thread Scott Wagner
Hello I have been trying make a sortable list that sorts elements among different unordered lists and sends the data to a script to update the order in a a database. The problem I'm having right now is that the get request is only sending the data from the that the element is dropped into.

[jQuery] Newbie question

2009-01-05 Thread saiful.ha...@gmail.com
hi all, is jquery have function like findXY(element) or scroll position? sorry not finish read all document about jquery ~ saiful haqqi ~

[jQuery] Newbie Question with Hot Keys

2008-12-17 Thread sshefer
Hi, I've been having a bit of trouble with this bit of code and I was wondering what I am doing wrong in the chaining... I am using the js-hotkeys plugin to allow keypress events only while hovering over a specific class. However, I would like the effects only to be applied to it's id. How ca

[jQuery] Newbie Question: DropUP menus

2008-11-12 Thread Mike
I'm working on a website at http://beta.ponderosatreeservice.com (excuse the dust). As you can see I have a series of tabs at the bottom of the large image. Instead of a traditional menu that drops down below the tab I'd like it to extend up with the original tab header still at that top. I've upl

[jQuery] Newbie question: how to reference an element via XML attribute.

2008-10-15 Thread JFQueralt
Hi, everyone. Sorry for such simple question but not being familiar with jQuery I just can´t find how to do this: The objective is to change the content several elements of a page loading an XML file via the "get" function. The XML file: Some text in english

[jQuery] Newbie question: how to reference an element via XML attribute.

2008-10-15 Thread JFQueralt
Hi, everyone. Sorry for such simple question but not being familiar with jQuery I just can´t find how to do this: The objective is to change the content several elements of a page loading an XML file via the "get" function. The XML file: Some text in english

[jQuery] NEWBIE Question re span and form elements

2008-08-28 Thread Peter Bailey
Hi there. I recently discovered jQuery and it appears to be an excellent library. I started looking at libs because I have a specific problem I want to solve easily. I want to an able to show and hide a on my page. The span may contain some form elements like checkboxes for example. It is possibl

[jQuery] newbie question about assigning a varialbe for use in a selector statement

2008-07-12 Thread jt
I have a form with the following (there are about 20 of these; you can assume that the id value goes up to 706): add image 2 and beneath it would like to have a form element that is normally hidden: hello in add_image_content Basically, I'd like to be able to access the e.targed.id and then us

[jQuery] Newbie question about Radio Buttons

2008-02-11 Thread PKJ
Hi, I am thinking about using JQuery in a site I develop, but I am struggling to work out how to achieve what I want, so any advice would be appreciated. I have a matrix of radio buttons. I can ensure that only one radio per row is selected by giving the radio buttons on each row the same name.

[jQuery] newbie question - why does this code not work?

2007-12-29 Thread X490812
I have a jsf application, and the rendered html has a radio button group that essentially looks like this : . . My Cases

[jQuery] newbie question

2007-12-06 Thread FrenchiINLA
I have a javascript function like MyFunc(btn), and I would like to associate a click event to all my button with button1 class in the page to this function. I tried the following code and is not working for me: $("[EMAIL PROTECTED]'button'].button1").each(function() { this.click(f

[jQuery] Newbie question regarding requesting confirmation when a link is selected.

2007-12-02 Thread lattedaddy
Hi- I'm pretty new to both JS and JQuery. Thanks for the help in advance. I have a link in my code as follows (it talks to an app to do a delete of a task) ">Delete When the link is selected I would like to popup a confirmation dialog and either do the delete or not depending on th

[jQuery] Newbie Question: Callback for Load Only Works the First Time Load is Called?

2007-10-30 Thread Vik_R
I've got some code that uses load to add some help info to a page when the user clicks on a help button. I pass the current contents of the div to the php function that provides the help info. The php function checks the current contents, and if it sees that the help info is already on the scr

[jQuery] Newbie Question: Specifying the links that are in a particular Div?

2007-10-29 Thread Vik_R
I'd like to attach an onclick function to the links that are in a specific div. The id of the div is "menu". I tried variations on this: $(document).ready(function(){ $("#menu").("a").click(function(){ alert("Thanks for visiting!"); }); }); ...but I was just guessi

[jQuery] Newbie question on hide objects

2007-10-25 Thread Merlin
Hello everybody, I am trying to add a comment functionality to my webapp that includes a reply possibility on each comment. Like on digg for example. I am new to AJAX, but would like to take this oportunity and to jump into cold water with that task now. My goal is to use JQuery to show and hide

[jQuery] Newbie question: Create a horizontal slide effect to switch between two divs

2007-10-15 Thread squawk
I have two divs, both with their own id. If necessary, I can wrap them in a container element. I would like to achieve an effect as on http://www.hugeinc.com/casestudies/ but am not quite sure how to start. Should I hide the later div first? or position it absolutely outside the container div with

[jQuery] newbie: question

2007-10-13 Thread Manu
hi, To use AJAX in my website, I select the "a" field. I'll would like to know if it is possible to select only the link who have not an onclick method. Thanks,

[jQuery] newbie question

2007-10-05 Thread marciovozes
Hi for all. First, excuse my english ;) I'm starting to use JQuery, and I feel that will help me a lot. I build a class that can help anyone to make tabs without troubles, but I think it most be improved, and that is the ideal place to do that. So by the way, is there anyway to send that code for

[jQuery] Newbie question

2007-10-02 Thread Johny
Hi, I have style defined like this div#Explanation{position:absolute; top:720px; width:10px; right: 0px;margin:40px 0 0 0;} and my HTML code * Login Popis * Password and I would like to add Explanation style to my using jQuery. Is that possible? Thanks

[jQuery] NEWBIE QUESTION: Catch Select event

2007-09-20 Thread hobbit
Hi, I would like to catch the select event when a user changes the select item in any in a form. Something like: $("select").select(function() { //do some stuff here... )}; Is this feasible?

[jQuery] Newbie Question: Workiing with form fields and jQuery / Select in Particular

2007-09-20 Thread Brook Davies
How do you get a reference to a select field and then do things like set the selectedIndex, get the options array etc. I know I can get a reference to the object via a basic selector $("#mySelect") but then how do I access the options array and related stuff? How do you access the 'object'

[jQuery] NEWBIE Question: children() skips first element?

2007-09-12 Thread Brook Davies
Hello, I am trying to simply grab the children of a div. The markup is: [Section/Panel Heading]

[jQuery] Newbie Question: Javascript Never Gets Called?

2007-09-11 Thread Vik
I'm a Javascript newbie, but I do have some Javascript working, and I have the jQuery demo working. Here's the code I have on one of my html pages to load javascript: - http://localhost:/js/jquery.js"; type="text/ javascript"> http://localhost:/js/ jquery.selectCombo1.2.1.js"

[jQuery] Newbie question about click()

2007-06-15 Thread Giovanni Battista Lenoci
Hi, I'm a newbie in jquery please be patient :-) I'm playin with jquery mixing some tutorials. I'm trying to open a with some text within with the animation control, and a link. Then when I opened the I want to change the behaviour of the link. When I click on the link I do the animation, a

[jQuery] newbie question: keypress vs keydown

2007-05-21 Thread james_027
Hi, Is there a difference between to two? Any guidelines on which one to use on a certion situation? Thanks james

[jQuery] newbie question: how to set location to a target in a way that is supported by i.e. and safari?

2007-05-03 Thread [EMAIL PROTECTED]
Hi can jquery help with the followng problem? If, in conventional javascript, I have a function goToAnchor(){ href.location="#blah" } and call it by then it works fine in i.e. and firefox but causes safari to endlessly load the page - see (http://www.s-seven.net/safari_bug.html#h_value6) I'd