[jQuery] Re: Beginner Question

2009-04-01 Thread Flavouski
That sort of helped, unfortunately I'll have multiple inputs that have the same name. And with that code I wouldn't be able to say i have this DOM object, get me the firstname. But, it was good to get to know some more of the syntax. Ends up the better solution, at least for my case, is just

[jQuery] Re: Beginner Question

2009-03-26 Thread Karl Swedberg
Just use an attribute selector. For example: $('input[name=firstName]') http://docs.jquery.com/Selectors/attributeEquals#attributevalue --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 26, 2009, at 10:04 AM, Flavouski wrote: In JQuery I saw you can

[jQuery] Re: Beginner Question

2009-03-23 Thread jQuery Lover
Which treeView plugin are you using? http://jquery.bassistance.de/treeview/demo http://be.twixt.us/jquery/treeView.php The second one collapses and expands when you click on [-]/[+] links only... probably what you want... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com

[jQuery] Re: Beginner question: AJAX doesn't work

2009-02-27 Thread carlos benitez fil
Hi; you has a lot of sintaxis errors; I have written your code again and now works fine: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type

[jQuery] Re: Beginner question: AJAX doesn't work

2009-02-27 Thread etnas
Hi; you has a lot of sintaxis errors; I have written your code again and now works fine: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type

[jQuery] Re: Beginner question: Using a function inside of an external plugin

2009-01-29 Thread James Westgate
Place this inside the plugin closure: jQuery.fn.rte.disableDesignMode = function(iframe, submit) { disableDesignMode(iframe, submit); } Then call it using jQuery.fn.rte.disableDesignMode(x,y); Better still, ask the author to add this as a public function. On Jan 29, 3:48 pm, kgosser

[jQuery] Re: Beginner question about toogeling a status

2008-12-30 Thread brian
On Mon, Dec 22, 2008 at 7:20 AM, heohni heidi.anselstet...@consultingteam.de wrote: This: status.addClass(the_new_status); prints the new status, but the browser does not show the image which is connected with the new status class? Can I somehow refresh the div only? Is that possible?

[jQuery] Re: Beginner question about toogeling a status

2008-12-22 Thread heohni
Hi Brian! your idea was great! Thanks! It works all very well expect one little piece On 11 Dez., 18:50, brian bally.z...@gmail.com wrote: Something like this: $(document).ready(function(){         $('div.statusimg').click(function() {                 var status = this;                

[jQuery] Re: Beginner question about toogeling a status

2008-12-11 Thread heohni
Hi, is there someone who can give me a hand with that topic? Please? On 11 Dez., 16:30, heohni [EMAIL PROTECTED] wrote: Hi, this is my first post, I hope I do everything right! I have a list of users and for each user I have a little img showing the actual status which is eather - active

[jQuery] Re: Beginner question about toogeling a status

2008-12-11 Thread brian
On Thu, Dec 11, 2008 at 10:30 AM, heohni [EMAIL PROTECTED] wrote: Hi, this is my first post, I hope I do everything right! Most of us only post questions here when we're doing something wrong ;-) For the moment I toogle only active into inactive. Because I do not know how to send 2

[jQuery] Re: beginner question on show/hide and reusing functions

2008-05-08 Thread Wizzud
Something like this?... $(document).ready(function() { var sp = $('.searchpanel').hide() //hide boxes initially , so = $('#searchoptions') , anim = false //prevents fast clicking of second option ; // shows all $('a.showall', sp).click(function() { anim = true; //hide

[jQuery] Re: beginner question on show/hide and reusing functions

2008-05-08 Thread illtron
Thank you! That's *exactly* the sort of thing I had in mind, and *exactly* how I thought it might work (I just didn't know exactly how to do it myself). Great commenting too; it'll really help me learn! On May 8, 5:24 am, Wizzud [EMAIL PROTECTED] wrote: Something like this?...