[jQuery] Re: $.data

2009-02-05 Thread jQuery Lover
There is not much to talk about it... It let's you save information (metadata if you prefer) to objects. This should explain it all: $('#profile_name').data('metaInfo', 'This is my extra data about the object'); $('#change_profile_name').val( $('#profile_name').data('metaInfo') ); Read jQ

[jQuery] $.data

2009-02-05 Thread Chris J. Lee
I haven't been able to find good documentation on the use of $.data. Does anyone have any good links to use of this function?

[jQuery] Re: What is difference between ADO and RDO

2009-02-05 Thread jQuery Lover
This is all spam I guess ... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 11:39 AM, Charlie Griefer wrote: > heh... i searched google, but searched the web. didn't search groups :) > > On Thu, Feb 5, 2009 at 10:36 PM, Michael Geary wrote: >> >>

[jQuery] Re: jquery.combobox jumping in internet explorer

2009-02-05 Thread jQuery Lover
You were probably using jquery 1.3.1 and dimensions plugin. Dimensions plugin has been included into the jquery core since 1.2.(don't remember:) ) That is probably the source of the problem... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 12:05 PM

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-05 Thread jQuery Lover
jQuery works just fine with wordpress. There is nothing in wordpress that may conflict with jquery. Moreover, wordpress admin panel uses jquery. Can you post a link to your page, so we could look into it and try to find out what's causing the problem... Read jQuery HowTo Resource - http:/

[jQuery] Re: Optimized Function to transfer Array to Listbox

2009-02-05 Thread jQuery Lover
Use simple old javascript. jQuery is a great framework, but sometimes plain javascript is better, your case is an example... (IMO) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 11:49 AM, JQueryProgrammer wrote: > > I have two array of items contai

[jQuery] Re: jquery.combobox jumping in internet explorer

2009-02-05 Thread amay0048
used this instead, tested and working cross browser http://info.wsisiz.edu.pl/~suszynsk/jQuery/demos/jquery-selectbox/

[jQuery] Re: how to pass id to function

2009-02-05 Thread Praveen
Thanks Brian. ok let me explain in brief what i am trying to do in html {% for name in eventname %} {{ name.title }} {{ name.title }} {{ name.address }} {% endfor %} //here to fore i was trying to generate div id using which was generating in weired way "The

[jQuery] Optimized Function to transfer Array to Listbox

2009-02-05 Thread JQueryProgrammer
I have two array of items containing the values and text to be inserted in a Listbox. I had written the function as: array2Listbox = function(objListBox, arrValue, arrText) { var oNewOption; return jQuery.each(arrValue, function(i) { oNewOption = new Option(arrTex

[jQuery] General Question RE: Using jQuery with Wordpress

2009-02-05 Thread MH1988
I just wanted to ask in general if using jQuery inconjunction with Wordpress does actually work? I'm pretty sure if jQuery (attached with a jQuery plugin) would work if it was to be included on the frontpage (index.php) but maybe not for individual Wordpress posts? It's has been quite a mountain t

[jQuery] Re: What is difference between ADO and RDO

2009-02-05 Thread Charlie Griefer
heh... i searched google, but searched the web. didn't search groups :) On Thu, Feb 5, 2009 at 10:36 PM, Michael Geary wrote: > And let me Google *that* for you: > > http://groups.google.com/groups?q=agile.scrapping%40gmail.com > > -Mike > > -- > *From:* Charlie Gr

[jQuery] Re: What is difference between ADO and RDO

2009-02-05 Thread Michael Geary
And let me Google that for you: http://groups.google.com/groups?q=agile.scrapping%40gmail.com -Mike _ From: Charlie Griefer Sent: Thursday, February 05, 2009 9:00 PM On Thu, Feb 5, 2009 at 8:57 PM, Agile Consulting wrote: Explain ADO and RDO http://letmegooglethatforyou.com/?q

[jQuery] Re: is it correct way to pass id to function

2009-02-05 Thread Praveen
Now i have solved my problem $(document).ready(function () { $(".viewalldetailslinktext ").find("a.basic,input.basic").click (function (e) { e.preventDefault(); $('#basicModalContent').modal(); }); }); On Feb 6, 10:39 am, Praveen wrote: >

[jQuery] Re: how to pass id to function

2009-02-05 Thread brian
On Thu, Feb 5, 2009 at 11:45 PM, Praveen wrote: > > so that's why i am generating different div id > > {% for name in eventname %} > > ... > > so now my div id is > class="viewalldetailslinktext"> It appears that you first must fix how your application assigns the ID to

[jQuery] is it correct way to pass id to function

2009-02-05 Thread Praveen
http://dpaste.com/117315/ my html --- {% for name in eventname %} {{ name.title }} {{ name.address }} {{ name.summary }}

[jQuery] Re: jquery.combobox jumping in internet explorer

2009-02-05 Thread amay0048
bumping this also wondering if anyone knows a select box replacement plugin which works cross broswer On Feb 2, 9:22 am, amay0048 wrote: > I've implemented the jquery.combobox plugin (http:// > jquery.sanchezsalvador.com/page/jquerycombobox.aspx) on a site > (http://www.powerbuy.com.au). The p

[jQuery] Re: Cascade plugin - feature/improvement request (data optimization)

2009-02-05 Thread James
@Mike Hi again! I'm "almost" getting it. I guess what I'm trying to do is use nested arrays within the JSON structure and maybe jQuery can't handle it? I've restructured the JSON file to be: { "Country1": { "Region1": [ "Citya1", "Citya2", "Citya

[jQuery] What is difference between ADO and RDO

2009-02-05 Thread Agile Consulting
Explain ADO and RDO

[jQuery] Re: ui draggable (option drag doesn't work)

2009-02-05 Thread Richard D. Worth
Which version of jQuery UI are you using? jQuery UI 1.5.3 is only compatible with jQuery 1.2.6 jQuery UI 1.6rc6 is only compatible with jQuery 1.3+ When these don't match, the most common error is callbacks not firing. If that's not your issue, please post a follow-up on the jQuery UI list http:

[jQuery] What is difference between ADO and RDO

2009-02-05 Thread Agile Consulting
Explain ADO and RDO

[jQuery] What is difference between ADO and RDO

2009-02-05 Thread Agile Consulting
Explain ADO and RDO

[jQuery] Re: What is difference between ADO and RDO

2009-02-05 Thread Charlie Griefer
On Thu, Feb 5, 2009 at 8:57 PM, Agile Consulting wrote: > > Explain ADO and RDO http://letmegooglethatforyou.com/?q=ado%20rdo -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success.

[jQuery] What is difference between ADO and RDO

2009-02-05 Thread Agile Consulting
Explain ADO and RDO

[jQuery] how to pass id to function

2009-02-05 Thread Praveen
http://dpaste.com/117299/ my html --- {% for name in eventname %} {{ name.title }} {{ name.address }} {{ name.summary }}

[jQuery] Re: Superfish Help

2009-02-05 Thread Aaron Gundel
if you're logged in? On Thu, Feb 5, 2009 at 5:32 PM, Josh wrote: > > Hello, > > I have installed the Superfish module and can get it to display on my > site, but I can't seem to get the drop-down to look good. In fact it > looks pretty awful. Any help would be great. You can see it at > e

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread Michael Geary
"...there is not much room for improvement left." You just know that when you say that, someone will come along with a 20x-40x improvement. ;-) http://mg.to/test/loop1.html http://mg.to/test/loop2.html Try them in IE, where the performance is the worst and matters the most. On my test machine

[jQuery] Re: Superfish

2009-02-05 Thread uztha4c
just take a look at the source code for the site...basically it looks like this: The Briefing Room The Blog Your Weekly Address Slideshows Press Briefings Official Statements Press Releases

[jQuery] Re: Checkbox selection

2009-02-05 Thread James
Here's a good read for you: http://www.learningjquery.com/2008/12/quick-tip-click-table-row-to-trigger-a-checkbox-click On Feb 5, 4:40 pm, Sam Hastings wrote: > Hi everyone, > > I've got an HTML table like this: > > >         >                 Foo >                 Bar >                 Baz >

[jQuery] Checkbox selection

2009-02-05 Thread Sam Hastings
Hi everyone, I've got an HTML table like this: Foo Bar Baz What I'd like to do is toggle the checkbox's checked state when any of the cells in its row are clicked. I've tried this a thousand different ways and

[jQuery] validation plugin: validate checkboxes that don't have same name?

2009-02-05 Thread claudes
using validation plugin, is there a way to validate checkbox group that has different name attributes? i would like to make sure that at least one checkbox has been selected but i'm not sure how to do it because they all have different names. thanks -- View this message in context: http://www

[jQuery] ui draggable (option drag doesn't work)

2009-02-05 Thread knight
Hello, The question is why drag-option doesn't work ( options.drag = function (event,info) { alert('drag'); } )? Thanks in advance. http://www.w3.org/1999/xhtml";> Scroll element .scrollable { overflow:hidden; height:200px; width:35

[jQuery] Superfish Help

2009-02-05 Thread Josh
Hello, I have installed the Superfish module and can get it to display on my site, but I can't seem to get the drop-down to look good. In fact it looks pretty awful. Any help would be great. You can see it at eslbasics.com

[jQuery] Re: Need to make a edit layout system using php and jquery...?

2009-02-05 Thread Mauricio Wolff
To get positions, position() and offset(), along with with() and height () When your user edit the layout you can fireup an ajax request to a php that saves your data... check the jqEditable plugin code... cheers mWolff

[jQuery] Re: Best action to use for selects?

2009-02-05 Thread James
Try Using the onchange event. On Feb 5, 4:06 pm, "Rick Faircloth" wrote: > What's the best event to use for a select to trigger > a function? > > I'm currently using onclick, because it seems to be the > best option, but that creates problems.  It causes the > function to fire when the down arro

[jQuery] Best action to use for selects?

2009-02-05 Thread Rick Faircloth
What's the best event to use for a select to trigger a function? I'm currently using onclick, because it seems to be the best option, but that creates problems. It causes the function to fire when the down arrow is clicked and when an option is chosen. I've tried several different approaches, b

[jQuery] Re: Is this bug in IE or ui tabs

2009-02-05 Thread Varun Khatri
I am using a function like : $('.ui-tabs-nav').bind('tabsselect', function(event, ui) { $("input[rel='currentTab']").val(ui.index); $("#example > div.ui-tabs-panel").empty(); }); It just removes everything from tab , buttons , textbox , table everything... I want that when I click

[jQuery] Re: Superfish

2009-02-05 Thread Mario
thanks for the response. Any idea where I can get some code that will allow me to create such navigation system? I'd appreciate the information. On Feb 4, 7:37 pm, Joel Birch wrote: > Hello, > > I think that it's simply a matter of including multiple ul elements > inside the parent li, then fl

[jQuery] Re: How to detect jQuery version?

2009-02-05 Thread Karl Rudd
jQuery.fn.jquery Karl Rudd On Fri, Feb 6, 2009 at 11:54 AM, Geuis wrote: > > Wondering what an easy way to detect which version of jQuery is > running on a page. Is there a $.version property? Doing feature > detection based on deprecated methods probably wouldn't work well, > since they would

[jQuery] Re: How to detect jQuery version?

2009-02-05 Thread James
$().jquery seems to work. Not sure if there's a better way. On Feb 5, 2:54 pm, Geuis wrote: > Wondering what an easy way to detect which version of jQuery is > running on a page. Is there a $.version property? Doing feature > detection based on deprecated methods probably wouldn't work well, > s

[jQuery] How to detect jQuery version?

2009-02-05 Thread Geuis
Wondering what an easy way to detect which version of jQuery is running on a page. Is there a $.version property? Doing feature detection based on deprecated methods probably wouldn't work well, since they would still exist in some newer versions.

[jQuery] Re: click/change events not recognized for checkboxes

2009-02-05 Thread James
Try: $("#mfglist input:checkbox") or maybe: $("#mfglist :checkbox") (note the space before :) might work. Using: $('#manufacturers:checkbox') is saying that you have a checkbox with the ID of manufacturers, which is incorrect. On Feb 5, 11:09 am, sdeo wrote: > Hi >   I have the following html

[jQuery] Re: Is this bug in IE or ui tabs

2009-02-05 Thread James
Are your tabs AJAX? I had a similar issue, but it didn't work in Firefox also. Apparently this occurred for me because everytime you click on a tab, the AJAX loaded HTML remains in the DOM. This is an issue if you have separate tabs HTML with elements that have the same ID, as this will cause mult

[jQuery] jeditable and selects: how does it choose the default?

2009-02-05 Thread garth.colasu...@gmail.com
I have a question about how jeditable chooses which select option to start with when you click to edit a field. For example I have the following table: Person 1, Color: Orange Person 2, Color: Blue Person 3, Color: Blue Person 4, Color: Orange Person 5, Color: Red Person 6, Color: Ora

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread Henrik Javén
this will be significantly faster var html = []; $.each(data, function(i, row) { html.push('data from json'); }); $("tbody").append(html.join('')); $("table").formatTable(); On Feb 5, 12:56 pm, James wrote: > I see. Thanks for the tip. I'll try to work on that! > > On Feb 5, 10:38 am,

[jQuery] click/change events not recognized for checkboxes

2009-02-05 Thread sdeo
Hi I have the following html where I have a bunch of checkboxes which I want to trigger events when checked/unchecked. But apparently the events are not being recognized. I have tried using various ways to access the checkboxes, but nothing seems to work. 1)$('#manufacturers:checkbox').cl

[jQuery] Internet Explorer not firing ajax get on success of ajax post

2009-02-05 Thread georgelaugha...@gmail.com
I have a web application that i have been working on for a few months now and i ran into a stumbling block about 2 weeks ago, i have tried everything i can think of and with no success i figured i would get a second opinion. $(document).ready(function(){ $("button#Submit").click(function(

[jQuery] click/change events not recognized for checkboxes

2009-02-05 Thread sdeo
Hi I have the following html where I have a bunch of checkboxes which I want to trigger events when checked/unchecked. But apparently the events are not being recognized. I have tried using various ways to access the checkboxes, but nothing seems to work. 1)$('#manufacturers:checkbox').cl

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread Henrik Javén
This will be significantly faster var html = []; $.each(data, function(i, row) { html.push('data from json'); }); $("tbody").append(html.join('')); $("table").formatTable(); On Feb 5, 12:56 pm, James wrote: > I see. Thanks for the tip. I'll try to work on that! > > On Feb 5, 10:38 am,

[jQuery] Re: Map navigation

2009-02-05 Thread brian
On Thu, Feb 5, 2009 at 2:55 PM, ebru...@gmail.com wrote: > > Hello, > > I am working on a map just like mmog games have like travian etc. > > The map has 4 navigation buttons nord east south west. If someone > presses on it it loads the page again, i just want the map to move. > > Is there some k

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread Michael Geary
Here's a way you can make that much faster: function loadTable( rows ) { var out = [], o = -1; out[++o] = ''; for( var row, iRow = -1; row = rows[++iRow]; ) { out[++o] = ''; out[++o] = row.whatever; out[++o] = ''; }

[jQuery] Re: Need to make a edit layout system using php and jquery...?

2009-02-05 Thread shyhockey...@gmail.com
Thanks... So I can save these values with php??? Cause I plan to allow people to make their own profile page layout and need to save these values. On Feb 2, 7:11 am, jQuery Lover wrote: > To find positions and everything:http://docs.jquery.com/CSS > > > Read jQuery HowTo Resource  -  http:

[jQuery] Re: alignment IN IE6 ... with jquery..

2009-02-05 Thread shyhockey...@gmail.com
OK, My website is : www.chillenvillen.comon that site click the home button. It will take you to a login page use TEST for both user name and password. this takes you to a test account. This account page has jquery javascript. Use Firefox to see what it supposed to be doing and then look

[jQuery] Is this bug in IE or ui tabs

2009-02-05 Thread varun
HI I am using ui tabs and i have 5 tabs on my page. Each tab is having a submit button and placeholder... when submit button is clicked , it fires a click event for that button in code behind and loads a table in placeholder of that tab... problem is after doing this process once in Internet Explo

[jQuery] Re: Ajax/Drag and Drop question

2009-02-05 Thread Tbone
Hi, What I had to do to get that to work(doing exactly what you are doing), was once the new content was loaded from the AJAX call, destroy and "re-drag" the loaded divs... Something like this $ajax... success: ..somestuff... ..load new content... $('.classname').draggable('destroy');

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
On Feb 5, 6:17 pm, Jörn Zaefferer wrote: > I'm sorry. I confused the (hidden) select and the text input. Please > revert that last change and lets try again. > > Jörn It's reverted.

[jQuery] Re: Plugin Question

2009-02-05 Thread Jörn Zaefferer
I'm sorry. I confused the (hidden) select and the text input. Please revert that last change and lets try again. Jörn On Fri, Feb 6, 2009 at 12:02 AM, Chris wrote: > > On Feb 5, 5:50 pm, Jörn Zaefferer > wrote: >> You've got class="required" on the text-input-element. The validation >> picks t

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
On Feb 5, 5:50 pm, Jörn Zaefferer wrote: > You've got class="required" on the text-input-element. The validation > picks that up as a validation rule. Removing it should give you the > correct rule instead. > > Could be considered a bug, where the option-rule should override the > class rule, ins

[jQuery] Re: $('#xxx').html() changing xhtml to html

2009-02-05 Thread Klaus Hartl
You can try as long as you want - as long as you serving XHTML as text/ html, from the browsers point of view (e.g. its parser) it's HTML it's dealing with, thus it'll remove those slashes internally. Have you ever wondered why in Firefox' source code view those slashes are marked red (as in erro

[jQuery] Re: Validation Plugin

2009-02-05 Thread tres
You can with my form validation plugin. http://shugartweb.com/jquery/form There is an option that you can pass called 'ignore'. It is a selector for all fields that should be ignored in validation. By default it is ':hidden', but you can put anything in there such as ':hidden, [value="default va

[jQuery] Re: Plugin Question

2009-02-05 Thread Jörn Zaefferer
You've got class="required" on the text-input-element. The validation picks that up as a validation rule. Removing it should give you the correct rule instead. Could be considered a bug, where the option-rule should override the class rule, instead of the current behaviour. Jörn On Thu, Feb 5,

[jQuery] Re: Superfish horizontal menu issue in IE6 / IE7

2009-02-05 Thread ch...@chris-reilly.com
Fix'd. It turned out just to be a CSS issue - float:left instead of right... DOH. On Feb 5, 11:34 am, "ch...@chris-reilly.com" wrote: > Hello everybody! > > I am working on finishing a site that another web designer started, > and am a total newb to Superfish and not very strong in CSS/JS > t

[jQuery] Superfish - Drop down opacity

2009-02-05 Thread magik20
I still havent found a solution for the drop down opacity for superfish. Ive tried changing all the colors , but the drop down background one stays the same, and makes the text very hard to read. i want the BACKGROUND color of the drop down to change from clear to a color. Any help?? my email

[jQuery] "After the fact" tooltip application problem

2009-02-05 Thread Tbone
I have a page where I'm using tooltip that is dynamically constructed with $AJAX calls. The static content gets tooltip initialization just fine, but I'm having trouble with content added after initial load. The first call to tooltip after page load: function setFactoryTooltip() { $('.factor

[jQuery] Re: list traversing

2009-02-05 Thread amazz...@gmail.com
You know how sometimes you are working on a problem and you stare at it so long that the most obvious answers escape you until someone points it out and it is like a smack in the face? Yeah. Serious 'duh' moment on my part. Thanks. On Feb 5, 3:32 pm, MorningZ wrote: > Can you just make life REA

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
On Feb 5, 4:34 pm, Jörn Zaefferer wrote: > Remove the required-class. That overrides the dependency-required-rule. > > Jörn Sir, >From the markup above (Google Group) the only thing I include on the radio button is the validate="required:true". Should I remove that? I tried to remove it, and

[jQuery] Re: Plugin Question

2009-02-05 Thread Jörn Zaefferer
Remove the required-class. That overrides the dependency-required-rule. Jörn On Thu, Feb 5, 2009 at 9:58 PM, Chris wrote: > > Thanks James. Now the page doesn't break, but my validation rules > still don't hold.

[jQuery] Re: logical AND check

2009-02-05 Thread Jörn Zaefferer
Yeah, that'll do, too: required: function() { return $('#radioButton1:checked, #radioButton2: checked').length == 2; } Jörn On Thu, Feb 5, 2009 at 10:12 PM, Eric Garside wrote: > > You could just do: > > if ($('#radioButton1:checked, #radioButton2: checked').length == 2)){ > //required > } el

[jQuery] Re: Checkbox and Radio buttons hooked on change problem in Internet Explorer

2009-02-05 Thread Justin Meyer
listen for click On Jan 21, 5:24 am, XeroXer wrote: > Hi all. > > I am triggering an ajax load on my page if a radio button or checkbox > is changed. > For this i am binding 'change' to the checkbox or radio button. > This works perfect in both Firefox and Safari but not in Internet > Explorer.

[jQuery] Re: logical AND check

2009-02-05 Thread Eric Garside
You could just do: if ($('#radioButton1:checked, #radioButton2: checked').length == 2)){ //required } else { //not required } On Feb 5, 1:51 pm, Jörn Zaefferer wrote: > The [validate] indicates that the message is about the validation > plugin. I'm asking to put that into the subject on the plu

[jQuery] Re: Plugin Question

2009-02-05 Thread Chris
Thanks James. Now the page doesn't break, but my validation rules still don't hold.

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread James
I see. Thanks for the tip. I'll try to work on that! On Feb 5, 10:38 am, Ricardo Tomasi wrote: > Concatenating into a string is already much faster than appending in > each loop, there is not much room for improvement left. What you can > do improve user experience though is split that into a re

[jQuery] Re: Plugin Question

2009-02-05 Thread James
var r = jQuery("#rsvp").validate({ rules: { select: { required: "#accept:checked" } }, < RIGHT HERE submitHandler: function(form) {

[jQuery] Re: [validate] Plugin Question

2009-02-05 Thread Chris
On Feb 5, 3:23 pm, Jörn Zaefferer wrote: > Could you provide a testpage? Your code looks fine. > > Jörn Sure. http://www.chris-gwen.com/ Right now Firebug says i'm missing a semicolon which breaks everything, but i don't see why it says that.

[jQuery] Re: autocomplete and json

2009-02-05 Thread zendog74
I managed to alias some of the classes to more simple names in my WS, so my JSON now looks like this. {"persons": {"person":[ {"personId__": 6,"firstName__":"Jack","lastName__":"Black","email__":"jbl...@jackblack.com"}, {"personId__": 1,"firstName__":"Joe",

[jQuery] Re: Scoping, Closure and $.post

2009-02-05 Thread Ricardo Tomasi
renderTree: function(){ var tree = this; $.post("/Treeview?task=GET_NODE&action=DYNAMIC", {}, function() { tree.renderFolder(xml, 'foldersView'); }); }, On Feb 5, 5:54 pm, MoBel wrote: > I'm integrating prototype and jQuery together.  I have a class that > looks like this: > > var

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread Ricardo Tomasi
Concatenating into a string is already much faster than appending in each loop, there is not much room for improvement left. What you can do improve user experience though is split that into a recursive function over a setTimeout, so that the browser doesn't freeze and you can display a nice loadi

[jQuery] Re: Optimize large DOM inserts

2009-02-05 Thread Ricardo Tomasi
Concatenating into a string is already much faster than appending in each loop, there is not much room for improvement left. What you can do improve user experience though is split that into a recursive function over a setTimeout, so that the browser doesn't freeze and you can display a nice loadi

[jQuery] Re: BLOCK method

2009-02-05 Thread Mike Alsup
> I am using the block method to block  a specific element on my page. > Below is the syntax I used to try to block it. > >     $(document).ready(function() { > >          $('#btnBlock').click(function() { >           $('#tblTest').block({ css: { backgroundColor: 'red', color: > 'red' , height: '3

[jQuery] Re: list traversing

2009-02-05 Thread MorningZ
Can you just make life REALLY easy on yourself and put the text in a tag or something? ie/ List Item1 List Item2 Sub Item1 Sub Item2 then http://docs.jquery.com/Selectors/firstChild would make it a snap to get the text() On Feb 5,

[jQuery] BLOCK method

2009-02-05 Thread Hokie
Hi All - I am using the block method to block a specific element on my page. Below is the syntax I used to try to block it. $(document).ready(function() { $('#btnBlock').click(function() { $('#tblTest').block({ css: { backgroundColor: 'red', color: 'red' , height: '3px'}

[jQuery] Scoping, Closure and $.post

2009-02-05 Thread MoBel
I'm integrating prototype and jQuery together. I have a class that looks like this: var TreeView = function(){}; TreeView.prototype = { initialize: function() { this.view = 'Data management'; }, renderTree: function() { $.post("/Treeview?task=GET_NODE&action=

[jQuery] Superfish horizontal menu issue in IE6 / IE7

2009-02-05 Thread ch...@chris-reilly.com
Hello everybody! I am working on finishing a site that another web designer started, and am a total newb to Superfish and not very strong in CSS/JS troubleshooting. We are using a horizontal menu with a horizontal submenu below it. It looks beautiful in FF, in IE 6/7 it is rendering the submenus

[jQuery] Ajax/Drag and Drop question

2009-02-05 Thread DReed
Hi There. I am new to jQuery and I have a question. I was able to get the drag/drop functionality working, very slick. For an example, I have some HTML in one which has a "droppable" point, and HTML in another which has many "draggable" points. I can drag and drop and all is well. The next

[jQuery] AJAX returning Facebook Connect Markup

2009-02-05 Thread sonicsteps
It seems that when I do an ajax call (or post) to pull in my comments section my Facebook Connect code doesn't work absolutely correct. I'm not sure if this has to do with the fact that scripting doesn't work when you do this or not. Anyone have any ideas? -- View this message in context: htt

[jQuery] Re: Can i use selector to reach "slice" in jQuery 1.3?

2009-02-05 Thread Ricardo Tomasi
It's much faster (and clearer) to use slice(): $('.button').slice(1,3); On Feb 5, 12:56 pm, Stephan Veigl wrote: > Hi > > that selector works just as it should. If you get other results in > JQuery 1.2.6, then there was a bug in 1.2.6. > What you ask for is: >  1. give me every element of class

[jQuery] Re: [validate] Plugin Question

2009-02-05 Thread Jörn Zaefferer
Could you provide a testpage? Your code looks fine. Jörn On Thu, Feb 5, 2009 at 9:08 PM, Chris wrote: > > On Feb 5, 6:09 am, Leonardo K wrote: >> http://docs.jquery.com/Plugins/Validation/Methods/required#dependency... > > Ok, here's my markup and my attempt to do the conditional validation, >

[jQuery] Re: Superfish - Entire menu flickers on hover

2009-02-05 Thread TimA
I've not had any luck troubleshooting this problem. If the flicker were restricted to only teh item being hovered on, I'd probably just let it go, but the entire meny disappearing is to much. any thoughts? -Tim

[jQuery] Re: How can I extract the index of an item based within a table?

2009-02-05 Thread Ricardo Tomasi
Correction: you actually need the children collection to work out the index: var index = $(this).parent('tr').children().index(this); On Feb 5, 5:01 am, Ricardo Tomasi wrote: > var index = $(this).parent('tr').index(this); > var quantity = $('.price_table th').eq(index).text(); > alert( quantit

[jQuery] Re: Having problems getting index() and closest() to work

2009-02-05 Thread Ricardo Tomasi
duplicate: http://groups.google.com/group/jquery-en/browse_thread/thread/1b8e73583661fa52/ec7d0d275d484f66?hl=en#ec7d0d275d484f66 On Feb 5, 9:19 am, paulswansea wrote: > Hi, > > I have a page with multiple tables, and need to get the index value of > a cell with a price which i click on, so i ca

[jQuery] Re: [validate] Plugin Question

2009-02-05 Thread Chris
On Feb 5, 6:09 am, Leonardo K wrote: > http://docs.jquery.com/Plugins/Validation/Methods/required#dependency... Ok, here's my markup and my attempt to do the conditional validation, but it obviously doesn't work. I only want the select (#select) to be required if the radio button (#accept) is c

[jQuery] list traversing

2009-02-05 Thread amazz...@gmail.com
Hi, I'm trying to traverse a list that has some sub-lists nested, i.e. List Item1 List Item2 Sub Item1 Sub Item2 I'm trying to grab the text of List Item2, but without the text of the sublist items. Right now if I use: $('ul li').text() -

[jQuery] converting my codes to JQuery

2009-02-05 Thread efet
I use ajax suggest at my website with the following codes. I tried converting them to JQuery after reading few tutorials. I get showHint () is not defned error. What is wrong where? Basically, I submit to test.asp?Process=CheckCustomer then I get results as xxx, xxx2, xxx3... function showHint

[jQuery] Re: Writing Ajax to table cells.

2009-02-05 Thread Tim Johnson
On Thursday 05 February 2009, David Meiser wrote: > I'm not 100% sure what you're trying to accomplish, but you can output > anywhere on the page using a distinct element name. > > I have code in which I attach tables generated in jquery to DIVs, for > example. And I'm certain you could go the op

[jQuery] Map navigation

2009-02-05 Thread ebru...@gmail.com
Hello, I am working on a map just like mmog games have like travian etc. The map has 4 navigation buttons nord east south west. If someone presses on it it loads the page again, i just want the map to move. Is there some kind of plugin or a other simple way to fix this? Erwin

[jQuery] Re: ajax style form, how to pass the php $_FILE variable?

2009-02-05 Thread James
You cannot upload files via conventional AJAX (XMLHttpRequest). There are several around it, most commonly to do a normal submit of the upload form to a hidden iframe. There are many articles around on that if you do a search. On Feb 5, 5:58 am, "david.0pl...@gmail.com" wrote: > Disclaimer: I kn

[jQuery] Re: Turning JSON-formatted AJAX data into data usable by ColdFusion

2009-02-05 Thread Rick Faircloth
Thanks for the tip, David! I'll have a look at jTemplates. Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of David Meiser Sent: Thursday, February 05, 2009 12:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Turning JSON-formatted AJAX dat

[jQuery] Referencing AJAX Loaded Content

2009-02-05 Thread nick
Hello world, I've managed to load a simple HTML file using the .load function. I'm trying to traverse between the multiple pages using forward and back buttons. Right now, I have the click function of the AJAX loaded page inside of the load function, but that is messy and runs into problems. Is

[jQuery] Optimize large DOM inserts

2009-02-05 Thread James
I need tips on optimizing a large DOM insert to lessen the "freeze" on the browser. Scenario: I receive a large amount of JSON 'data' through AJAX from a database (sorted the way I want viewed), and loop through them to add to a JS string, and insert that chunk of string into a tbody of a table.

[jQuery] Re: logical AND check

2009-02-05 Thread Jörn Zaefferer
The [validate] indicates that the message is about the validation plugin. I'm asking to put that into the subject on the plugin page. To the question, try this: required: function() { return $("#radioButton1:unchecked").length && $("#radioButton2:unchecked").length; } Jörn On Thu, Feb 5, 200

[jQuery] Re: Cycle Help, please - can't get working

2009-02-05 Thread Wendy
Thanks very much for having a look. I just found when I redownloaded it that I hadn't linked the original Cycle js file correctly. That dumb error taken care of, it's working just as it should now. Like a million other people, I can't believe I spent so much time trying to fix this, when I should

  1   2   >