[jQuery] Jquery and Dynamic assignment

2010-01-20 Thread West415
Hi, I am new to jquery and I have some code that I wrote that loops over some records from my database and at each iteration of the loop (a coldfusion loop, either way same concept) I want to create a few buttons that the user can click to do things. Each button will be unique by appending a

[jQuery] class={title:'test'}

2010-01-20 Thread fran23
I don't know how to handle class={title:'test'} it's out of the mb.extruder plugin div id=extruderLeft class={title:'test'} div class=content div class=voice {} logo /div div class=voice

Re: [jQuery] class={title:'test'}

2010-01-20 Thread Matt Quackenbush
This is utilizing the metadata plugin for jQuery. It handles that sort of stuff. Sent from my iPhone On Jan 20, 2010, at 3:34, fran23 f...@lavabit.com wrote: I don't know how to handle class={title:'test'} it's out of the mb.extruder plugin div id=extruderLeft class={title:'test'}

[jQuery] Delete Row table using jquery

2010-01-20 Thread adi sembiring
Hi ... Supposed I have table like this idnameaddressaction -- s1n1a1delete s2n2a2delete delete is a link for example `a href=http://localhost/student/delete/1;`. In the real case I delete the

Re: [jQuery] Delete Row table using jquery

2010-01-20 Thread Md. Ali Ahsan Rana
This should do your work. Get a try $(document).ready(function() { $(a).click(function(event) { alert(As you can see, the link no longer took you to jquery.com ); var href = $(this).attr('href'); alert(href); event.preventDefault();

Re: [jQuery] (Validate) Checking once an Entry is Change

2010-01-20 Thread Scott Wilcox
Got it working now, but thanks! Turned out my backend wasn't returning right. Human error we'll call it ;) On 19 Jan 2010, at 20:22, Nathan Klatt wrote: On Sat, Jan 16, 2010 at 6:42 PM, Scott Wilcox sc...@tig.gr wrote: Pastebin of code: http://pastebin.com/ma643a4e Hiya Scott, What's

[jQuery] Live function syntax

2010-01-20 Thread Mircea
Hi, I want to add a live event on a function. My function is: $(#family).click(function(){ $($(#tag).val()).css(font-family, $(#family).val()); }); I've tryed to add it like this: $(#family).live(click, function(){ $($(#tag).val()).css(font-family, $(#family).val()); }); but I get a

RE: [jQuery] Live function syntax

2010-01-20 Thread Rick Faircloth
How about making a variable out of $(#tag).val() and using that for the css variable? $('#family').click(function() { value = $(this).val(); $('#tag').css('font-family', value); }); -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

[jQuery] JQuery list moving from Google to Zoho?

2010-01-20 Thread Knight, Doug
Hi all, Can someone confirm that this list is moving from Google to Zoho Discussions? With the recent spate of cyber attacks I try to confirm emails like the one I got over the weekend to register at Zoho. Thanks, Doug

[jQuery] Re: JQuery list moving from Google to Zoho?

2010-01-20 Thread shovi
yes, they've moved for a variety of reasons...the link provided in the email gave insight to the process. On Jan 20, 8:03 am, Knight, Doug dkni...@mitre.org wrote: Hi all, Can someone confirm that this list is moving from Google to Zoho Discussions? With the recent spate of cyber attacks I

[jQuery] Re: class={title:'test'}

2010-01-20 Thread MorningZ
Here is the plugin http://plugins.jquery.com/project/metadata in your example of div id=extruderLeft class={title:'test'} var x = $(#extruderLeft).metadata().title; console.log(x); would show test in the Firebug console On Jan 20, 4:34 am, fran23 f...@lavabit.com wrote: I don't know how to

[jQuery] Re: Live function syntax

2010-01-20 Thread MorningZ
How should I use it right? there doesn't seem to be anything wrong with your syntax (with the .live part anyways, your usage of .val() has no impact on your issue) got more code to show? are you using at least the 1.3.2 version of the library? also take into account that id's on the page

Fwd: [jQuery] jquery iframe hide div

2010-01-20 Thread DOTS D.O.Technology Services
hello these days i am also working on same and trying to hide few of the div inside the iframe of some other domain. just wanted to know can you help me with the solution. Thanks

[jQuery] Saving state of page wig Jquery

2010-01-20 Thread Danijel
i spent about several days trying to figure out hot to save state of open forms. In my web page I have a jquery treeview tool, when I click form is loaded into the #form div. $(document).ready(function(){ $('#treeview').click(function() { $('#form').load('../forms/inputdata.php'); });

[jQuery] jQuery + select

2010-01-20 Thread Mateo
This is a little baffling to me. I can get the selected value (val attribute) on an option element, but only by using the following method: var selectedId = $(#mySelectElement :selected).val(); This is great, but all the examples I have read simply do the following: var selectedId =

[jQuery] saving state of page

2010-01-20 Thread Danijel
spent about an hour trying to figure out why a form I was loading to a web page was not updating. In my web page I have a navigation button tool, when I click I want to load a form into the #display div. $(document).ready(function(){ .. a bunch of code. $('#menu

Re: [jQuery] How to insert HTML in an iframe

2010-01-20 Thread Jimmy Brodd
This should do the trick: $('#iframeId').contents().find('body').append('stuff'); On Tue, Jan 19, 2010 at 10:31 PM, pablo pablo00...@hotmail.com wrote: Hi, I need to insert HTML in an iframe. This works in IE but not in Firefox: $(this.iframe).append(phello/p); What is the problem in

[jQuery] Re: Selection broken in Firefox 3.5.7

2010-01-20 Thread Martin Lodewyks
The syntax is wrong, should be :checked. On Jan 19, 10:31 pm, Jeff fnd...@gmail.com wrote: Hi, I have the following code to ensure at least one report checkbox is checked on my page if ($(input[type='checkbox'][checked]).size() == 0) {                   $(#error).css(color,

Re: [jQuery] need help with simple jQuery problem

2010-01-20 Thread Adriana P
Hi Rory, You need only the expandAll() plug-in: $(function() { $(#outer).expandAll({trigger: span.expand, ref: div.demo, showMethod: slideDown, hideMethod: slideUp, speed: 600}); }); Regards, Adriana Rory Bernstein wrote: Hello, I am a total jQuery novice, and I tried to use

[jQuery] Re: Validate jquery plugin problem

2010-01-20 Thread Niagara
No error bat if i insert a valid captcha, show label error with '1'. If i insert a fake captcha, show label error correctly. The part of code is: antispam_captcha: { required: true, remote: /metwit/comuni/action.php

Re: [jQuery] jQuery + select

2010-01-20 Thread Nathan Klatt
On Wed, Jan 20, 2010 at 12:34 AM, Mateo matthew.kim...@gmail.com wrote: var selectedId = $(#mySelectElement).val(); Returns the value of the select element but you want the value of the selected option element under the select, hence: var selectedId = $(#mySelectElement :selected).val();

[jQuery] Re: Live function syntax

2010-01-20 Thread Mircea
Thanx Rick and Morning Z. I've change it and it works now. Thanx again

[jQuery] Bindind keydown function to a form - submit on keydown (value change)

2010-01-20 Thread Mircea
Hi, I am trying to make a form to run a function on keyup, keydown. The markup is: select id=family option value=Georgia label=GeorgiaGeorgia/option option value=Times New Roman label=Times New RomanTimes New Roman/option option value=HelveticaNeue-Light label=Helvetica

[jQuery] replaceWith bug in jQuery 1.4?

2010-01-20 Thread teknoFX
There appears to be a bug in the jQuery 1.4 implementation of replaceWith. If you try to replace an element with just plain text, jQuery removes the element altogether and does not swap in the text. It works fine if the text is surrounded by tags. For example: div id=foothis is some text/div

Re: [jQuery] replaceWith bug in jQuery 1.4?

2010-01-20 Thread Nathan Klatt
On Wed, Jan 20, 2010 at 8:43 AM, teknoFX shmuel...@gmail.com wrote: There appears to be a bug in the jQuery 1.4 implementation of replaceWith. If you try to replace an element with just plain text, jQuery removes the element altogether and does not swap in the text. From the replaceWith

Re: [jQuery] JQuery Trigger Event

2010-01-20 Thread Asharudeen
Hi, I will explain my use case here. I am new to JQuery and I am currently working on listing Dynamic Tree list by using JQuery column navigation plugin. Please refer the following link to check the plugin demo page: (Note: The demo is not a dynamic tree list)

Re: [jQuery] replaceWith bug in jQuery 1.4?

2010-01-20 Thread Evgeny Bobovik
This is not a bug, if u want to replace data contained on the element, you can use operator $(element).html('any html or text'); *Email: bobo...@gmail.com ICQ: 382081663 Skype: evgeny_bobovik Gk___*

Re: [jQuery] Possible jQuery 1.4 and jQuery UI 1.7.2 bug

2010-01-20 Thread Evgeny Bobovik
As I know, for each new jquery version released new jquery ui version, find jquery ui 1.8... *Email: bobo...@gmail.com ICQ: 382081663 Skype: evgeny_bobovik Gk___ *

[jQuery] jQuery Corner Help

2010-01-20 Thread mcrus
Hello, Completely new to jQuery. I am trying to use the corners. I have it only half working and sure there is something simple I am missing. When I implement a corner on a div. It is only applying to the top corners. I have tried adding br to the code, but it does not show up. Here is the way I

Re: [jQuery] Bindind keydown function to a form - submit on keydown (value change)

2010-01-20 Thread Nathan Klatt
function setFamily() { $('#family').css('font-family', $('#family :selected').val()); } $().ready(function() { setFamily(); $('#family').bind(change keypress, setFamily); } As a bonus, this will work if they press the first letter of the option they're selecting - it's all good. :) Nathan

[jQuery] Call ajax on sucess response from a previous ajax

2010-01-20 Thread Bonji
Hi. Im not sure if this is the correct way of going about this so i thought i'd ask the experts... I have a jquery ajax script which simply returns true or false based on the response from a php script. This works just fine. However i want to know if it is possible to load a second ajax call

Re: [jQuery] Call ajax on sucess response from a previous ajax

2010-01-20 Thread Michael Lawson
Do you have any code to share? cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'When seen from outer space, our beautiful blue planet has no national boundaries.' http://www.givesmehope.com/

[jQuery] Re: jQuery Corner Help

2010-01-20 Thread Bonji
Hi So you should have some thing like this for the div div class=rounderdiv content/div and something like this for the corner control. script type=text/javascript $(document).ready(function() { $(.rounder).corner(45px); }); /script also jquery.js and jquery.corners.js in

[jQuery] Re: Bindind keydown function to a form - submit on keydown (value change)

2010-01-20 Thread Mircea
Thanx Nathan, It works. It does change the class to the #family form. Is it possible to make it change the class to the Option element? option class=option value=Georgia label=GeorgiaGeorgia/ option option class=option value=Times New Roman label=Times New RomanTimes New Roman/option option

Re: [jQuery] Re: Bindind keydown function to a form - submit on keydown (value change)

2010-01-20 Thread Nathan Klatt
On Wed, Jan 20, 2010 at 11:20 AM, Mircea i...@amsterdamsat.com wrote: Thanx Nathan, It works. It does change the class to the #family form. Is it possible to make it change the class to the Option element? You mean style the option element? function setFamily() { $('#family

Re: [jQuery] Re: Bindind keydown function to a form - submit on keydown (value change)

2010-01-20 Thread Nathan Klatt
Sorry, function setFamily() { $('#family').css('font-family', $('#family :selected').val()); } $(#family option).each(function() { $(this).css('font-family', $(this).val()) }); setFamily(); $('#family').bind(change keypress, setFamily); http://jsbin.com/agifi/2/edit Nathan

[jQuery] Re: Call ajax on sucess response from a previous ajax

2010-01-20 Thread Bonji
Ok basically on click of any anchor tag this ajax script calls a php script called sessions.php //data var data = 'do=update'; //run ajax $.ajax({ //post rather than get (default) type: POST, //pass to php script url: /php-bin/sessions.php, //send data

[jQuery] Re: click action effect/problem

2010-01-20 Thread Scott Sauyet
I'd like to thank you guys again for the quick response, but for some reason, both methods aren't working. I made two suggestions. MorningZ's suggestion was very much like my first one. My second one is a bit more general, and might help. I modified MorningZ's page here:

[jQuery] Filtering a jQuery Object variable

2010-01-20 Thread BKahuna
I've got a variable that holds a jQuery object. I would like to filter out all of the visible elements in that jQuery object. The problem is once I'm using a variable and not the jQuery object itself I don't know the semantics for filtering it. I have something like this: var Foo = $(#Bar);

[jQuery] jQuery is Moving to a Forum

2010-01-20 Thread John Resig
Hello All - After much deliberation the jQuery team has decided to close down the Google Groups that we've been using for project discussion and move to a unified forum instead. The new forum can be found here: http://forum.jquery.com/ More information about our decision to move can be found

[jQuery] Re: Bindind keydown function to a form - submit on keydown (value change)

2010-01-20 Thread Mircea
Thanx a lot Nathan! It works like a charm. All the best

[jQuery] Re: Filtering a jQuery Object variable

2010-01-20 Thread MorningZ
http://docs.jquery.com/Traversing/filter#expr so Foo = Foo.filter(:visible); On Jan 20, 1:52 pm, BKahuna j...@twistedlogictechnology.com wrote: I've got a variable that holds a jQuery object.  I would like to filter out all of the visible elements in that jQuery object.  The problem is

[jQuery] AjaxSubmit - Form Plugin Serialize Submit Button Data

2010-01-20 Thread Jamie
Hi I have multiple submit buttons on a form. I haven't been able to figure out how to get the name parameters on the clicked submit button serialized when using the ajaxSubmit method. It appears ajaxForm passes serializes the submit button info, but ajaxSubmit does not. I need to handle each

Re: [jQuery] Filtering a jQuery Object variable

2010-01-20 Thread BKahuna
Thanks Morning - that's just what I needed. BKahuna -- View this message in context: http://old.nabble.com/Filtering-a-jQuery-Object-variable-tp27246700s27240p27247469.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Re: [jQuery] Re: Call ajax on sucess response from a previous ajax

2010-01-20 Thread Michael Lawson
Well, one thing you could do is to put your other ajax call on an interval. You have a boolean that says whether or not authentication was successful. Each time the interval tries to run your second ajax call, it first checks to see if this boolean is true, if it is, make the call. If its not,

[jQuery] Superfish - Only works on home page, not site Pages

2010-01-20 Thread initialsbr
I'm not sure what's wrong. I'm building a site in Wordpress. I followed the directions on the Superfish site and things look good on the home page but then the HTML just shows up on the site Pages. Any help? Suggestions? Thanks!

[jQuery] Re: need help with simple jQuery problem

2010-01-20 Thread Rory Bernstein
Hi Adriana, Adriana, I am honored that you wrote in to help me; it is, or course, your script I am trying to work with. I do not understand what you are asking me to do; can you please give more info/context? Are you saying that I am missing the lines of code you put in your response? If so,

[jQuery] Output textbox value to jQuery variable

2010-01-20 Thread Rip-Tide
I'm trying to install the FullCalendar add-on for jQuery. I am trying to take a hidden textbox value and insert the value into a jQuery variable that I will then use for the Event Array data. Right now it is all static, but the idea of this is to allow for dynamic events to be sent to the jQuery

[jQuery] FastFlip like plugin

2010-01-20 Thread Richard
Hello, do you know of a JQuery plugin that supports rapidly skimming through an image set like Google's FastFlip? For demo see http://fastflip.googlelabs.com/ Thanks, Richard (sorry, I accidentally posted this question to JQuery-UI)

[jQuery] Re: Output textbox value to jQuery variable

2010-01-20 Thread Rip-Tide
I figured out a solution. I added a literal control to the .aspx website, then I wrote then entire javascript script type='text/ javascript' to the literal via the code behind, and it all output and parsed correctly. Not perfect, but effective.

[jQuery] Superfish - Different colors for each menu column

2010-01-20 Thread PTwatch
I'm trying to come up with an approach to assign a different color scheme for each main group (column). ie: ul class=sf-menu sf-vertical li # Menu1 /li li class=red #a Menu2 ul li class=red #aa Menu2-subitem1