[jQuery] Ajax - Help with events

2009-09-12 Thread Will D
t think event delegation would work as a new table of contents is pulled in each time and the above functions targets items that are inside the table. I'm pulling in the new tables via .load(). Any advice / newb friendly guides would be much appreciated. Thanks, Will

[jQuery] Support for Mobile Browsers coming?

2009-09-05 Thread Will
Hi, Just wondering if jQuery has plans to support mobile browsers (iPhone, BB, G1, Palm Pre, WindowsMobile 6.5 in particular). This page (http:// docs.jquery.com/Browser_Compatibility) only lists PC browsers. Thanks! Will

[jQuery] imagefit plugin - rescaling images - help needed

2009-08-15 Thread Will D
Javascript is at the novice stage so I'm lost as to how I can fix it. Can anyone have an attempt at solving this or suggest an alternative plugin I may have missed? Regards, Will

[jQuery] Re: Ajax call modifying returned html

2009-07-07 Thread Will D
I have a similar issue with hiding / showing table data. I have a single table with two tbody elements and I have 2 buttons that toggle the display of each tbody using show() + hide(). Whenever I hide the first and display the second tbody for some reason the second tbody upon display looks like e

[jQuery] Re: Object doesn't support this property or method jquery-1.2.6.js, line 83 character 3

2009-07-03 Thread will
recommended to use the latest version of jQuery, v1.3.2. > Try removing your scripts one by one until the error goes away to > pinpoint the issue. > > On Jun 26, 4:48 pm, will wrote: > > > Hello: > > > Here is the offending line in IE7: return this.setArray > > (

[jQuery] Object doesn't support this property or method jquery-1.2.6.js, line 83 character 3

2009-06-26 Thread will
Hello: Here is the offending line in IE7: return this.setArray (jQuery.makeArray(selector)); OR in Firefox 3.0.10 line 81 jquery-1.2.6.js return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector ); Sorry if I'm not providing enough detail...I'm pretty new to jQuery/ javascript

[jQuery] Rebinding .one() on ajax callback

2009-06-04 Thread Will Olbrys
{//REBIND THE BUTTON} }) } any thoughts on best acheiving this as simply as possible? Thanks, will olbrys willolbrys.com

[jQuery] Re: jQuery + .Net + json

2009-06-02 Thread will
MorningZ: Do you mind if we communicate offline. I'm not getting any errors but I still can't get the example to work. I'm new to jQuery and the client side debugging. Thanks On Jun 2, 3:17 pm, MorningZ wrote: > "What I've learned is that the $.getJason > will

[jQuery] Re: jQuery + .Net + json

2009-06-02 Thread will
17 pm, MorningZ wrote: > "What I've learned is that the $.getJason > will not work on .Net because of the handler" > > I have no idea how such a conclusion came about, but rest assured that > the $.getJSON method most definitely works with .NET > > I don't have

[jQuery] jQuery + .Net + json

2009-06-02 Thread will
I can not get this combo to work with an example from jQuery in action. I'm trying to port the examples from jsp to .net. I'll post the least amount of code. What I've learned is that the $.getJason will not work on .Net because of the handler (not sure if this is true but either

[jQuery] xml parse error onreadystatechange

2009-05-30 Thread will
I'm confusedwhy is the xml parse error being thrown when I'm dealing with json? if ( status == "success" ) { // Watch for, and catch, XML document parse errors try { // process the data (runs the xml through httpData regardless of callback) data = jQuery.httpData( xml, s.dataT

[jQuery] Re: change parent div height after child

2009-05-29 Thread will
Hello. Not really...it is an intranet site...however, I can send you the files in a zip. On May 29, 10:45 am, Stoney wrote: > Do you have an active site where you have an example of what exactly > you're trying to do? > > On May 29, 11:13 am, will wrote: > > > Hi. I

[jQuery] change parent div height after child

2009-05-29 Thread will
Hi. I have the following layout. .panel { position:relative; width:580px; height: auto; /*overflow: auto;*/ padding: 4px; } .panelContent { position:absolute; top:18px; left:0px; width:580px; background-color:GrayText; } .rptViewer { clear: both;

[jQuery] Re: getJson + asp.net

2009-05-28 Thread will
tings. Will reply back if this proves to be the case. if ( status == "success" ) { // Watch for, and catch, XML document parse errors try { // process the data (runs the xml through httpData regardless of callback) data = jQuery.httpData( xml, s.dataTy

[jQuery] Re: getJson + asp.net

2009-05-28 Thread will
et >         End Property > >         Public Sub New(ByVal i_value As String, ByVal i_caption As > String) >             Me.value = i_value >             Me.caption = i_caption >         End Sub > >     End Class > > Then to generate (and at the end the NewtonSoft o

[jQuery] getJson + asp.net

2009-05-28 Thread will
Hello: I'm trying to use the getJson() with asp.net page (attempting to adapt jquery in action example to .net): $(function(){ $('#styleDropdown') .change(function(){ var styleValue = $(this).val(); $('#detailsDisplay').load( 'getDet

[jQuery] Bug report for media plugin

2009-05-28 Thread Will 保哥
About the jQuery Media Plugin ( http://www.malsup.com/jquery/media/ ), there is bug in the "getSettings" function. Here is the problem codes shown below: var w = meta.width || parseInt(((cls.match(/w:(\d+)/)||[])[1]|| 0)); var h = meta.height || parseInt(((cls.match(/h:(\d+)/)||[])[1]||

[jQuery] Destructive Event

2009-05-07 Thread Will
Can anyone give me a definition of what a destructive event is in JS? When using .end() it undoes the last destructive event thanks

[jQuery] jQuery Documentation

2009-04-12 Thread will
m which, I'm guessing, is a mistake. :) Will

[jQuery] Re: listening for any dom change

2009-04-05 Thread will
Thank you Ricardo. I could do a callback but there are a number of different types of things that get inserted so it's spread out across a number of functions. And these will likely grow with time. I think what I'm realizing is that what started as a "what would happen if I..

[jQuery] listening for any dom change

2009-04-04 Thread will
Hi, I'm trying to bind a function to the body element of a document that will fire any time any part of the page's DOM changes. $("body").change() doesn't seem to do it. It does for some changes but not all. In particular, not when HTML or element attributes are adde

[jQuery] Re: Get element's html and the element

2009-03-30 Thread will
back and forth with the server the content is loaded via $('#content').load(stuffISaved); your method keeps the extra div out though and that's sexier. My inner nerd might make me switch to it. Thank you, Will On Mar 30, 9:33 am, mkmanning wrote: > Resort to wrappers :). They do

[jQuery] Get element's html and the element

2009-03-29 Thread will
Hi, Trying to grab an element from the page and save it to a file. I'm able to get its contents with .html() but I can't figure out how get the container itself (and its contents) without resorting to wrappers. Basically, I want $("div#container").html(); to output "

[jQuery] Re: Using 1.3 this: [class!=whatever] doesn't work.

2009-03-18 Thread will
Hi, Using :not() worked great. Cheers Will On Mar 18, 11:09 am, "T.J. Crowder" wrote: > Hi again, > > *blush* Those same docs tell us that != is also supported by Sizzle. > Note, though, that: > >     a[class!=whatever] > > ...is the same as > >     a:no

[jQuery] Using 1.3 this: [class!=whatever] doesn't work.

2009-03-18 Thread will
on(){ //do something }); Doesn't work. The function wont fire on either. Is this just a slip up or is it for an actual reason? Cheers, Will

[jQuery] Re: New plugin: simplyScroll

2009-02-19 Thread Will Kelly
Have added a new complex markup example http://logicbox.net/jquery/simplyscroll/custom.html On Feb 19, 1:13 am, Will Kelly wrote: > Great stuff, let me know how it goes! Will > > On Feb 18, 11:06 pm, Daniel wrote: > > > Wonderful! I plan to use this

[jQuery] Re: New plugin: simplyScroll

2009-02-18 Thread Will Kelly
Great stuff, let me know how it goes! Will On Feb 18, 11:06 pm, Daniel wrote: > Wonderful! I plan to use this on the redesign of > hodgesfarmequipment.com! Thank you, bookmarked! > > On Feb 18, 2:41 pm, Will Kelly wrote: > > > Hi > > > Just released a plugin for

[jQuery] [ANN] New plugin: simplyScroll

2009-02-18 Thread Will Kelly
/logicbox.net/jquery/simplyscroll/ Blog post: http://logicbox.net/blog/simplyscroll-jquery-plugin Would love feedback etc, also would be interested to know how I can detect Safari/Chrome (webkit), now that I can't use $.browser! Cheers Will

[jQuery] jquery drawer like menu

2009-02-17 Thread Will
I am trying to build a nav bar that is made up of images...as you roll over each image it either will have a drop down that comes down from it (sort of like suckerfish) but if there is no div matching it then it will just do a rollover on the imagecan someone direct me or tell me if I should

[jQuery] Filter elements with multiple classes.

2009-01-25 Thread will
hide everything else. I've tried using the [class!=client1] filter, but I think it is not taking into account the second class name. Adding to the confusion is the possibility that there will also be a class called 'active'. Setting up an alert simply counts all the thumbnails, e

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Will Anderson
I choose to validate from PHP because of a couple things. 1. It's more secure because nobody can see my PHP code, but they can see my jQuery code. 2. If the user has JavaScript disabled, or for some other reason the jQuery is unable to validate the code, it will still be validated. On the

[jQuery] Re: is accessing element by a class faster than accessing X element by ID

2009-01-05 Thread Will Anderson
I think comparing two strings would be faster than deciding whether a string begins with another string. Also, doing one selection would almost always be faster than doing 3, so I'd say that the first piece of code from the OP would be faster. It should only require one loop through the DOM tree.

[jQuery] Re: Functions and variables

2008-12-09 Thread Will
of it changes because you're > using jQuery. > > Could you give a specific example of some jQuery code that doesn't look > good, and then we can talk about how to clean it up? > > -Mike > > > From: Will > > > I'm sure this is dealt with some

[jQuery] Re: Object Oriented Form Handling

2008-12-09 Thread Will
Thanks everyone. I found a solution for my situation. On Dec 6, 9:16 am, "Dan Switzer" <[EMAIL PROTECTED]> wrote: > Will, > > > Does anyone know of a way to use class like objects in event handling > > using jQuery? > > > For Example, > > >

[jQuery] Object Oriented Form Handling

2008-12-04 Thread Will
Does anyone know of a way to use class like objects in event handling using jQuery? For Example, where .show() is a method of the Record object. This would be really cool to be able to reuse the method name .show() but with different objects verses just coding a huge list of functions that ar

[jQuery] Functions and variables

2008-12-04 Thread Will
I'm sure this is dealt with somewhere in the jQuery tutorials but I have not been able to find it. I'm new to jQuery and used to working with functions and variables so that I can create reusable code and not have to hard code every event that could happen. This is pretty much basic programming.

[jQuery] Re: Jquery and AJAX

2008-10-28 Thread Will B.
You might want to see if this is your problem: If you have a set of functions, jQuery or otherwise in the main page, then you reload an inner div with Ajax content, you will very likely find that the new Ajax'ed content can no longer reach the functions in the main page. There is some so

[jQuery] Re: jCarousel Lite - Problem going backwards

2008-10-10 Thread will
No one? :( Am I not giving enough information? Wrong information? Will On Oct 5, 10:59 am, will <[EMAIL PROTECTED]> wrote: > Hi jQuery Land, > > I'm using jCarousel Lite to do a little tips switcher. I'm using prev > and next buttons.  Next works great.  Prev fails

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-10-06 Thread Will
an example of the use : http://w.rouvre.free.fr : )

[jQuery] jCarousel Lite - Problem going backwards

2008-10-05 Thread will
width: 190px; } #did-you-know ul { margin:0; padding:0; display: block; } #did-you-know li{ margin: 0; padding:0; width:190px; } Thanks for any help! Will PS. sorry if this gets posted twice.

[jQuery] Re: css-js mouseover effects not working in ajax response

2008-09-17 Thread Will
nse > > the css-js mouseover effects not working in ajax response. > > Please gimme the reason behind this. Lemme know how can we sort it > out. gimme some code snippents > > Thanks in advance > > joban john > while($life) { >$knowledge++ ;} > > ?> > 1) He who lives by the sword will die by the sword..

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Ok Diego, I found a plugin wich works perfectly : "jquery live_bind" an example of use : $.live_bind("a.popup_link", 'click', function(){ $("#"+popup+"_popup").css("margin-left","-"+ (width.substr(0,width.length - 2) / 2)+"px"); $("#"+popup+"_popup").fadeIn("slow"

[jQuery] Re: [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Indeed, if i want to have each content of my page wich is load by Ajax, I will call the specific JS script for each content called ==> it creates a trouble with functions like toggle, etc... if you visit 10 links on my page, you will have 10 JS script opened ! unless you know how to des

[jQuery] Re: [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
roup, I found some guy who talked about "livequery", I tried but it seems to not work correctly I think that your solution is the only one. best regards Will

[jQuery] [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Hello, I prefer prevent you that I'm french. I post on this group cause french groups cannot answer to this problem : When I add dynamically HTML code in a page, Jquery doesn't take charge of it. I hope that this example will be more understandable : 3 files : index.html

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

2008-07-22 Thread Will Moffat
n fact only the browser handler fires. A real mouse click causes both to fire. Can anybody explain this difference? Should I file a bug? regards, --Will

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

2008-07-09 Thread Will Moffat
g submit button: $('input[type=submit]').click(); The submit handler isn't fired. Live example: http://mqlx.com/~willmoffat/learn_feature/jquery/click_submit.html Is this a bug or a feature? regards, --Will

[jQuery] Re: Detecting the selected option

2008-06-26 Thread Will
$ ("#overlaybutt,#addoverlay").show("slow"); } return false; }); return false; }); Thanks for helping! On Jun 26, 10:37 am, Will <[EMAIL PROTECTED]> wrote: > Thanks for the response.  I'm still

[jQuery] Re: Detecting the selected option

2008-06-26 Thread Will
CTED]> wrote: > "this.value" not get the value of a > > use > > if ($(this).val() == 'no') > > instead > > or you can just use what jQuery does under the hood and say > > if (this.options[this.selectedIndex].value == 'no') > > O

[jQuery] Detecting the selected option

2008-06-25 Thread Will
I have a button (#showgraph) that submits a form, but when this happens, I want a certain div (#overlaybutt) to appear only if a certain value ('no') is present in one of the select options (#initCond). Here's what I have so far, which isn't working: $("#showgraph").click(function(){

[jQuery] Re: cycle plugin: sIFR'ing cycle

2008-04-29 Thread will
On Apr 26, 3:37 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Has anybody gotten a sIFR'd text element to work properly with the > > cycle plugin? I can sIFR a element, and I can create a slideshow > > with that same element, but not at the same time. The first > > sIFR'd element in the

[jQuery] Re: How to get the first matching parent of each element?

2008-03-26 Thread Will Moffat
')[0]; > }); That's exactly what I was looking for. cheers! --Will

[jQuery] Works in FF2 but not IE7

2008-03-25 Thread Will Skelton
nu.. FF returns correctly (read: what I expect) and IE7 does not. any ideas? I've burned up the better part of the day trying to figure this out. thanks Will

[jQuery] tablesorter problem with datetime

2008-01-31 Thread Will Arp
descending sort of a column with datetime values results in: 31-Jan-2008/9:42:08 31-Jan-2008/13:15:35 should be: 31-Jan-2008/13:15:35 31-Jan-2008/9:42:08 thank you! -will

[jQuery] Re: jqModal and the "ESC" key?

2007-10-26 Thread will
> You may as well use jQuery for that. :-) > > $(document).keydown( function( e ) { >if( e.which == 27) { // escape, close box > $(".jqmWindow").jqmHide(); >} > }); > > -Mike nice. ;) jQuery ftw.

[jQuery] Re: jqModal and the "ESC" key?

2007-10-25 Thread will
document.onkeydown = function(e){ if (e == null) { // ie keycode = event.keyCode; } else { // mozilla keycode = e.which; } if(keycode == 27){ // escape, close box $(".jqmWindow").jqmHide(); } };

[jQuery] Re: jqModal and the "ESC" key?

2007-10-25 Thread will
Toby, thanks! I thought perhaps it was built into jqModal but I suppose theres nothing like rolling your own. I couldn't get it to work on your site though. :| I'll give it a whirl locally. Thanks, Will On Oct 25, 1:36 pm, Tobias Parent <[EMAIL PROTECTED]> wrote: > Don&

[jQuery] jqModal and the "ESC" key?

2007-10-25 Thread will
Is there a way to get jqModal dialogs to hide when you hit the escape key? Thanks, Will

[jQuery] Age Verification - Validation Plugin

2007-10-19 Thread will
Has anyone already written an age verification method for Jörn's validator.js? Something that would take a given date in an input field and compare it to Today's date minus "X" years? Thanks, Will

[jQuery] Re: jQ SqueezeBox - Expand All?

2007-10-04 Thread will
$('.stuff dl').Squeezebox(); $("a.expandall").click( function() { $('.stuff dl dd').slideDown("fast"); $('.stuff dl dt').addClass("selected"); return false; }); wo

[jQuery] jQ SqueezeBox - Expand All?

2007-10-04 Thread will
ble to expand all and use on page searching. Thank you, Will

[jQuery] Re: Pulling in a specific #div with jqModal

2007-10-01 Thread will
That should work swimmingly. I dunno why it didn't occur to me. Load it into the jqm div and then display the jqm as normal, without any sorta jqm ajax call. Thanks! will On Oct 1, 2:19 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote: > I haven't used it yet, but if I'

[jQuery] Pulling in a specific #div with jqModal

2007-10-01 Thread will
Greetings jQuery Land, I'd like load a specific part of another page into a jqModal box. like: $('#mybox').jqm({ajax: 'included.php#this_particular_div_only'}); Any hope for me and mine? Thank you, Will

[jQuery] Re: Multiple XPath selectors, or other, for custom attributes

2007-09-11 Thread Will B.
les.comwww.learningjquery.com > > On Sep 11, 2007, at 9:45 AM, Will B. wrote: > > > > > Wow...it did show up, then! Darn. I reposted (almost) for nothing. > > Thanks for answering, Klaus. > > > Is there a way to do this w/o using XPath? Now that it

[jQuery] How to this non-XPath style...

2007-09-11 Thread Will B.
ring the customID and the cID. Think of it like a database query. I've setup so I can "get children" of A:10, B:50, if only I knew how! Thanks - Will B.

[jQuery] Re: Multiple XPath selectors, or other, for custom attributes

2007-09-11 Thread Will B.
Wow...it did show up, then! Darn. I reposted (almost) for nothing. Thanks for answering, Klaus. Is there a way to do this w/o using XPath? Now that it's been pushed off to a plugin, I'd rather stick with core Jquery. - Will On Sep 11, 8:31 am, Klaus Hartl <[EMAIL PROTECTED]>

[jQuery] Multiple XPath selectors, or other, for custom attributes

2007-09-11 Thread Will B.
="1" and bID="2", but (in this case) ignoring the customID and the cID. Thanks - Will B.

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-10 Thread Will Arp
John & team, you are heros! Thank you very much for this new awesome effort! -will On 11-set-07, at 06:06:24, John Resig wrote: Hi Everyone - jQuery 1.2 has been released! More information (and a jQuery UI sneak peek!): http://jquery.com/blog/2007/09/10/jquery-12-jqueryextendawesome/

[jQuery] Dimensions.js 1.1.2 regression?

2007-08-22 Thread Will Arp
a way to get Toolbars&co height? something along the lines: $(window).outerHeight() - $(window).innerHeight() it would be useful for a window.resizeTo(x,y). Thank you and have a great day! -will

[jQuery] Re: Complex(ish) table formatting code not working in Firefox 2

2007-07-18 Thread Will Kelly
using ctrl-shift-r. > > On 7/17/07, Will Kelly <[EMAIL PROTECTED]> wrote: > > > > > Screenshot from FF2 here > >http://www.logicbox.net/jquery/pricetable/screen.jpg > > > On Jul 17, 2:15 pm, "Benjamin Sterling" > > <[EMAIL PROTECTED]&g

[jQuery] Re: Complex(ish) table formatting code not working in Firefox 2

2007-07-17 Thread Will Kelly
Screenshot from FF2 here http://www.logicbox.net/jquery/pricetable/screen.jpg On Jul 17, 2:15 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > I second Erik on this, can you elaborate on your issue? Maybe send a screen > shot of what you are getting?

[jQuery] Re: Complex(ish) table formatting code not working in Firefox 2 [windows bug?]

2007-07-17 Thread Will Kelly
icetable/index2.html This works on FF2 (with Firebug). I've applied the 'fix' console.log($ ("table.prices1")) Will On Jul 17, 12:37 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > I'm not sure what problem you're having. The pages appear t

[jQuery] Re: Complex(ish) table formatting code not working in Firefox 2

2007-07-17 Thread Will Kelly
ug installed): http://www.logicbox.net/jquery/pricetable/index2.html It renders it correctly with a console.log($("table.prices1")) 'hack'. Will On Jul 17, 12:37 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > I'm not sure what problem you're havi

[jQuery] Re: Complex(ish) table formatting code not working in Firefox 2

2007-07-17 Thread Will Kelly
r:last td, tbody tr:last th",this).addClass('js-btd'); }); }; })(jQuery); $(function() { $("table.prices").priceTable(); }); On Jul 16, 1:37 pm, Will Kelly <[EMAIL PROTECTED]> wrote: > Hi, > > Not sure if this is a bug or not, b

[jQuery] Re: dev tip: combining JS script files

2007-07-16 Thread Will Kelly
This might be of interest. A php implementation for caching and combining js/css files http://www.ejeliot.com/blog/73

[jQuery] Complex(ish) table formatting code not working in Firefox 2

2007-07-16 Thread Will Kelly
k fine in IE6/7, Safari 3beta etc. Very odd, any ideas? This one's been annoying me for a while now! Thanks, Will

[jQuery] PACKER3 issues

2007-07-04 Thread Will Arp
e break using packer3 shrink option, watch out.. Thank you and have a great day! -will

[jQuery] files upload

2007-06-05 Thread Will Arp
Dear list, is there a nice jQuery file upload, something like: http://digitarald.de/playground/upload.html is there a way to get filesize before uploading using javascript? I know flash can but.. Thank you! -will

[jQuery] Re: Metadata plugin

2007-05-29 Thread Will Arp
Hi all, any idea? thank you! -will On 29-mag-07, at 06:51:07, Will Arp wrote: having an issue with svn metadata plugin if compressed with packer 3.0 beta 8 or beta 9. code below will return undefined, works fine with uncompressed version. This is a p $.meta.setType("attr", &quo

[jQuery] Re: Metadata plugin

2007-05-28 Thread Will Arp
having an issue with svn metadata plugin if compressed with packer 3.0 beta 8 or beta 9. code below will return undefined, works fine with uncompressed version. This is a p $.meta.setType("attr", "data"); alert( $("#one").eq(0).item_label ); thank you, have a g

[jQuery] Re: datePicker v2 beta

2007-05-08 Thread Will
o not refresh correctly and it's somewhat confusing to the user. Is there any way to get around that? Will On Apr 24, 4:54 am, "Kelvin Luck" <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to announce the beta release of v2 of mydatePickerplugin for jQuery. > Thi

[jQuery] Re: Best practice for image source change

2007-04-05 Thread Will Kelly
umbnails img").click(function() { var large_img = $(this).attr('src').split(".").shift() + '_large.jpg' //gets image src part before period, adds suffix $("#mainImage").attr('src'.large_img); } Above example is simple and assumes image on has 1 period in it! Hope that helps, Will