[jQuery] Re: is it possible to do this (ignore clicks)

2009-03-19 Thread gmoniey
thanks...i'll give that a shot...i knew there had to be an easy wayim loving jquery more and more... On Mar 19, 4:42 pm, "Richard D. Worth" wrote: > In the click callback, check event.target > > $('div.mydiv').click(function(event) { >   if ($(event.target).is('.mydiv')) { >     //this code

[jQuery] Re: compare jQuery objects

2009-03-19 Thread Matt Kruse
On Mar 19, 5:00 pm, bob wrote: > Well, that did not help much > So what is the problem then?  Why do I get false? Internally, a jQuery object is an array of references to DOM objects. Even though two jQuery objects may contain the same references internally, they are distinct objects, and theref

[jQuery] Re: Toggle(fn, fn), need to click twice to re-open the content

2009-03-19 Thread Rodrigo
Whoa thanks both of you! I've been trying to fix this in a long time. Awesome, thank you again! On Mar 20, 12:42 am, Rodolfo Allan wrote: > When I needed something like that, I've discovered the same and got this > workaround: > > $(".title").click(function(){ > >         if($(this).next(".con

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-19 Thread Sridhar
Hi, I am not sure how you are loading the data from server side and how you are updating the data. do you have any examples? The grid looks really nice. It is as fast as it can be. I am really impressed with speed. I am still learning jquery. I wish I could have contributed for this. By the wa

[jQuery] Re: remove classes when select option is not selected

2009-03-19 Thread Rodolfo Allan
Looks like you gathering the data to send via ajax or something, am I right? If so, you would want to try this: $('#yourform') .find(":input, :checkbox, :radio, :password, :hidden") .not(":button, :reset") .each(function() {params[ this.name || this.id ||

[jQuery] Re: Toggle(fn, fn), need to click twice to re-open the content

2009-03-19 Thread Rodolfo Allan
When I needed something like that, I've discovered the same and got this workaround: $(".title").click(function(){ if($(this).next(".content").is(":hidden") == true) { $(this).next(".content").show().html('a');} } else { $(this).

[jQuery] Re: Toggle(fn, fn), need to click twice to re-open the content

2009-03-19 Thread James
The toggle function keeps track of the click count internally and calls the callback function based on that, and not based on the status of your elements. This means clicking on something else that modifies your elements will not affect the internal toggle count. I suggest, rather than using toggl

[jQuery] Re: 1.3.2 class selectors only returning first element

2009-03-19 Thread James
If you're using the Validation plug-in, make sure to upgrade to the latest version. The older versions of Validation does not work with jQuery 1.3+. On Mar 19, 12:13 pm, rockrep wrote: > Some more debugging has shown this is being caused by an older jquery > validation plugin, and this post conf

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread James
No, I believe that calling example1.mydomain.com from example2.mydomain.com will still not work. That is also considered a separate domain. On Mar 19, 4:47 am, Adrian Grigoras wrote: > If the call in in the same domain, but on another machine, it will > work? > > For example, call example1.mydom

[jQuery] Re: remove classes when select option is not selected

2009-03-19 Thread James
No, it doesn't remove the class when you change the drop-down option. You have to add an onchange event to the select field to tell it to remove the class (from all options) and add the class to the current selected option. On Mar 19, 3:23 am, jjsanders wrote: > Hello, > > When i select somethin

[jQuery] Ajax callback + corners + IE

2009-03-19 Thread Rodolfo Allan
Hello, I'm having problems with microflacid browser. When I call corners, IE (always IE, 6 and 7, not tested with 8) complains about the jQuery corners. More exactly If I try to load modal and put round corners on it by callback IE stop working. It works fine with Firefox 2+, Chrome, Safari

[jQuery] Re: line breaks are removed when posting data in ajax

2009-03-19 Thread James
They should not be removed. If you basing it off of the output that your line: $("#divadmincmtcontent"+val).html($("#adminCmt"+val).val()); creates, then it will not output it with the breaks visually. You will see it broken in the Source Code, but not on the rendered HTML page. When you typ

[jQuery] IE7 (grrr) xml.each not working, help please?

2009-03-19 Thread eco...@googlemail.com
Hi, I am fairly new to jQuery, but found it has cut my dev time tremendously, and things just work great in my prototypes, developing on Windows Vista, using DW CS4, with my default browser set to Firefox 3.0.7. However, on completion of a prototype, I was ready to show a client, and thought I b

[jQuery] Re: Clickable dropdown lists

2009-03-19 Thread christopher.m.t...@gmail.com
So I know this is like re-writing the wheel. Can anyone throw me a lil jquery advice? On Mar 19, 12:48 pm, "christopher.m.t...@gmail.com" wrote: > Hi everyone! > > I'm trying to work out adropdownlist and can't seem to figure this > thing out.  So, here's my code: > > var menuclicked = 0; > > $

[jQuery] line breaks are removed when posting data in ajax

2009-03-19 Thread xhe
I was using jquery to post data to backend php code using ajax. $.post("", { rptID: val, cmt: $ ("#adminCmt"+val).val()},function(data){ if(data=="done"){ alert ("Admin comment has been succesfully saved."); $("#divadmincmtcontent"+val).html($ ("#adminC

[jQuery] Re: jqModal +r14 updated

2009-03-19 Thread dmitri zimmerman
I implemented r14's new "@" feature, and found it required the addition of one minor addition to work: When setting the anchors via "live" or otherwise, the "jqmShow()" needs to pass the argument of "this" or the ajax will not receive the @ [attribute's] value. $('#jqModal').jqm({ajax:'@href'});

[jQuery] Help! Problem with using show/hide with divs

2009-03-19 Thread Robert Hill
Hello, I'm trying to create a script that would allow me to display a div element when the user's mouse entered a specific div, and then have that div close when you existed that specific div There would be about boxes in all . My current problem is that the #showbox closes as soon as the mous

[jQuery] Use JQuery to refresh a page

2009-03-19 Thread e...@erikburns.com
Someone recently asked how to use JQuery (or JavaScript in general) to refresh/reload a window. One solution presented online was this... window.location.reload() However, having tested this solution, it doesn't work for me in FF3. An alternative solution, that DOES work for me in FF3 is window

[jQuery] Drag & drops calendar events

2009-03-19 Thread JFRanger
Hello world! I found two Drag & Drops Ajax calendar events out here. I was wondering there is something similar with jQuery under the hood. MooTools: http://www.moonkiki.com/moogenda/moogendaWEEK.html Home made: http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-week-planner/dhtmlgoodies-week-pla

[jQuery] Re: scrollTo firefox ugliness

2009-03-19 Thread mkmanning
Try changing overflow:auto to overflow:hidden in scroll.css*: .section{ width:3900px; position:relative; overflow:auto; } *n.b.: I only did this in Firebug, so not promising anything :) On Mar 19, 4:36 pm, Dan Pouliot wrote: > First let me say a great THANKS to Ariel Fl

[jQuery] Re: LEGAL SELECTION CONTEXT

2009-03-19 Thread DBJDBJ
Above is not a proper jQuery syntax. It is not and therefore jQ should NOT allow for it? jQ documentation indeed says that context is either: element or jQuery. Here, I think it is silly to give jQuery instance as a context. Because it obviously does not achieve any speed advances, $("#mydiv", "#

[jQuery] Re: jQuery checkbox checked attribute only enters in IE

2009-03-19 Thread mkmanning
I have a plugin here that makes it easy to copy the attributes: http://plugins.jquery.com/project/getAttributes I just tested it on a checkbox in FF2/3 and Chrome, and I create a checkbox with the copied attributes and append to the DOM, and the checkbox is checked (you also get the checkbox if

[jQuery] Re: is it possible to do this (ignore clicks)

2009-03-19 Thread Richard D. Worth
In the click callback, check event.target $('div.mydiv').click(function(event) { if ($(event.target).is('.mydiv')) { //this code will not run if you click on an element without .mydiv class } }); - Richard On Thu, Mar 19, 2009 at 5:42 PM, gmoniey wrote: > > Hi...I have div that when cl

[jQuery] scrollTo firefox ugliness

2009-03-19 Thread Dan Pouliot
First let me say a great THANKS to Ariel Flesler, the author of scrollTo. Now on to the odd behavior. I have it working on this page: http://www.omansion.com/weddings_and_parties/ (click the more> link in the tan box in the center of the page). Every browser scrolls this correctly, including fi

[jQuery] JQuery and {Lightbox and Joomla Tips}

2009-03-19 Thread www.interm...@gmail.com
Greetings, everybody! With JQuery 1.3.2 Lightbox and Joomla Tips don't work anymore. By the way event "domready" doesn't activated too... What can it be??

[jQuery] jqueryui themes and suckerfish or another nlevel menu

2009-03-19 Thread Armand Datema
Hi Does a suckerfish menu based on jqueryui thems excist allready or is there another menu that has these css classes implemented yet? Armand

[jQuery] Safari 2 and slideToggle

2009-03-19 Thread Nathan Cox
Hi, I'm having an issue using slideToggle to show/hide dropdown menus (jQuery 1.3.2). Basically the magic happens here: $('.articleMenuPopup', $(this).parent()).slideToggle('fast'); Which works fine in every browser except Safari 2...in S2 the menu opens up then just immediately closes again.

[jQuery] jquery media bug in IE? (jquery.media)

2009-03-19 Thread Steve
Hi all, I am getting a Javascript error when using the media plugin (http:// plugins.jquery.com/project/media) in IE at the page: http://www.bbhscanners.com/products/ngenuity/ (works fine in FF and other browsers). The script error from IE is about a missing object ("object required") and occ

[jQuery] jQuery1.3.2 In IE8

2009-03-19 Thread Drosh
I excited to download IE8 Released tonight.I found IE8 to be down with jQuery1.3.2. Are you handle it?

[jQuery] Help- jquery Dynamic Image load - dbl click = loads twice

2009-03-19 Thread Tobias Gelston
I have cobbled together an image loading script similar to lightbox but loads into a specific div and now overlay. The problem - if you double click or triple click on a thumbnail you get 2 or 3 of the same image loading. Solution - I need something that checks to see if the same image is loadi

[jQuery] is it possible to do this (ignore clicks)

2009-03-19 Thread gmoniey
Hi...I have div that when clicks on expands (kinda like an accordion...but multiple divs can be expanded at once) The code is something like this: $('div').filter('.mydiv').click(function () { //expand the div here (ajax call) }); Now my problem is that inside this div, there can sometimes be a

[jQuery] Toggle(fn, fn), need to click twice to re-open the content

2009-03-19 Thread Rodrigo
Hi, I've an issue using .toggle({unction(){}, function(){}); It works fine if I toggle the element, however, if I click on it to open and then hide it through another element (a button), the next time I have to click twice to re-open the content. Example: $(".button").click(function() { $

[jQuery] Re: ajaxForm File Upload Issue

2009-03-19 Thread Pascal Zajac
Hooray for spam? Anyway Mike and I managed to solve the bug in emails to each other, and I'm posting the conclusion here for future reference. The issue was that the form submit code was essentially this: $(form).submit(function(){ if (validate(this)) { displayLoading(); $(this).aja

[jQuery] Re: Superfish animation when hiding menus?

2009-03-19 Thread TommyB
Hi Muhammad, What do your links have to do with my question? None of those sites are using the superfish menu as far as I can tell. TommyB On Mar 19, 11:27 am, Muhammad Zaheer Asghar wrote: > http://lattestphones.blogspot.com/ > > http://latesttechnologyblog.blogspot.com/ > > http://home-safe

[jQuery] Re: compare jQuery objects

2009-03-19 Thread Jonathan
Object comparisons aren't really I think what mkmanning was saying is each time you reference $ ('#home') it's going to call jQuery to create a new Object. So to be honest I think even ($ ('#home') == $('#home)) would return false. Don't try and compare the jquery objects together. Use the ID or

[jQuery] Re: 1.3.2 class selectors only returning first element

2009-03-19 Thread rockrep
Some more debugging has shown this is being caused by an older jquery validation plugin, and this post confirms that http://blog.jquery.com/2009/02/20/jquery-132-released/.

[jQuery] Re: compare jQuery objects

2009-03-19 Thread bob
Well, that did not help much So what is the problem then? Why do I get false? How do I get true value?

[jQuery] Re: compare jQuery objects

2009-03-19 Thread mkmanning
Two objects are equal if they refer to the exact same Object. On Mar 19, 1:48 pm, bob wrote: > How is it that I get false for the following? > Shouldn't I get "true" as a result? if not, why? > > > > $(document).ready(function(){ > >         var one = $('#home'); > >         console.log('compar

[jQuery] 1.3.2 class selectors only returning first element

2009-03-19 Thread rockrep
I tried upgrading from 1.2.6 to 1.3.2 today and ran into all kinds of issues with selectors. I can't reproduce this with a simple page yet. (Only with our complex production app of course.) Essentially, a page with three input type="text" elements with class="some_class" only returns the firs

[jQuery] 1.3.2 class selectors only returning first element

2009-03-19 Thread rockrep
I tried upgrading from 1.2.6 to 1.3.2 today and ran into all kinds of issues with selectors. I can't reproduce this with a simple page yet. (Only with our complex production app of course.) Essentially, a page with three input type="text" elements with class="some_class" only returns the firs

[jQuery] Stuttering background with accordion in Firefox

2009-03-19 Thread Jason Broyles
Trying my luck over here because I am not getting any love in the jquery ui mailing list. I am getting a strange behavior with Firefox using the accordion. This works fine in all other browsers including Internet Explorer. First, let me describe my setup. Firefox 3 (Tested in OS X and Windows, s

[jQuery] compare jQuery objects

2009-03-19 Thread bob
How is it that I get false for the following? Shouldn't I get "true" as a result? if not, why? $(document).ready(function(){ var one = $('#home'); console.log('compararison: ' + (one == $('#home')) ); // false !!! }); How do I compare jQuery objects?

[jQuery] Re: findValue

2009-03-19 Thread Eric Garside
Also, pretty sure you just did it for development purposes, but you probably shouldn't use an alert in an autocomplete context. :P On Mar 19, 3:32 pm, ricardobeat wrote: > I guess the problem is this line: > > var ac = $("#operator")[0].autocompleter.findValue(); > > $(..)[0] gives you the first

[jQuery] Re: jquery.dates

2009-03-19 Thread RyanEv
I still get the same error on the datePicker line. $(document).ready( function () { setTimeout(function(){ $("#sample1").datePicker(); }, 50); }); Is the DatePicker function included in the jquery 1.3 file?

[jQuery] Re: findValue

2009-03-19 Thread ricardobeat
I guess the problem is this line: var ac = $("#operator")[0].autocompleter.findValue(); $(..)[0] gives you the first HTML Element in the object. It's not a jQuery object anymore, so the autocompleter property doesn't exist. IDs should be unique so that is unneeded, try changing it to var ac =

[jQuery] Re: Best way to select dom element ? (find or children ?)

2009-03-19 Thread ricardobeat
This is a bit more efficient: $('.test1').change(function(){ var test1 = $(this).val(); var test2 = $(this).closest('li').next('li').find('select.test2').val (); alert("Test1: "+test1+"and Test2: "+test2); }); Or to avoid repeating the traversal every time: $('#idfortheUL li').each(functi

[jQuery] Re: IE Selection Hiding

2009-03-19 Thread MorningZ
It's not an issue with jQuery but with IE itself If you want it to work cross browser, you're going to have to remove the item On Mar 19, 11:46 am, Adam Paeth wrote: > Just curious if the problem of hiding an IE selection option has been > fixed or if anyone has a workaround other then keeping

[jQuery] Re: Newbie: Convert onload scripts to plugin

2009-03-19 Thread simusch
anyone an idea? thank you! simon

[jQuery] Re: Trying to animate the .before()/.after() dom action

2009-03-19 Thread ricardobeat
All I see is a brief flash at the end of the animation, not very noticeable, both in IE and FF. I suppose there isn't a way to avoid that as you are removing/appending the elements. Maybe fixing the $targetNode position with position:absolute before the after/before call, that should avoid some of

[jQuery] Re: Unbind by Function Reference

2009-03-19 Thread ricardobeat
http://docs.jquery.com/Events (Live Events) http://docs.jquery.com/Events/live#typefn On Mar 19, 3:35 pm, bart wrote: > Thank you for your answer. With a search on the jquery site I can't > find the documentation on how to use the function or see an example.. > Why is that? > > On Mar 19, 3:40 p

[jQuery] Re: Unbind by Function Reference

2009-03-19 Thread bart
Thank you for your answer. With a search on the jquery site I can't find the documentation on how to use the function or see an example.. Why is that? On Mar 19, 3:40 pm, ricardobeat wrote: > Since jQuery 1.3 you can use the live() function, so you don't need to > rebind the events. > > Just set

[jQuery] Re: iCal Calendar format file browser

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/18/09, coolimps wrote: > > > This web application browses .ics and .vcs iCal Calendar files > > http://coolimps.brinkster.net >

[jQuery] Re: Sortable problems

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/18/09, err_ok wrote: > > > I am having some problems with the sortable plugin, most annoyingly in > firefox instead of drag and drop functionality it seems to be click > once

[jQuery] IE Selection Hiding

2009-03-19 Thread Adam Paeth
Just curious if the problem of hiding an IE selection option has been fixed or if anyone has a workaround other then keeping a hidden list of options that aren't selected. Thanks, Adam Paeth $("#option1").hide(); //works in FF, not in IE

[jQuery] Clickable dropdown lists

2009-03-19 Thread christopher.m.t...@gmail.com
Hi everyone! I'm trying to work out a drop down list and can't seem to figure this thing out. So, here's my code: var menuclicked = 0; $('#dropDown1').click( function() { if( menuclicked == 1) { menuclicked = 0; $(this).find('ul').css('visibility', 'hidd

[jQuery] Re: How to prevent default action of *blur* event?

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/19/09, ScottD wrote: > > > I have a code block like the following: > > $(document).ready(function(event) { >$('#txtField').blur(function() { >if (inva

[jQuery] Re: jQuery checkbox checked attribute only enters in IE

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/18/09, Greg Kass wrote: > > > I have the following code (this is a minimized version of the actual code > to demonstrate what is happening). The code inserts form fields fro

[jQuery] Re: Can't select in custom xml in firefox

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/19/09, rossallan wrote: > > > I'm trying to select the text in the element in the xml below: > > > >title text >teaser text >publication date >http://www.l

[jQuery] Can't get ActiveX custom event in IE using jQuery

2009-03-19 Thread Mark Priest
Hello, I have a handler for a custom ActiveX control event that I can successfully register for in IE using the following code: this.activeXObj.attachEvent("PlayerInitialized", this.handlerFunc); When I use the code above I get the event in my handler. I am now trying to use jQuery to attach t

[jQuery] Re: iCal Calendar format file browser

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/19/09, cool.imps wrote: > > > With this application you can interactively browse the contents of > any .ics .vcs format Calendar files >

[jQuery] Re: Do you need authorization for SVN import???

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/18/09, J.V. wrote: > > > I am using Eclipse SVN subclipse plugin. > I can browse all code on: > http://jqueryjs.googlecode.com/svn > > but when I need to import it locally it

[jQuery] Re: ajaxForm File Upload Issue

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/19/09, Pascal Zajac wrote: > > > Hi guys (and probably Mike directly given how quickly he answers > these), > > I've been a long time user of the ajaxForm plugin but as of ri

[jQuery] Re: Superfish animation when hiding menus?

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/18/09, TommyB wrote: > > > Hello, > > Does Superfish support hiding menus with animation as well as when > showing them? > > Thanks, > > TommyB >

[jQuery] Re: iCal browser

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/19/09, cool.imps wrote: > > > This application allows a user to interactively browse the contents of > any ical (.ics,.vcs) formatted files available in the net > > http://co

[jQuery] Re: Offset changing event

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/19/09, John Smith wrote: > > > Hi everyone > > I have outer div #outer with overflow hidden and absolutely positioned > bigger container #inner inside it. Outerdiv is cutting

[jQuery] jumpy navigation slides (possibly due to hide, animation order)

2009-03-19 Thread pedalpete
I've spent the last few days creating a mobile/iphone optimized version of my site. I looked at jqTouch & iUI, but I thought it would mean a bunch of configuring of new pages, and I wanted to just be able to use my own API and a bunch of code I had already written in order to accomplish this. It

[jQuery] Make Superfish smaller

2009-03-19 Thread oware
Hi, I am trying to make the superfish "menu bar" smaller, I changed the ".sf-menu a" padding from .75em to .30em and the arrows padding, That worked fine but when showing the first level menu, it appears very far from the "menu bar", how can I move it a little bit to the top?? I haven't found a de

[jQuery] Re: Email Validation Dies with 1.3 Upgrade

2009-03-19 Thread Brad
There's a lot more code wrapped around this, I just pulled out the area I know isn't working correctly. On Mar 19, 2:00 pm, MorningZ wrote: > Why so complex with jQuery objects?   simple JavaScript makes much > more sense, plus the fact that ultimately all the "ends with" and > "contains" select

[jQuery] Re: Email Validation Dies with 1.3 Upgrade

2009-03-19 Thread MorningZ
Why so complex with jQuery objects? simple JavaScript makes much more sense, plus the fact that ultimately all the "ends with" and "contains" selectors use basic JavaScript in the end anyways http://paste.pocoo.org/show/108697/ On Mar 19, 12:07 pm, Brad wrote: > Tried it, still doesn't w

[jQuery] jQuery-UI / Hide thanks to slide / effects details

2009-03-19 Thread jeancharles amey
i looked at the jQuery Docs (http://docs.jquery.com/UI/Effects/Slide) but nothing solve my question is it possible to hide the half, or x pixels of the div with the id something like : $('#').hide( 'slide', {direction: 'down', height: x} ); If there's anyone who can help me I would be

[jQuery] Re: jquery.dates

2009-03-19 Thread Jack Killpatrick
IIRC I had a similar issue with datePicker in IE and doing something like this resolved it: $(document).ready(function(){ setTimeout(function(){ $('#sample1').datePicker(); }, 50); }); worth a quick try, at least. I've also had to use a setTimeout like that for IE when there was

[jQuery] Re: Using PHP templates and jQuery, browser load problems

2009-03-19 Thread Eric Garside
Also, for reference, this is how your request are processed. 1. HTTP request from user for page.php 2. PHP parses the page 3. PHP includes header.php, PHP parses that page 4. PHP includes "lets say" content.php, PHP parses that page 5. PHP includes footer.php, PHP parses that page 6. The final HT

[jQuery] Re: Using PHP templates and jQuery, browser load problems

2009-03-19 Thread Christoph
Brian, Thank you! I dumped the website comps onto my personal server and it works flawlessly. Seems like the setup here at work must have a bug on the server side somewhere. Hmm, guess it is time to have the developer look at the server code. This could be a nightmare now. Thanks for the help

[jQuery] Re: HTML annotation techniques.

2009-03-19 Thread David Decraene
depending on the purpose, you could use : RDfa: http://www.w3.org/TR/xhtml-rdfa-primer/ or perhaps start using html 5 data attributes, see post from john: http://ejohn.org/blog/html-5-data-attributes/ Greetings, David http://ontologyonline.org jowl semantic javascript library: http://jowl.onto

[jQuery] jquery.dates

2009-03-19 Thread RyanEv
All, I'm having an issue with the jquery.dates plug-in (http:// grover.open2space.com/jquery.dates/home). What is strange is that the error only happens in IE and not in FF. Everything plays nice in FF. The error I am getting in IE is the "the object does not support this property or method" on

[jQuery] Re: Email Validation Dies with 1.3 Upgrade

2009-03-19 Thread Brad
Tried it, still doesn't work. I went through the 1.3 change log and can't find what change could have effected it. On Mar 19, 11:59 am, Jörn Zaefferer wrote: > Remove the @ symbol in the attribute selector, it was deprecated in > 1.2 and removed in 1.3 > > Jörn > > > > On Thu, Mar 19, 2009 at 3:

[jQuery] HTML annotation techniques.

2009-03-19 Thread Bryan Larsen
I'm looking for a good HTML annotation method so that I can pass metadata for html tags to jQuery scripts. I found this page http://www.1729.com/blog/HtmlAnnotations.html which surveys 9 different mechanisms. So far, I've tried the first mechanism (JSON in a script tag before the element to be a

[jQuery] Re: Javascript city state zipcode country component

2009-03-19 Thread MorningZ
Another option to possible look at http://bassistance.de/2009/03/03/jquery-snippet-autocomplete-city-based-on-zip-code/ although i have idea if it applies to "PJUG" since I have no idea what it is On Mar 19, 10:47 am, ricardobeat wrote: > I'm using Maxmind's GeoLite City open-source database.

[jQuery] Re: Email Validation Dies with 1.3 Upgrade

2009-03-19 Thread Jörn Zaefferer
Remove the @ symbol in the attribute selector, it was deprecated in 1.2 and removed in 1.3 Jörn On Thu, Mar 19, 2009 at 3:06 PM, Brad wrote: > > I wrote this function to check an input field. I can fire it when the > field blurs or when the form is submitted. If an .error is visible > when the s

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread MorningZ
The only thing the browsers care about is the domain name On Mar 19, 10:47 am, Adrian Grigoras wrote: > If the call in in the same domain, but on another machine, it will > work? > > For example, call example1.mydomain.com from example2.mydomain.com > > Thanks > > On Mar 19, 3:36 pm, MorningZ

[jQuery] Re: findValue

2009-03-19 Thread brightdad...@googlemail.com
Thanks for the suggestion Lauri. I have tried as asuggested and still dont see anything happening.

[jQuery] Re: findValue

2009-03-19 Thread Lauri B.
Didn't try it, but maybe you should use if($Suggest == ''){ alert("we donot have any matching result"); }

[jQuery] superfish: highlight the font of entire path

2009-03-19 Thread Yaron
Hi, I'm using super fish and attempting to modify the style. How would I go about highlighting the text of each node in the path (as the background does). Thanks,

[jQuery] Email Validation Dies with 1.3 Upgrade

2009-03-19 Thread Brad
I wrote this function to check an input field. I can fire it when the field blurs or when the form is submitted. If an .error is visible when the submit button is clicked, it won't be submitted until they are all gone. When I try to update to 1.3 this function no longer works. jQuery.fn.form_re

[jQuery] Re: Look for

2009-03-19 Thread so.phis.ti.kat
Thanks for all your input. Here's a look at what I have so far: http://www.marlonvalenzuela.net/apps/cms/thechickenplace.html Since we are talking about best-practice, here is how i am switching between the + and - characters var pm = $(this).children(".plusminus"); switch (pm.html()) {

[jQuery] Re: findValue

2009-03-19 Thread brightdad...@googlemail.com
I have tried this too and doesn't seem to work: $("#operator").autocomplete("auto.php", { delay:10, lineSeparator: "^", cacheLength: 10, matchSubset:1, matchContains:1, onFindValue:function(){ alert("am here"); var a

[jQuery] pseudo-class animation :: select options disappear in ie7

2009-03-19 Thread kenny
Hello, I am using this script: http://sheetup.com/menusmooth.php When I use in my form the class in a , it dows the animtion nice on hover but as soon as I go over the tehy disappear. All this in ie7. I am searching the web to find a solution... If ther is one already available please let me

[jQuery] Re: Javascript city state zipcode country component

2009-03-19 Thread ricardobeat
I'm using Maxmind's GeoLite City open-source database. It's free and has surprising accuracy. They also have paid webservice plans with more precise data. http://www.maxmind.com/app/geolitecity cheers, - ricardo On Mar 19, 12:06 am, Vijay Balakrishnan wrote: > Hi, > > Has anyone used a stable

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread Adrian Grigoras
If the call in in the same domain, but on another machine, it will work? For example, call example1.mydomain.com from example2.mydomain.com Thanks On Mar 19, 3:36 pm, MorningZ wrote: > I'm not sure who you are replying to, but regardless, the $.ajax code > cannot call another domain > > you'll

[jQuery] Re: Is there anyway to grab the Children of an Element?

2009-03-19 Thread Vincent Robert
In your livequery callback, this is the DOM object that received the event so your "th.name". $(this) builds a jQuery around this DOM element, a jQuery around your "th.name". $(this).children("th.name") returns a jQuery containing the children of "th.name" that are "th" elements and have a class

[jQuery] Re: Unbind by Function Reference

2009-03-19 Thread ricardobeat
Since jQuery 1.3 you can use the live() function, so you don't need to rebind the events. Just set $('table caption a').live('click', addItemFinal) once in $ (document).ready() and all anchors added to the doc afterwards that match this selector will fire the function on click. live() uses what

[jQuery] Re: show hide random rows

2009-03-19 Thread Scott Sauyet
Sean O wrote: Scott, Ricardo, great thoughts and great code. It is an interesting issue with many attack vectors; I hope the OP is getting something out of all this... Yeah, we've got to wonder... :-) I will expect at least as much code and analysis for my next posted problem! If I'm payi

[jQuery] Re: Cluetip, opening tip via code

2009-03-19 Thread batuj
Awesome idea, I tried that however the problem is, in order to make it work, the cluetip I bind to component should be activated with a user click before the trigger mechanism become able to work. That means, if I run trigger('click') before clicking the element by hand, It doesn't work. But after

[jQuery] Best way to select dom element ? (find or children ?)

2009-03-19 Thread Jsbeginner
Hello, I'm trying to get the value of an option in a select list contained in a different li item... Here is the html code : Option 1 Option 2 Option 3 Option 4 Option 1 Option 2 Option 3 Option 4 I would like to be able to get the text of .test2 option:selected when I change

[jQuery] Re: jquery website broken?

2009-03-19 Thread iain.wa...@googlemail.com
I'm not sure if someones been tweaking, but i can confirm its now rendering correctly for me :) Cheers

[jQuery] Re: Is there anyway to grab the Children of an Element?

2009-03-19 Thread Martin
The code looks like this $("th.name ").livequery('click', function() { var $selected = $(this).children("th.name"); if($selected.is(":hidden")){ console.log($selected); console.log($selected.find("b").length);

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread MorningZ
I'm not sure who you are replying to, but regardless, the $.ajax code cannot call another domain you'll have to use an tag or work out something on your server side code to call the remote domain and then call that code from your javascript (pretty much using your server/code as a proxy) On M

[jQuery] Re: Is there anyway to grab the Children of an Element?

2009-03-19 Thread MorningZ
I'd take a guess that "$(this)" isn't what you think it is, hence it doesn't work but without more code, it's hard to know for sure On Mar 19, 9:20 am, Martin wrote: > Hello, > > I am trying to grab the child of element in my html (see below) > > >                                            

[jQuery] Re: Is there anyway to grab the Children of an Element?

2009-03-19 Thread T.J. Crowder
Hi Martin, (Disclaimer: I'm really new at jQuery, though not at DOM scripting.) It sounds like you're saying that this line: > var $selected = $(this).children("th.name"); ...isn't finding any matching elements and that that's why you can't find the child of the . What's the context in whic

[jQuery] remove classes when select option is not selected

2009-03-19 Thread jjsanders
Hello, When i select something from a selectbox it adds a class to the selected option this way: $('div#tabs input[type="text"], select option:selected, input:checked, textarea').addClass('takethis'); But when i select a different option it doesn't remove the class 'takethis' from the option w

  1   2   >