[jQuery] Filter list, not table

2008-07-09 Thread hubbs
I have found many nice filter plugins, that let you filter a table, and hide the rest of the items, and only show the item that matches what was entered into an input dialog. What I would like to do, is use an unordered list instead. Is there any plugins that support this? I have not been able

[jQuery] Re: $.css() class setting in Internet Explorer

2008-07-09 Thread Michael Geary
Just a note - that page is a bit misleading. There's a section labeled "Other JavaScript Keywords" that lists all sorts of DOM object properties. But none of these are actually reserved words in the way that, say, "class" is. IOW, you wouldn't need to quote them if you used them as object literal

[jQuery] Re: completely resetForm

2008-07-09 Thread caseyw
I already am, which doesn't reset it completely. Thank you though. Hopefully Jörn will know what I'll need to do :D

[jQuery] Re: Cross domain problems

2008-07-09 Thread flycast
I have determined that the error was from a different script. Sorry about the confusion. After working on the document.domain I could not get it to work/help. The load statement would just not return any result. The solution that Jeffery offered above worked like a champ. Thanks for all your he

[jQuery] Problem on Creating Two Instances of FlexiGrid

2008-07-09 Thread Nimrod
Hi All, I'm using two instances of FlexiGrid in a page and I'm encountering the below error on the pagination stat: Page of [object Object] What do you think causes the error? By the way this error appears only on FF. It is not displaying on IE but still there is an error (records doesn't appea

[jQuery] Re: Problem with Cycle plugin using random and previous

2008-07-09 Thread Mike Alsup
> Here's a link to an example: > > http://www.udmercy.edu/apply/ > > You'll see that the div blocks cycle in randomized order (and it looks > very nice), but if you use the next/previous links, they will advance > to the next div as ordered in the HTML, not as they appeared in the > random order.

[jQuery] jQuery and IE8 beta

2008-07-09 Thread dillcreative
I've tested a site I'm working on in IE6, IE7, and IE8beta, and it works good in IE6 and 7, but doesn't work at all in IE8beta. Any ideas why? I'm using fade effects primarily.

[jQuery] Re: BlockUI and FF3

2008-07-09 Thread Mike Alsup
On Jul 9, 8:06 pm, Marcus Eby <[EMAIL PROTECTED]> wrote: > I can't unfortunately, its a private app. But I'll post some of the > surrounding HTML code. Not sure if you posted enough code to show the problem, but it seems to work fine for me: http://www.malsup.com/jquery/block/test/marcus.html

[jQuery] Re: BlockUI and FF3

2008-07-09 Thread Marcus Eby
I can't unfortunately, its a private app. But I'll post some of the surrounding HTML code. Loud Party lock delete close Member Since: Mar 16, 2005 Posts: 18 Last On: Dec 22, 2007Suite: 203 Posted: Sat, Sep 22nd, 2007 3:38am Name: Wayne Smith & Liz MillerPhone: 604.605.3101 <-- Thi

[jQuery] Re: IE6, cycle all plugin, and object doesn't support this property or method

2008-07-09 Thread Mike
Did you fix this error? It is happening to me because of other jquery plugins on the page which sucks. On May 14, 11:11 am, hubbs <[EMAIL PROTECTED]> wrote: > I am using thecycleallplugin, and I am wanting to make the site > work in IE6. Of course it works in every other browser. But IE6 it >

[jQuery] Re: $.css() class setting in Internet Explorer

2008-07-09 Thread Karl Rudd
JavaScript has quite a few "unused" (well many are used in the upcoming versions) keywords. You can't use these words as keys without putting quotes around them. List of keywords here: http://www.quackit.com/javascript/javascript_reserved_words.cfm Karl Rudd On Thu, Jul 10, 2008 at 6:45 AM, cj5

[jQuery] Re: Combining Animation Methods: fadeOut and slideUp

2008-07-09 Thread Karl Swedberg
On Jul 9, 2008, at 5:19 PM, Joe wrote: Karl's tuts are priceless. Definitely read up on those. Helped me many a time. Wow. Thanks, Joe. You just made my day. :-) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: BlockUI and FF3

2008-07-09 Thread Mike Alsup
> I've got a small problem with BlockUI > In FF3 it seems to be always choosing the parent DIV to block and not > the one I give it. > And SURPRISE something is actually working properly in IE. ACK!!! > > So for now, its just a FF bug. > > The code is: >                         var fan1 = $(bObj).

[jQuery] Re: Star Rating Plugin

2008-07-09 Thread [EMAIL PROTECTED]
Hi Diego and thanks for this plugin, I've used your script in a plugin for a cms called SPIP (spip.net). Everythings work nice but i've got only one little bug when the rating form is submitted by ajax. In this case the hover class of the star isn't disapplied whith the mouseout event (line 162 o

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
In the end, I decided to use the ajax method, to give me the access to html to play about with. I got what I wanted with 1 ajax call: $('.ajaxdropdown').change(function(){ $.ajax({ type: "GET", url: "myscript

[jQuery] BlockUI and FF3

2008-07-09 Thread Marcus Eby
I've got a small problem with BlockUI In FF3 it seems to be always choosing the parent DIV to block and not the one I give it. And SURPRISE something is actually working properly in IE. ACK!!! So for now, its just a FF bug. The code is: var fan1 = $(bObj).parents(".post:f

[jQuery] BlockUI and FF3

2008-07-09 Thread Marcus Eby
I've got a small problem with BlockUI In FF3 it seems to be always choosing the parent DIV to block and not the one I give it. And SURPRISE something is actually working properly in IE. ACK!!! So for now, its just a FF bug. The code is: var fan1 = $(bObj).parents(".post:f

[jQuery] Re: UI Tabs and Mootools.js conflict, Advice Needed

2008-07-09 Thread Klaus Hartl
Try: ... jQuery.noConflict(); jQuery(function() { jQuery('#container-1 > ul, '#container-2 > ul, '#container-3 > ul').tabs({ fx: { opacity: 'toggle' } }); }); ... Note that I've condensed the three similiar tabs initializations into one - this is not related to your pro

[jQuery] Re: JSONP - not using PHP - having problems

2008-07-09 Thread Wes Duff
Ok nevermind I figured it out. So the html file should just contain "myfunction({"json":"object"})" and the html page catching should have $.getJSON("http://www.simplifieddesign.biz/jsonTest.html? myfunction=?"); function myfunction(data){ alert(data.json); // displays "object" } Make sure you

[jQuery] Thickbox; New close button and remove close when click off window

2008-07-09 Thread DRoss
Hi all, Two part question: We are using thickbox for an 'Add to shopping basket' modal window. There are two buttons in the thickbox window; one for adding the product to the basket and the second button ('Return to shopping') which closes the thickbox window. I am removing the "Close"/Esc bar a

[jQuery] $.css() class setting in Internet Explorer

2008-07-09 Thread cj5
Don't know if this is been addressed here, yet, but I discovered a really tedious syntax issue with IE and the css() method in JQuery. Basically, this error never comes up in Firefox or any Mozilla-based browser for that matter, but in IE JavaScripts will fail when you do: $('div').css({class: 'm

[jQuery] Re: Ho to remove or add a new table row?

2008-07-09 Thread Carl Von Stetten
Yavuz, That's because view source only shows the HTML as it was originally loaded. It does not show any DOM changes that may have been made after the page was initially loaded. If you have Firefox, and install the Developer Toolbar, the View Source pulldown on the toolbar offers "View Gener

[jQuery] Filter select options values as you type

2008-07-09 Thread Luiz Vitor
I´m looking for a plugin that filters the mached values of a select element. It´s something like Live Search plugin that´s John´s posted in his blog, but instead of filtering a list, it filters the options from a select element. There´s anything like this? If there´s not, what should I aim for a

[jQuery] Re: Combining Animation Methods: fadeOut and slideUp

2008-07-09 Thread Joe
Karl's tuts are priceless. Definitely read up on those. Helped me many a time. I would say if you wanted to do one after the other, you could do it as a callback function after the current function had completed, but that seems counterintuitive as you don't want to slide something up after it's

[jQuery] Re: newbie jquery / jfeed question

2008-07-09 Thread Sam Sherlock
I would start by trying to get something going, and see what you learn/achieve (you may even just advance straight to accomplishment) jQuery.getFeed({ url: 'http://blog.novaconnection.com/syndication.axd', success: function(feed) { alert(feed.title); } }); t

[jQuery] Re: Combining Animation Methods: fadeOut and slideUp

2008-07-09 Thread Karl Swedberg
Hi there, I wrote a tutorial on Learning jQuery about how to create a slide-fade toggle animation plugin: http://www.learningjquery.com/2008/02/simple-effects-plugins If you don't want to create a plugin, you can just use the .animate() method: $('something').animate({opacity: 'hide', he

[jQuery] Re: autocomplete - new matchContains option

2008-07-09 Thread Aaron Barker
Bah... I put [autocomplete] at the beginning of the title, but it must have been parsed out thanks to the brackets or something. Sorry for the confusing title that resulted. They need a preview button :) On Jul 9, 2:56 pm, Aaron Barker <[EMAIL PROTECTED]> wrote: > I just wanted to toss out a n

[jQuery] Re: Yahoo Mail-like "Select All" check box (???)

2008-07-09 Thread MorningZ
This should clear out the "Select All" whenever one of the checkboxes is clicked/changed $(':checkbox').change(function() { document.getElementById('selectAll').checked = false; });

[jQuery] [autocomplete] new matchContains option

2008-07-09 Thread Aaron Barker
I just wanted to toss out a new feature we added to our local copy. A little history... We are using the autocomplete for a country list (205 items). We got a lot of feedback from users that it was confusing to type "U" when looking for united states and have 50+ results show up because we had m

[jQuery] JSONP - not using PHP - having problems

2008-07-09 Thread Wes Duff
Hello, I have read over almost every post in this group and still cannot figure this out. I am sure it has to do with the way I am creating my JSON object. Here is the file I am broadcasting the file from. http://www.simplifieddesign.biz/jsonTest.html The source does not include any or just th

[jQuery] Yahoo Mail-like "Select All" check box (???)

2008-07-09 Thread sstewart81
I'm on my first week of learning jquery and I'm totally hooked. I'm converting/condensing a lot of my JavaScript to use jquery in my project I'm working on. But now I have an issue, albeit, not an urgent one. I read a blog post a while ago on some blog I can't remember, where the person explain

[jQuery] newbie jquery / jfeed question

2008-07-09 Thread desmo
I've been advised that jquery and jfeed is the best way of putting an rss link on my web page (novaconnection.com) The feed is to come from my new and currently under-populated blogsite (blog.novaconnection.com). The feed file is http://blog.novaconnection.com/syndication.axd. I am not knowing

[jQuery] validation without a form

2008-07-09 Thread shadow glowing
Hey I need a validation plugin which I can use without a form tag. I have a CMS that removes form tags from my html on rendering because it have a build in form builder. Therefore I need to catch a div element instead of a form tag. Any ideas?

[jQuery] Re: Problem with Cycle plugin using random and previous

2008-07-09 Thread JonDetroit
Here's a link to an example: http://www.udmercy.edu/apply/ You'll see that the div blocks cycle in randomized order (and it looks very nice), but if you use the next/previous links, they will advance to the next div as ordered in the HTML, not as they appeared in the random order. (The divs are

[jQuery] Re: Ho to remove or add a new table row?

2008-07-09 Thread Yavuz Bogazci
Thank you very much! I will try it now and give you feedback! Thanks Yavuz On Jul 9, 5:31 pm, "..:: sheshnjak ::.." <[EMAIL PROTECTED]> wrote: > You can easily remove any row that you selected, only question is if > you can select apropriate rows. > > $("table tr").remove(".remove"); // remo

[jQuery] Re: Ho to remove or add a new table row?

2008-07-09 Thread Yavuz Bogazci
I seems to work, but when i show the page-source i cant see the new rows. But they are visible in the browser. Its very strange. On Jul 9, 5:31 pm, "..:: sheshnjak ::.." <[EMAIL PROTECTED]> wrote: > You can easily remove any row that you selected, only question is if > you can select apropriate r

[jQuery] Combining Animation Methods: fadeOut and slideUp

2008-07-09 Thread JipThePeople
Is it possible to execute both a fadeOut() as well as a slideUp() methods on an object? If so, what is the syntax? Any feedback will be greatly appreciated.

[jQuery] AutoComplete > How to define values?

2008-07-09 Thread shapper
Hello, I am using JQuery AutoComplete. Can I use some words that are in my HTML code? I am putting the words there using inline server side code. Or should I use JSon? Thanks, Miguel

[jQuery] Re: 1.2.4 to 1.2.6 question

2008-07-09 Thread Shelane
It was that other post that jogged my memory as well. Yes, I have an older version of prototype and scriptaculous on that site, but there is really no point for me to upgrade that with any potential problems with it. The plan is to eventually convert that autocomplete anyway. I'm debating on how

[jQuery] Re: Star rating plugin + rails

2008-07-09 Thread JB
I figured this out, just in case anyone else has the same problem. The issue revolves around brackets [ ] not being allowed in css class names. The plugin takes the name of the field and uses it to generate a class name of the form "star_group_yourfieldnamehere" so with a rails form field, you'd

[jQuery] Re: Display (or not display) content based on url hash

2008-07-09 Thread h3
first of all .. use document "document.location.hash" instead of "document.location.toString().split('#')[1]". secondly, you might want to take a look to a plugin I made awhile ago to handle anchors: http://haineault.com/blog/37/ cheers On Jul 8, 8:54 am, mitchel <[EMAIL PROTECTED]> wrote: > H

[jQuery] How to check if the browser supports iframes?

2008-07-09 Thread [EMAIL PROTECTED]
I am wondering if it's possible to check if the browser supports iframes. I just want to check if iframe works (true/false) and if so stat some function. Can anyone help?

[jQuery] Re: Redefine validation rules dynamically

2008-07-09 Thread Jörn Zaefferer
Calling the validate method more than once doesn't work. Consider using the rules method instead: http://docs.jquery.com/Plugins/Validation/rules Jörn On Wed, Jul 9, 2008 at 6:36 PM, Ivan Sanchez <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Is there any way to redefine validation rules for a fo

[jQuery] Re: Running script onLoad instead of ready

2008-07-09 Thread MorningZ
Just to note on: "I was trying to get an alert to fire after some of the page loads, (but before ().ready)" 'load' is always going to fire *after* 'ready'

[jQuery] Re: completely resetForm

2008-07-09 Thread Abba . Bryant
try using the validation plugins resetForm method? I don't know for sure if it will work but looking at the source Jorn linked it seems likely. On Jul 9, 6:33 am, caseyw <[EMAIL PROTECTED]> wrote: > Hi Jörn, thank you for responding. > > I've tried adding the validator.submitted = {}; and it doe

[jQuery] Re: HTML Parsing issue

2008-07-09 Thread Abba . Bryant
I notice your request has a closing tag after a self-closing tag. ... shouldn't close itself and also have a closing tag. That would and should invalidate your soap request if I am correct without jquery interfering. try making the original request valid xml and check it again. IE.. ... notice

[jQuery] Star rating plugin + rails

2008-07-09 Thread JB
Hi - I'm trying to use the excellent star rating plugin from fyneworks (http://www.fyneworks.com/jquery/star-rating) with a rails project I'm working on. I'm running into a bit of an issue that I wonder if anyone else has seen. Typical names of form fields in a rails app look something like thi

[jQuery] Redefine validation rules dynamically

2008-07-09 Thread Ivan Sanchez
Hi guys, Is there any way to redefine validation rules for a form in runtime? I'm trying to redefine my validation based on a radio button using something like: jQuery("#myRadioButton").change(function(){ var selectedOption = jQuery("#myRadioButton:checked").val(); switch(sel

[jQuery] Re: Cycle plugin doesn't handle time properly?

2008-07-09 Thread [EMAIL PROTECTED]
Thanx a lot Mike! Maybe I should have worn glasses when I read the documentation... /kim On Jul 9, 5:01 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I have a problem with the otherwise nice cycle plugin (http:// > > malsup.com/jquery/cycle/) where the initial slide is shown for a > > little bit

[jQuery] Re: fckeditor and jquery validation

2008-07-09 Thread oscarml
Hi, I've added the name propertie but nothing changes. Here is the link where you can test it: http://www.promocionesferrumar.com/temp/prueba2.php On 7 jul, 20:56, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > On Mon, Jul 7, 2008 at 7:32 PM,oscarml<[EMAIL PROTECTED]> wrote: > > > Hi to ev

[jQuery] Re: Cross domain problems

2008-07-09 Thread Jeffrey Kretz
I had this same problem, which I solved by parsing the window.location.href prior to making the ajax call, based on the current host used to access the site. var url = /(https?:\/\/[^\/]+)/.exec(window.location.href)[1] + '/pathtomyresource'; JK -Original Message- From: jquery-en@google

[jQuery] Re: Question about accordion.

2008-07-09 Thread Jörn Zaefferer
You could combine the accordionchange event with the scrollTo plugin. That event is documented here, though currently down, it seems: http://docs.jquery.com/UI/Accordion/accordion Jörn On Wed, Jul 9, 2008 at 5:51 PM, Frank <[EMAIL PROTECTED]> wrote: > > Hi, > > I've a question about accordion.

[jQuery] Re: Cross domain problems

2008-07-09 Thread Erik Beeson
The protocol *must* be the same (if the page is https://.../ then the ajax request must also be to https://.../). The port *must* be the same. The host name *must* have the same SLD [1], and if the subdomains are different, document.domain *must* be set to the SLD. I'm certain that this can wor

[jQuery] Jquery media plugin

2008-07-09 Thread ISSSSI
Hello, I am using jquery http://www.malsup.com/jquery/media/ media plugin on my site. I am using jquery 1.2.2. My page renders and the media player script runs. However I get javascript error: Node cannot be inserted at the specified point in the hierarchy" code: "3 Regards Ismail --

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Carl Von Stetten
You might try adding the .each() function before your .load() call. Carl Pickledegg wrote: > its 'c_name'. > > I've discovered something now, if I just use 1 div as the selector to > update only 1 div, > > $('#charges-gsm) > > it works fine. But when I add multiple ones: > > $('#charges-gsm,#c

[jQuery] Question about accordion.

2008-07-09 Thread Frank
Hi, I’ve a question about accordion. I have checked the Doc and some Demo but I don’t see how I can do this. Some of my section of my accordion have a realy big content and sometimes when a user click on a section with this amount of content, he loses the beginning of the text because the sectio

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
its 'c_name'. I've discovered something now, if I just use 1 div as the selector to update only 1 div, $('#charges-gsm) it works fine. But when I add multiple ones: $('#charges-gsm,#charges-gsm-faq,#charges-gsm-prices') thats when I get the error...I know that the divs exist and it works in

[jQuery] numeric textbox with min and max values

2008-07-09 Thread Sridhar
Hi, I am trying to implement the functionality of a numeric textbox that allows only values between min and max values. This text box will be contained in a large html table. so instead of attaching the events to each textbox, I attached the events to the containing table. As the user types

[jQuery] Re: Ho to remove or add a new table row?

2008-07-09 Thread ..:: sheshnjak ::..
You can easily remove any row that you selected, only question is if you can select apropriate rows. $("table tr").remove(".remove"); // removes any table rows that have class="remove" or like this $("table tr").filter(":contains(unwantedText)").remove();// removes any row containing st

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Mike Alsup
> I have the following code that loads on $(document).ready: > > - > $('.ajaxdropdown').change(function(){ >                         $('#charges-gsm, #charges-gsm-faq, > #charges-gsm-prices').load('/ > mobell/incl

[jQuery] Re: UL drag drop

2008-07-09 Thread DannyT
Thanks Richard, couldn't see the wood for the trees! 2008/7/4 Richard D. Worth <[EMAIL PROTECTED]>: > Take a look at jQuery UI. It has a sortable component that makes it as > simple as: > > $("ul").sortable() > > Here's a demo: > > http://ui.jquery.com/functional_demos/#ui.sortable > > If you hav

[jQuery] 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
I have the following code that loads on $(document).ready: - $('.ajaxdropdown').change(function(){ $('#charges-gsm, #charges-gsm-faq, #charges-gsm-prices').load('/ mobell/includes/html/gsm

[jQuery] Re: Cycle plugin doesn't handle time properly?

2008-07-09 Thread Mike Alsup
> I have a problem with the otherwise nice cycle plugin (http:// > malsup.com/jquery/cycle/) where the initial slide is shown for a > little bit longer than desired (2-3 seconds too long - 17-18 seconds > instead of 15) while the other slides are shown a lot less than > desired (app. 4 seconds ins

[jQuery] Re: How to use it?

2008-07-09 Thread cimran
Hi, Can you share how you figured out ?? I am also working on same problem... Thanks, Cimran On Jul 6, 12:27 am, Raghu <[EMAIL PROTECTED]> wrote: > Hi, I have figured out. It is working perfectly fine for me. > > Thanks > Raghu > > > > On Sat, Jul 5, 2008 at 6:28 PM, Raghu <[EMAIL PROTECTED]> wr

[jQuery] Re: Running script onLoad instead of ready

2008-07-09 Thread Cloudream
$(window).load On Jul 9, 10:16 pm, benjam <[EMAIL PROTECTED]> wrote: > Maybe I'm missing something totally obvious, but I was trying to get > an alert to fire after some of the page loads, (but before ().ready). > > I tried the following: > $('body').load( function( ) { alert('Hello World'); } );

[jQuery] Re: Cross domain problems

2008-07-09 Thread Ryura
What JS error were you getting before? On Jul 9, 8:01 am, flycast <[EMAIL PROTECTED]> wrote: > I tried setting document.domain = 'site.com'; > It works with a domain of site.com but notwww.site.com. I now get the > following message: > > [Exception... "'Permission denied to call method XMLHttpReq

[jQuery] Re: [validate] completely resetForm

2008-07-09 Thread caseyw
Hi Jörn, thank you for responding. I've tried adding the validator.submitted = {}; and it doesn't work. I also took lines 264-272 and adjusted the 'this' to my validator and still isn't working. Anything else I can do? Thanks! caseyw

[jQuery] Running script onLoad instead of ready

2008-07-09 Thread benjam
Maybe I'm missing something totally obvious, but I was trying to get an alert to fire after some of the page loads, (but before ().ready). I tried the following: $('body').load( function( ) { alert('Hello World'); } ); with no effect. I also tried it with some of the other elements on the page.

[jQuery] Cycle plugin doesn't handle time properly?

2008-07-09 Thread [EMAIL PROTECTED]
I have a problem with the otherwise nice cycle plugin (http:// malsup.com/jquery/cycle/) where the initial slide is shown for a little bit longer than desired (2-3 seconds too long - 17-18 seconds instead of 15) while the other slides are shown a lot less than desired (app. 4 seconds instead of 15

[jQuery] Updated jQuery Talk by Remy Sharp

2008-07-09 Thread Rey Bango
Remy Sharp has updated his jQuery Talk slides and they're available for viewing here: http://remysharp.com/2008/07/09/updated-jquery-talk/ Rey

[jQuery] Re: Finding whether a tag is present in between two specified tags or not

2008-07-09 Thread Scott Sauyet
Arun Kumar wrote: Suppose I have two tags and as below: 2008-07-07 TestTag Text Node 20:15:45 How can I find whether TestTag is present in between the and tags or not? The may present any where in the document. But I want to know whether it is present between and tags

[jQuery] Re: help needed with simplemodal

2008-07-09 Thread Eric Martin
Hello, What exactly are you trying to do, and what have you tried? Do you have a page I can see? -Eric On Jul 8, 11:01 am, sree <[EMAIL PROTECTED]> wrote: > I want to slide-in and slide-out the simplemodal. Anyone familiar with > jquery simple modal please reply. Very urgent > Thanks

[jQuery] Re: Parsing XML using jQuery

2008-07-09 Thread Wallonman
It seems that the DOM parsed 'on the fly' isn't ready for querying. When doing something weird like: var xml = $('Hello World!Bye World!'); $(xml).appendTo("body"); then the alert($("p").text()); // without context works !

[jQuery] Re: click() on submit button doesn't trigger form's jquery submit handler

2008-07-09 Thread Mike Alsup
> I expected that calling click() on a submit button would trigger a > form's submit handler, but this doesn't seem to be the case. > > Example: register a jQuery submit handler: > $('form').submit(function() { alert('jquery submit handler'); }); > > Then click the corresponding submit button: > $

[jQuery] Re: How would I substitute the term jquery('class') for $('class')

2008-07-09 Thread mickbw
Colin, Thank you. That is exactly what I was looking for and wasn't using the right terms for a good search. Goodbye to coding in an onclick for each of the dt elements. Once again, thanks, Michael On Jul 9, 4:15 am, Colin Guthrie <[EMAIL PROTECTED]> wrote: > mickbw wrote: > > I am working o

[jQuery] Re: click() on submit button doesn't trigger form's jquery submit handler

2008-07-09 Thread mickbw
Will, When I clicked on the button I saw two alert boxes. I did this in IE and Firefox. Was the the result you wanted? On Jul 9, 4:46 am, Will Moffat <[EMAIL PROTECTED]> wrote: > I expected that calling click() on a submit button would trigger a > form's submit handler, but this doesn't seem t

[jQuery] Re: click() on submit button doesn't trigger form's jquery submit handler

2008-07-09 Thread Alexandre Plennevaux
On Wed, Jul 9, 2008 at 10:46 AM, Will Moffat <[EMAIL PROTECTED]> wrote: > > I expected that calling click() on a submit button would trigger a > form's submit handler, but this doesn't seem to be the case. > > Example: register a jQuery submit handler: > $('form').submit(function() { alert('jquery

[jQuery] Re: Parsing XML using jQuery

2008-07-09 Thread Alexandre Plennevaux
On Wed, Jul 9, 2008 at 12:38 PM, Wallonman <[EMAIL PROTECTED]> wrote: > > Hi, > > Some hours that I don't understand why this basic Xml parsing with > JQuery doesn't work: > >$(document).ready(function() { > >var xml = '>Hello World!'; > >alert($("p", xm

[jQuery] Re: Display (or not display) content based on url hash

2008-07-09 Thread noon
You're going to have to read up more on javascript. Mozilla has great online documentation at http://developer.mozilla.org/en/docs/JavaScript , particularly the core guide for you. Also there are some great books out there, O'Reilly's definitive guide can be a little dry at times but does more t

[jQuery] Re: Cross domain problems

2008-07-09 Thread flycast
I tried setting document.domain = 'site.com'; It works with a domain of site.com but not www.site.com. I now get the following message: [Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XP

[jQuery] Re: How would I substitute the term jquery('class') for $('class')

2008-07-09 Thread Colin Guthrie
mickbw wrote: > I am working on a page that works correctly when I call it directly in > any browser. > > If I include the page in my RIA app and run the script in firebug, the > jquery script works correctly. > > If I include it in my RIA app with the script part of an > external .js script,

[jQuery] Strange issue with crossSlider

2008-07-09 Thread Korijn
I'm working on a website which utilizes crossSlide, a jQuery plugin. It works in IE6/7 on the website itself but not on mine, while I use the same code. What's wrong? I tried using 1.2.3 instead of 1.2.6 but that didn't work either. URL: Site: http://84.86.134.134/swart/?p=home Plugin site: http:

[jQuery] Re: Running a loop for array numbers

2008-07-09 Thread JohneeM
Thanks guys much appreciated. I tried the last one : $('.equipment a.i-right1').filter(function(i) { return ( i > 0 && i < 9 ); }).hide(); And it worked. For say $('.equipment a.i-right1') $('.equipment a.i-right2') $('.equipment a.i-right5') $('.equipment a.i-rightx') How would i put t

[jQuery] click() on submit button doesn't trigger form's jquery submit handler

2008-07-09 Thread Will Moffat
I expected that calling click() on a submit button would trigger a form's submit handler, but this doesn't seem to be the case. Example: register a jQuery submit handler: $('form').submit(function() { alert('jquery submit handler'); }); Then click the corresponding submit button: $('input[type=s

[jQuery] Ho to remove or add a new table row?

2008-07-09 Thread Yavuz Bogazci
Hi, i have a table with data from my mysql database. Now i want to add and delete the records via jQuery. Is this possible? I need to remove the selected row or add a new row and update selected row. Is there any sample or idea how to solve this problem. I searched with Google and couldnt find an

[jQuery] getJSON in IE6

2008-07-09 Thread CountZero
Hi all! I have a bug with getJSON method in IE6. If I try to get data from another domain with this method by onready method everything is fine and it's returns me a normal json response, but if I try to reexecute function with getJSON method by clicking link I have no response from the server. Al

[jQuery] Parsing XML using jQuery

2008-07-09 Thread Wallonman
Hi, Some hours that I don't understand why this basic Xml parsing with JQuery doesn't work: $(document).ready(function() { var xml = 'Hello World!'; alert($("p", xml).text()); }); I get an empty string, instead of the expected Hello Wor

[jQuery] Re: Running a loop for array numbers

2008-07-09 Thread Scott Sauyet
JohneeM wrote: Hi guys how can i run this in a single statement without manually putting in the numbers? $('.equipment a.i-right1:eq(1)').hide(); $('.equipment a.i-right1:eq(2)').hide(); $('.equipment a.i-right1:eq(3)').hide(); $('.equipment a.i-right1:eq(4)').hide(); $('.equipment a.i-right1:e