[jQuery] Re: - Where's the list of options?

2008-11-17 Thread invincible_virus
which documentation/plug-in are u talking about?

[jQuery] Possible to use a non ID selector in .load()?

2008-11-17 Thread Geuis
I'm loading a full page using .load() and trying to use a selector to only get part of the page, however it doesn't seem to be working. Is it necessary that the selector always start with an id? My code: $('#mydiv').load('/path/index.php body>center>table>tbody>tr:eq(2) >td>table>tbody>t

[jQuery] show/hide/toggle: suggestion to reduce show/hide code

2008-11-17 Thread Dylan Verheul
I'm building a new version of an often used data entry form on our site Waarneming.nl (int'l version Observado.org). It struck me that I often have to write something like this: if (cond) $(this).show() else $(this).hide(); Since jQuery is about reducing and chaining, wouldn't it be nice if I co

[jQuery] Re: Autocomplete plug-in: Changing form action url?

2008-11-17 Thread Ryan
Original subject was supposed to have autocomplete in it, because it's specific to that plugin. On Nov 17, 3:45 pm, Ryan <[EMAIL PROTECTED]> wrote: > I've got the autocomplete working, but when I hit submit (or enter), > the action attribute of the from is made empty. > > Example: > I've got a fo

[jQuery] [validate] My form isn't playing nicely. Any help would be great!

2008-11-17 Thread Josh Gillies
Hey all, As the title of this thread suggests I am having some troubles with the validation jQuery plugin. Here's the code I am using: http://code.jquery.com/jquery-latest.js";> http://dev.jquery.com/view/trunk/ plugins/validate/lib/jquery.delegate.js"> http://dev.jquery.com/view/trunk/

[jQuery] [ANNOUNCE] jQuery Validation credit card validation extension

2008-11-17 Thread Jack Killpatrick
Hi All, We've (my company) released a new credit card validation extension for the jQuery Validation plugin. It allows you to pass in the type of credit card being used, which therefore allows the validation routine to provide a more thorough validation. The prefix and length of the card numb

[jQuery] Re: FCKEditor plugin stopped working in Firefox 3.0.4

2008-11-17 Thread George
It does load. and seems to be working although the Ajax submission does not do anything. But there is a note "Ajax Submission (DIV). This type of submission would not work without this plugin." So i thought plugin is not there so it's not working... George. On Nov 17, 9:29 pm, Jack Killpatrick

[jQuery] Previous TD

2008-11-17 Thread Randy Johnson
Hello, Here is sample code: 34 Days 11/03/2008 When I click on the date above I want to be able to change the rowSpan on the td that surrounds it. I cannot seem to get it right. Here is the latest thing I tried: $("#r"+id).prev("td").attr("rowSpan","1"); I also tried: $("#r"+id).prev

[jQuery] Re: How do I reset to the original positions of a sortable list? (using the .sortable() method)

2008-11-17 Thread kgosser
Bumpity bump. Any tips? Thanks in advance! On Nov 14, 3:57 pm, kgosser <[EMAIL PROTECTED]> wrote: > Hey all, > > I'm using this sortable method:http://docs.jquery.com/UI/Sortables/sortable > > Works perfect! I have one question though: When a certain action is > taken by the user, I want to reset

[jQuery] it is possible to have a dynamic class?

2008-11-17 Thread sglai
hi, Like to have a class that has different methods (prototype) base on its arguments. Is that possible in javascript? Thanks

[jQuery] Re: Convert from mootools to jquery

2008-11-17 Thread ricardobeat
Is there a sample page somewhere? On Nov 16, 10:18 pm, gus <[EMAIL PROTECTED]> wrote: > Hi i want to know if this code can be converted to jquery. It's a very > good hoover pop up with effect code. > > function initCloseButton(){ >         var blocks = document.getElementsByTagName("li"); >      

[jQuery] Re: [autocomplete] where did the doc go?

2008-11-17 Thread thierry
Yes exactly... can't believe I didn't see it. Thank you Jorn. On Nov 15, 5:37 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > You're looking for this, > right?http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_datao... > > Jörn > > On Sat, Nov 15, 2008 at 3:49 AM, thierry <[EMAIL

[jQuery] Re: FCKEditor plugin stopped working in Firefox 3.0.4

2008-11-17 Thread Jack Killpatrick
Hmm. In my case the FCK editor won't load. In the case of the link below the ajaxSubmit test doesn't work for me. Both work for you on that page? Thx, Jack George wrote: Works for me... I have FF 3.0.4 George.. On Nov 17, 7:41 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote:

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Richard D. Worth
As shown earlier by Hector. Here's another example: var foo = $(""); // create an empty div element foo.html("Hello"); // set the html var html = foo.html(); // get the html It's just in memory, all disconnected from the DOM, as it was never appended to the body or any other element in the docume

[jQuery] Re: animation conflicts - cycle/other in IE

2008-11-17 Thread pedalpete
Thanks Mike (and sorry about getting your name wrong, not sure how i managed that). You are correct of course, I changed the settings to timeout: 1, speed: 2000, and response time is much better in IE. I'll check it on lower powered computers to make sure I am being more responsible with CPU

[jQuery] Re: $.ajax POST with JSON in IE6

2008-11-17 Thread George
I just ended my 2 days 'dance' with IE Ajax and POST refer to this post if you need more info. http://groups.google.com/group/jquery-en/browse_thread/thread/a2f65e23c7f60e06?hl=en# Might be not your case but with checking. George. On Nov 17, 3:27 pm, Reepsy <[EMAIL PROTECTED]> wrote: > I am s

[jQuery] Re: Bug with "E[foo]" selector on tags

2008-11-17 Thread Karl Rudd
Regarding (1), it looks like you're correct. I'd open a bug report ( http://dev.jquery.com/ ). Regarding (2): While this doesn't exactly comply with the W3C CSS standard it does actually work the way browsers send the form data. For instance, using this HTML: No-value Has value If the us

[jQuery] Re: FCKEditor plugin stopped working in Firefox 3.0.4

2008-11-17 Thread George
Works for me... I have FF 3.0.4 George.. On Nov 17, 7:41 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote: > I found the other day that the FCKEditor plugin: > > http://www.fyneworks.com/jquery/FCKEditor/ > > doesn't work with Firefox 3.0.4. I'm looking into it now, but maybe > someone already kno

[jQuery] Re: ASP.NET C# jquery treeview

2008-11-17 Thread George
I am not sure i understandWhat is the exact problem? JQuery is 100% client side... ASP.NET is 100% server side... You should not have a problem to generate HTML with ASP.NET and use it with JQuery tree plugin The only this i can guess you having a problem with is IDs since ASP.NET generate

[jQuery] ASP.NET C# jquery treeview

2008-11-17 Thread mthakershi
Hi, I am trying to implement JQuery treeview with asp.net. I have master page and treeview is in child page. Can someone point me to an example that shows ASPX integration? I saw PHP one but I am not able to replicate the same thing in ASP.NET. Any help is appreciated. Thank you.

[jQuery] Re: animation conflicts - cycle/other in IE

2008-11-17 Thread Mike Alsup
> $('div.allPops').cycle({ >     cleartype:  1, >      timeout:  5000, >      speed: 3200, >      pager: 'div#pager', >          fx: 'fade', >           pause:         1, >     pauseOnPagerHover: 1}); You are crushing the CPU with those settings. Best case scenario, you're asking the browser to

[jQuery] [autocomplete] Changing form action url?

2008-11-17 Thread Ryan
I've got the autocomplete working, but when I hit submit (or enter), the action attribute of the from is made empty. Example: I've got a form with action="URL?opt=search" '$("#remote-search").autocomplete("URL?opt=autofill"} If I don't select anything from the autocomplete list, the form gets s

[jQuery] FCKEditor plugin stopped working in Firefox 3.0.4

2008-11-17 Thread Jack Killpatrick
I found the other day that the FCKEditor plugin: http://www.fyneworks.com/jquery/FCKEditor/ doesn't work with Firefox 3.0.4. I'm looking into it now, but maybe someone already knows why? I suspect it has something to do with the way it hooks into the ajaxSubmit function of the jQuery Form plu

[jQuery] Re: clueTip: Can a tip with activation: 'click' also have a close?

2008-11-17 Thread Karl Swedberg
Sure thing. Just add sticky: true to the options. $('a.tips').cluetip({ activation: 'click', closeText: 'CLOSE', closePosition: 'title', sticky: true }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 17, 2008, at 4:43 PM, projecktzero wrote:

[jQuery] [autocomplete] - Where's the list of options?

2008-11-17 Thread Subsonic
Come on, in the documentation, it would be nice to see a list of the options that can be passed to it. Also, what would be awesome would be a a way to turn on a "key/value" return as opposed to having to code it :(

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread cc96ai
if div foo is outside the DOM, how could we use jQuery to assign the HTML into it ? and retrieve it back ? On Nov 17, 1:51 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > The div will only be part of the body if you append it to the body. > var div = document.createElement('div'); // not part of

[jQuery] Dynamic table with forms - animation issues

2008-11-17 Thread c.barr
I've been working on a script to slide in new table rows with form elements inside them and then either submit all the rows or cancel and remove them - either one at a time or all at once. I've got the basics down, but I've just got a few minor problems and I've marked them in my code with //PROBL

[jQuery] animation conflicts - cycle/other in IE

2008-11-17 Thread pedalpete
I recently added David Malsup's Cycle plugin to my site, and I love the functionality it provides. However, i noticed that some animations/events where responding REALLY slowly in IE. I started pulling things out of the page to see what was causing the slowdown, and from what I can tell, it's the

[jQuery] Re: Hover Events Can't "Keep Up" With FadeIn and FadeOut? Events Queue?

2008-11-17 Thread clockworked247
I'm new to jQuery as well, but after a bit of digging I found the solution at: http://www.pengoworks.com/workshop/jquery/stop_bug_fix.htm Basically you want to use the stop() function to end queued animation, but you need to pass a couple variables to it in order to make it function properly. H

[jQuery] clueTip: Can a tip with activation: 'click' also have a close?

2008-11-17 Thread projecktzero
Is it possible to have a clueTip that is click to activate and has a close button on it. I'm not sure my users will know to click again to get rid of the tip. http://plugins.learningjquery.com/cluetip/demo/#8 $('a.tips').cluetip({activation: 'click', closeText: 'CLOSE', closePosition: 'title'});

[jQuery] Re: jCarousel pagination with numbers?

2008-11-17 Thread pedalpete
I was looking for a similar set-up and went with the Dave Malup's cycle plug-in as it handles the paging. Should be easier to add next/prev arrows to that plugin rather than add paging to a carousel. http://malsup.com/jquery/cycle/ I didn't need back/forward, so I haven't needed to build that in

[jQuery] Update div works in IE but not in FF?

2008-11-17 Thread [EMAIL PROTECTED]
Hi all, i wanted to update a div, depending on a click in my menu. I get both alert test-messages in both browserswith the right text, but AFTER the second alert in Firefox it goes wrong. The original content dissapears, but Instead of placing the new content, inside my content div, the original c

[jQuery] Re: not equalTo ?

2008-11-17 Thread Jörn Zaefferer
Yes, I'm using that on my own application. I've got the same rating implemented in Java to do the same validation on the serverside without having to use ajax. Jörn On Mon, Nov 17, 2008 at 11:08 PM, Kemal Delalić <[EMAIL PROTECTED]> wrote: > > Thank you for your answer Jörn, i just added an "note

[jQuery] Re: not equalTo ?

2008-11-17 Thread Kemal Delalić
Thank you for your answer Jörn, i just added an "notequalTo" method like; notequalTo: function(value, element, param) { return value != $(param).val(); } and the corresponding message, it works like a charm. This password quality 'plugin' i

[jQuery] Re: 3rd party code interference with responsive jquery event handling

2008-11-17 Thread decostop
We wound up for now just setting up our events at the bottom of the page before the 3rd party JS instead of using the ready() function. On Nov 13, 2:19 pm, decostop <[EMAIL PROTECTED]> wrote: > I can't imagine my situation is very unique so I must be failing to > see the trees through the forest.

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Hector Virgen
The div will only be part of the body if you append it to the body. var div = document.createElement('div'); // not part of the dom yet div.setAttribute('id', 'foo'); // set an id, but it's still not part of the dom document.body.appendChild(div); // now the div is part of the dom But I'm not sure

[jQuery] Re: attaching hide() to delete confirmation

2008-11-17 Thread Hector Virgen
If the link is within the row, you can use jQuery#parents to find the row, without using the ID. $('a.delete').click(function() { $(this).parents('tr').hide(); }); I'm not sure what .confirm() is at the end your script, but if you want to use the native javascript confirm you can do it like th

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread cc96ai
how could I create the DIV outside the DOM ? if I create a inside the , it is part of the DOM, isn't it ? On Nov 17, 12:32 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > Will javascript be executed by jQuery#html() if the container is not part of > the dom? > -Hector > > On Mon, Nov 17, 2008

[jQuery] attaching hide() to delete confirmation

2008-11-17 Thread typenerd
Hi everyone, I'm using jquery confirm to change a link into a confirm delete yes/no. That's working great, but I'm having trouble handling deleting the row in html; I'm not sure how to reference the id for the row. My html looks like this, with each TR having a unique row id: cell data... m

[jQuery] $.ajax POST with JSON in IE6

2008-11-17 Thread Reepsy
I am sorry I cannot link to example pages due to security restrictions. So will do my best to describe the problem with comments in my JS. Firstly, I am using jQuery with jqModal to load a page partial into a modal window. That page partial contains a form. When it is submitted, I am capturing th

[jQuery] $.ajax POST with JSON in IE6

2008-11-17 Thread Reepsy
I am sorry I cannot link to example pages due to security restrictions. So will do my best to describe the problem with comments in my JS. Firstly, I am using jQuery with jqModal to load a page partial into a modal window. That page partial contains a form. When it is submitted, I am capturing th

[jQuery] Re: Effect like Kwicks plugin

2008-11-17 Thread Andy Matthews
Hrm... I looked at the src, but didn't see that. I'll check it out and see what happens. Thanks for pointing that our Karl. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Monday, November 17, 2008 2:33 PM To: jquery-e

[jQuery] Re: Effect like Kwicks plugin

2008-11-17 Thread Karl Swedberg
Hi Andy, I don't see any reason why you couldn't use the Kwiks for jQuery plugin with something other than list items. Just remove the 'li' from the .children() method in line 28: var kwicks = container.children('li'); becomes var kwicks = container.children(); Untested.

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Hector Virgen
Will javascript be executed by jQuery#html() if the container is not part of the dom? -Hector On Mon, Nov 17, 2008 at 12:21 PM, cc96ai <[EMAIL PROTECTED]> wrote: > > That is my original design, however if the textarea contains the > javascript, it will execute the Javascript in div as well. > >

[jQuery] tablesorter w/ paging and filtering

2008-11-17 Thread Gonzalo M
Hello, im having a problem After doing this: http://beckelman.net/post/2008/10/23/Client-Side-Table-Sorting-Paging-and-Filtering-with-jQuery-Demo.aspx I have a table with 5 pages, each row has a checkbox, and the table has three buttons one to check all checkboxes another to uncheck all checkbox

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread cc96ai
That is my original design, however if the textarea contains the javascript, it will execute the Javascript in div as well. in the following example, the popup will come out when we try to populate the textarea content into div. that's why I am looking other way to parse the content. e.g. http:/

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Richard D. Worth
There's no need to hide it even, since it's disconnected from the DOM. - Richard On Mon, Nov 17, 2008 at 3:01 PM, Hector Virgen <[EMAIL PROTECTED]> wrote: > You can try assigning the value of the textarea to a hidden div. Then > you'll have access to jQuery's functions on the HTML: > var html =

[jQuery] Re: Effect like Kwicks plugin

2008-11-17 Thread Andy Matthews
Anyone have any input on this? I'd also like to determine if I can use percentages for the widths of the items. On Nov 17, 9:28 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Here's a version I've got using the kwicks plugin and divs nested inside the > LI tags: > > http://commadelimited.com/c

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Hector Virgen
You can try assigning the value of the textarea to a hidden div. Then you'll have access to jQuery's functions on the HTML: var html = $('#content').val(); var div = $('').css({display: 'none'}); div.html(html); div.find('a[target]').removeAttr('target'); Then replace the textarea with the html co

[jQuery] Re: TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...

2008-11-17 Thread Geoff Millikan
How about a $20 USD donation to Jquery for an answer?

[jQuery] Re: How do you use LiveQuery with ajaxForm inside tab panel?

2008-11-17 Thread Raghu
Please do not reply to this mail. I have figured out issue.. Thanks...Have a nice day... On Mon, Nov 17, 2008 at 1:25 PM, Raghu <[EMAIL PROTECTED]> wrote: > Hi, I am using JQuery UI tab panel and one of the tab has remotely loaded > form which I submit using ajaxForm... > Once I submit form and i

[jQuery] Re: Anyone know how to find the topmost elements of a specific type?

2008-11-17 Thread Karl Swedberg
Hi Mark, I took a look at your original post again, and from your description there it looks like this would work: $('ul').filter(function() { return !$(this).parents('ul').length; }) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 17, 2008, at 10:

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread cc96ai
If we do the replace , it will replace all the tag's border & target. is there anyway it can replace on tag level ? On Nov 17, 10:34 am, Eric Martin <[EMAIL PROTECTED]> wrote: > If you just want the "string" value, how about: > > var content = $("#content").val(); > content = content.replace(/

[jQuery] TableSorter Pagination -- Breaks when wrapped in table [example]

2008-11-17 Thread ripcurlksm
I have a working version of the jQuery TableSorter but when I wrap the div in a table, the pagination stops working. This appears to be a CSS issue when the table is wrapped? Here is the broken pagination, with it wrapped in a table (try to click the next page button, its broke!): http://www.psy

[jQuery] Re: sorting a table as a list?

2008-11-17 Thread magoldfish
Thanks for the parsing tip. The other part of the story is displaying the table as a two-column list where table headings are repeated vertically. This is different than the standard table layout where one has a header row then data rows. Any tips on "transposing" the table from hdr1 hdr

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Hector Virgen
If you want to include HTML in your text area, you should be using a function like PHP's "htmlentities()" on the inner contents of the HTML. PHP: My Link'; echo '' . htmlentities($value) . ''; ?> Resulting HTML: Now the contents of your text area will be valid, and

[jQuery] Re: sorting a table as a list?

2008-11-17 Thread aquaone
You can just write your own parser for tablesorter . stephen On Mon, Nov 17, 2008 at 09:54, magoldfish <[EMAIL PROTECTED]> wrote: > > > Hi, I'm learning jquery and I'm stumped on a table sorting problem. I have > inherited a web page with an HTML table of contact i

[jQuery] Bug with "E[foo]" selector on tags

2008-11-17 Thread Hector Virgen
Hello, I'm having a problem with a CSS selector on elements. I'm using jQuery 1.2.6 and FireFox 3.0.4. Here's my HTML: Select a color Blue Red Here's my JS: $('#theSelect').find('option[value]').each(function() { console.log('.val(): ' + $(this).val()); console.log('.attr

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Eric Martin
If you just want the "string" value, how about: var content = $("#content").val(); content = content.replace(/ target=(\'|\")_(new|blank)(\'|\")/, ""); content = content.replace(/ border=(\'|\")\d+(\'|\")/, ""); -Eric On Nov 17, 10:18 am, cc96ai <[EMAIL PROTECTED]> wrote: > I have a text area

[jQuery] How do you use LiveQuery with ajaxForm inside tab panel?

2008-11-17 Thread Raghu
Hi, I am using JQuery UI tab panel and one of the tab has remotely loaded form which I submit using ajaxForm... Once I submit form and in case server return error message for any invalid values, then I correct form and resubmit...After this new response is coming in new page. I know page elements a

[jQuery] Multiple jcarousellite's, one document

2008-11-17 Thread Su
I have the feeling I'm missing something silly, but it should be possible to have multiple carousels in a single page with this plugin, right? I'm encountering a problem where some of the carousels are doubling up images or the loading goes kind of weird(eg, only one chunk shows until one of the sc

[jQuery] sorting a table as a list?

2008-11-17 Thread magoldfish
Hi, I'm learning jquery and I'm stumped on a table sorting problem. I have inherited a web page with an HTML table of contact info (e.g., a mailing list) that I need to be able to sort by state or name, but it's displayed like a two-column list (see below). Any suggestions on how I might do thi

[jQuery] strip out textarea 's HTML attribute

2008-11-17 Thread cc96ai
I have a text area in the following http://www.google.ca"; target="_new">test link and I would like to strip out the hyperlink target, and image border, and get the string of the HTML, any idea on it? I try the following, but it only remove the hyperlink in the page, not the hyperlink in text

[jQuery] Re: not equalTo ?

2008-11-17 Thread Jörn Zaefferer
I recommend to write a custom method: http://docs.jquery.com/Plugins/Validation/Validator/addMethod A reference implementation, which also checks the password quality, can be found here: http://jqueryjs.googlecode.com/svn/trunk/plugins/validate.password/jquery.validate.password.js Jörn On Mon, N

[jQuery] Re: not equalTo ?

2008-11-17 Thread [EMAIL PROTECTED]
sorry for double posting it, but i'm really stuck on this one and can't go on with the project until it's done :( On Nov 17, 6:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi everyone, i'm new to jQuery and yesterday i got into a little issue > with form validation. > > What i want to

[jQuery] [validate] not equalTo ?

2008-11-17 Thread [EMAIL PROTECTED]
Hi everyone, i'm new to jQuery and yesterday i got into a little issue with form validation. What i want to do is to check if username and password fields are having the same input, but I haven't found a solution to do this. Is there any way to make equalTo 'nagative' so if user enters the same

[jQuery] Re: issue with jQuery's trigger function

2008-11-17 Thread Shazzaam
That indeed does seem to fix it, many thanks! dave.methvin wrote: > > >> After running the Webkit javascript debugger, I was able to trace it to >> the >> trigger function in jQuery: >> >> line #2041: elem[ type ](); > > That's where it's calling the native handler for that element. I guess

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-17 Thread ggerri
Karl & Rick thanks a lot for your help and sorry for late reply - I was down with a flu :-( Karl's version with the each loop works fine. Lisaraël's solution is a bit simpler and works as col 1 is not input ready and all 'odd' td should get a binding. Thanks though for teaching me another way

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-17 Thread ggerri
Hi Lisaraël thanks for your help and sorry for late reply - I was down with a flu :-( the odd idea was a great idea and it works perfectly :clap: It would also select the first td, but this is not a problem as its not input ready. thanks again GGerri Lisaraël wrote: > > > $('#PG1_L03-table

[jQuery] Managin Ajax History

2008-11-17 Thread Singra
I'm using this plugin http://plugins.jquery.com/node/2472 to manage history in Ajax I've changed the line code $("[EMAIL PROTECTED]'history']").click(function(){ by $j('body').intercept('click', "[EMAIL PROTECTED]'history']", function(e){ it works perfectly in Firefox i still have the problem usi

[jQuery] Re: Validate. CheckBoxes. Is this possible?

2008-11-17 Thread Michael Smith
Ah I see - sorry, I misunderstood. Well I have something on this page http://www.thelatestcars.co.uk/?offer=6908 Where you can only select 3 brochures. Perhaps there's something in here which will help ... $('.brochure').click(function() { var c=0;

[jQuery] Re: Anyone know how to find the topmost elements of a specific type?

2008-11-17 Thread Mark Gibson
The trouble is that the elements i'm looking for are not necessarily direct children of the container, so > isn't going to work. What I really need is to stop jQuery from searching any deeper once it finds the first , but continue the search at the same and shallower levels. Is there a way to do

[jQuery] looking for ideas / brainstorming

2008-11-17 Thread jbird
Hi all, i'm looking for some input on the best way handle this requirement. I have a bunch of static html pages that contain a table full of job listings, I use the jquery "data tables" plug in which works great for sorting and pagination. Now, i have to add a check box to each row so visitors c

[jQuery] Re: Validate. CheckBoxes. Is this possible?

2008-11-17 Thread shapper
Not really ... I can select more than one. I just want to create a restriction where one, and only one, of the first 3 must be selected. On Nov 17, 2:09 pm, "Michael Smith" <[EMAIL PROTECTED]> wrote: > I think if you require only one to be selected you are probably better > off with radio buttons

[jQuery] Re: Effect like Kwicks plugin

2008-11-17 Thread Andy Matthews
Here's a version I've got using the kwicks plugin and divs nested inside the LI tags: http://commadelimited.com/code/maternitymealplanner/kwicks-1.html It's working quite well, but I'm still not convinced that nesting divs inside list items is a good idea. andy -Original Message- Fro

[jQuery] Re: Validate: Not working properly on Opera

2008-11-17 Thread Tommy
Correction: you may test the page at the following URL: http://www.thaidatelink.com/page/delivery/ On Nov 17, 5:35 pm, Tommy <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having two problems with jQuery Validation Plugin. > > #1. (Opera only) > I've tested the page on a Windows PC with the following b

[jQuery] History with Ajax

2008-11-17 Thread [EMAIL PROTECTED]
I'm using this plugin http://plugins.jquery.com/node/2472 to manage history in Ajax I've changed the line code $("[EMAIL PROTECTED]'history']").click(function(){ by $j('body').intercept('click', "[EMAIL PROTECTED]'history']", function(e){ it works perfectly in Firefox i still have the problem usin

[jQuery] jCarousel help making horizontal 3 x 2 grid

2008-11-17 Thread nat
Greetings, I have a design that requires a 3 x 2 grid to display 6 featured events total and scroll horizontally. I have implemented jCarousel with dynamic ajax / php as one row, but cannot figure out how to to get events 1-6 to show up as 2 rows of 3 events. I have found a ref to someone doing i

[jQuery] Extra pixels using scroll plugins

2008-11-17 Thread markporter
I'm creating a website at http://www.globalwaterawards.com/mark/index.html and am encountering an issue when using various jquery plugins to scroll across. It seems that when it scrolls it moves the content not just along but also up a couple of pixels, leaving a gap between the two green borders

[jQuery] Re: Validate. CheckBoxes. Is this possible?

2008-11-17 Thread matma
On 17 Lis, 14:59, shapper <[EMAIL PROTECTED]> wrote: > Hello, Hello > It is working fine but now I would like a new rule that: > - Requires that one of the first 3 checkboxes to be selected ... and > only one! Not tested, but it schould be sth like this: var checked = $('input[type=checkbox]:lt

[jQuery] Effect like Kwicks plugin

2008-11-17 Thread Andy Matthews
I'm looking to achieve an effect similar to that of the Kwicks plugin . However, I don't want to use this for navigation, I want to use it for the main body of my site. Currently it looks like the Kwicks plugin can only work on list items,

[jQuery] jCarousel pagination with numbers?

2008-11-17 Thread matt
Has anyone developed a way to (along with the next/previous arrows) have the number of images below. for example previous 1 2 3 4 5 next ? And then if you click on number 3, it would should the 3 image inside the carousel view area? I'm looking at this example: http://sorgalla.com/projects/jcar

[jQuery] Re: [tooltip]

2008-11-17 Thread Geert Baven
add the toolme class in your tooltip script: $.tooltip = { blocked: false, defaults: { delay: 200, fade: false, showURL: true, extraClass: "toolMe", top: 15, left: 15, id: "tooltip" },

[jQuery] Re: combined functionallity: validate + confirm form

2008-11-17 Thread Miguel Griffa
I just saw this in another post, it is exactly what I was looking for I'll try it right now, thanks! On Nov 16, 2:07 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Try this: > > $(...).validate({ >   submitHandler: function(form) { >     if (confirm("Really?") { >       form.submit(); >     }

[jQuery] Re: Validate. CheckBoxes. Is this possible?

2008-11-17 Thread Michael Smith
I think if you require only one to be selected you are probably better off with radio buttons. They are specified to allow only one. http://htmlhelp.com/reference/html40/forms/input.html "The radio and checkbox input types provide switches that can be turned on and off by the user. The two type

[jQuery] Re: unsubscribe

2008-11-17 Thread MeanStudios
Is there a reason why you changed the subject to "unsubscribe"? On Nov 17, 10:14 pm, Andrew Taylor <[EMAIL PROTECTED]> wrote: > MeanStudios wrote: > > Greetings, > > > I am using this plugin in my web application and I had a quick > > question.  Is there a way to trigger an ajax call if someone s

[jQuery] Validate. CheckBoxes. Is this possible?

2008-11-17 Thread shapper
Hello, I have a group of 8 CheckBoxes and I am validating so the user selects at least on of the CheckBoxes. It is working fine but now I would like a new rule that: - Requires that one of the first 3 checkboxes to be selected ... and only one! Is this possible? Thanks, Miguel

[jQuery] Re: Selector which can find objects with a certain style

2008-11-17 Thread Paul Mills
Try $("tbody:hidden tr") Paul On Nov 17, 12:06 pm, stuf99 <[EMAIL PROTECTED]> wrote: > Hi, > How do locate tbody´s with a certain style, or better, how do get a > list objects who's parent, a tbody, has a certain style, in this > case display == none

[jQuery] [tooltip]

2008-11-17 Thread Paul
www.drhankbarreto.com I am trying to get it to work with within a sub-ul dhtml menu. In all my reading I have not found a reason why it would not function within this context. So after much coding and headache, no luck. It is not taking effect for some reason.

[jQuery] Re: Selector which can find objects with a certain style

2008-11-17 Thread Karl Swedberg
To select all elements whose containing has display:none , you could do this: $('tbody:hidden tr') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 17, 2008, at 7:06 AM, stuf99 wrote: Hi, How do locate tbody´s with a certain style, or better, how d

[jQuery] Re: Can't get add/removeClass to work

2008-11-17 Thread Paul Mills
Hi Alen, Looks to me that when you click on a tab then a new page gets loaded. The activateTabMenu function changes the classes in the old page, but the new page is then loaded which will just apply the CSS. The activateTabMenu function does not have any affect on the new page. You could try addi

[jQuery] Scripts stacked in a page

2008-11-17 Thread Suony
Hello, I have a problem which breaks my the head: It is a stacked script in the page which the properties use jquery tab, which I defined on the second aparessent not no in the 1st REMARK: see each other I use the same scripts for both pages, and nevertheless with this methode of base in the de

[jQuery] problem of event mouseleave with ie7

2008-11-17 Thread bucheron
Hi everyone, I m having a problem to bind an event mouselease on ie7. Whereas on FF it s working correctly. Here is the code: