[jQuery] Re: How to pass in data

2010-01-17 Thread Patrick Kennedy
I guess this is the answer to my question -- bind( type, [data], fn ) If I use bind, I can pass in data to event handlers. ~PK On Mon, Jan 18, 2010 at 12:48 AM, Patrick wrote: > What is the best way to get data into jQuery? Obviously, jQuery > separates data and presentation.  How can

[jQuery] How to pass in data

2010-01-17 Thread Patrick
What is the best way to get data into jQuery? Obviously, jQuery separates data and presentation. How can I pass in a parameter? Below, you can see how I called a method with a hardcoded value, but I want to dynamically pass in a value from web page. $(document).ready(function() { /* tweet stat

[jQuery] Passing in a parameter

2010-01-17 Thread Patrick
Hi all, I have a newbie question. You know how you can pass a variable to a JavaScript function like this: onload="getStuff(data)" Which is done via the BODY tag. Now, jQuery uses $(document).ready (function() }); My problem is simple: I want to pass in a variable to the ready (function(). Whe

Re: [jQuery] Re: help combine LightBox & jMyCarousel effect?

2010-01-17 Thread Patrick Kennedy
need a way to pass it in dynamically. What is the recommended strategy? It may mean that I need to imploy a different way of calling it, but that's fine. Perhaps cookies or some database idea may be a workaround, but I am trying to find what jQuery supports here - that is, how can I best p

[jQuery] Re: what's up with zoho jquery forum???

2010-01-15 Thread Patrick
eration off and within a few weeks it will most likely be > overrun by spammers. > > http://ejohn.org/blog/google-groups-is-dead/ > > On Jan 14, 1:22 pm, Patrick wrote: > > > > > I tried to get to this forum and ended up at some zoho forum for > > jquery. Is this the official forum for jquery?

[jQuery] Re: .load() not functioning correctly on IE

2010-01-14 Thread Patrick
gib, i've spent most of the day working on my problem, which I believe is similar to yours. What i've found with IE versus other browsers, is that if one quote is wrong... added or missing... IE won't load the results. This may be a place for you to look next. On Jan 14, 4:03 am, gib wrote: > $(

[jQuery] Re: .load() not functioning correctly on IE

2010-01-14 Thread Patrick
gib, do you happen to have a style in the html you are loading? e.g. . Patrick On Jan 14, 4:03 am, gib wrote: > $("#datatable").load("includes/Remotes.asp",{funcType: "getData"}, > function (responseText, textStatus, XMLHttpRequest) { >    

[jQuery] jQuery/Ajax client storage

2010-01-04 Thread Patrick
s for ObjA, eventhough the div was cleared? Thanks! Patrick

[jQuery] html title attribute displaying incorrectly

2009-11-11 Thread patrick ross
Hi, I've implemented a mouse over enlarge function using Jquery. I have added on title attribute but which works fine when the Jquery isn't working. Once "switched on" it iplements the colours stipulated by the CSS style sheet. I'm confused as to how I can tell it to do what it normally does. The o

[jQuery] Re: Dynamic values

2009-10-13 Thread Patrick
ref, function() { >     $(this).dialog(options); >   }); >   return false; > > }); > > - Richard > > > > On Wed, Oct 7, 2009 at 7:59 PM, Patrick wrote: > > > I'd like to be able to set the size of a jQuery dialog dynamically > > when I call it based

[jQuery] Dynamic values

2009-10-07 Thread Patrick
fields? Thanks, Patrick

[jQuery] Re: Superfish resize issue

2009-10-06 Thread Patrick
Gernot, It's probably not what you want to hear, but I would suggest trimming the main menu down by creating some groupings. I think you will find the usability and appearance improves, moreover, your issue will be resolved. Best of luck, Patrick On Oct 6, 9:06 am, Hetsch wrote:

[jQuery] Re: Clickable autocomplete, like google

2009-09-07 Thread Patrick Wolf
Ladksak, try to set the option matchContains to true. Regards Patrick On Sep 3, 5:59 pm, ladksak wrote: > the problem is that i need it to work with the script i posted the > link > > thats because the UIAutocompleteis not as good... > if i type "ODE" in the ui he doe

[jQuery] Re: Autocomplete -- Autofill & Comma Seperator Issues

2009-09-07 Thread Patrick Wolf
Hi, have you tried to set the option selectFirst to false? Regards Patrick On Sep 3, 8:15 am, Mil wrote: > Does anyone have any ideas for this issue? > > On Sep 1, 4:49 am, Mil wrote: > > > > > Hi, > > > I am trying to use this > > autocompletehttp

[jQuery] Re: Know which form was submitted in a page with multiple forms

2009-09-05 Thread Patrick
I have not used it yet, but there is a plugin called dirtyform that would most likely do what you are wanting to do. It looks very nice. p On Sep 5, 5:23 am, Chamila wrote: > I have a page which displays a list of resources in the database. For > each of these resources I have a comment form. I

[jQuery] Re: Code inside click() event not firing.

2009-08-14 Thread Patrick
tags that you're binding the click event to introduced > into the DOM from the showHint AJAX request? > If so, read this: > Why do my events stop working after an AJAX > request?http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st... > > On Aug 13, 8:16 am, P

[jQuery] Re: cross-domain ajax question

2009-08-13 Thread Patrick
Have you tried an iframe? On Aug 13, 11:27 am, adam wrote: > I'm working in a large corporate intranet and used jQuery to build a > simple javascript include that developers can throw into their source > (HTML, ASP classic, ASP.NET, etc). > > Everything worked fine until I started to deploy out

[jQuery] Code inside click() event not firing.

2009-08-13 Thread Patrick
New to jQuery, I did many searches before posting. This is happening in both IE6 and Firefox 3.0.13. I've gotten the following script to work under strange circumstances (explained below first snippet). jQuery(document).ready(function(){ showHint(""); // ajax that fires onload, with no pro

[jQuery] Animate children of element?

2009-03-30 Thread Patrick Jarrett
terior elements to the animation or do I need to do multiple animates to create that effect? Thanks -- Patrick

[jQuery] jQuery Ajax XML not working in IE6(most people)

2009-02-16 Thread patrick
Hello, I have been looking at this for a few days now and I am not having any luck. I am using jQuery 3.1.1. I don't think I have any character encoding issues, all files are in UTF-8 format. Is it possible that I left a header out when creating the XML file - like the doctype=text/xml? If so

[jQuery] Re: case insensitive :contains()

2009-02-15 Thread Patrick Aljord
thanks a lot

[jQuery] case insensitive :contains()

2009-02-14 Thread Patrick Aljord
Hey all, I tried various solutions to have a case insensitive :contains() on google but couldn't find one that works with jquery 1.3: http://dev.jquery.com/ticket/278 http://mkhairul.com/2008/11/26/making-jquery-selectorcontains-case-insensitive/ any suggestion? also it would be good to include

[jQuery] Re: Dealing with Date Comparison

2009-02-05 Thread Patrick Jarrett
There's also a jQuery plugin which already does this. Check out: http://timeago.yarp.com/ On Thu, Feb 5, 2009 at 11:36 AM, Bob O wrote: > > Thank you everyone for the responses > bjorsq your solution worked out great. Thank you for the help. > > > On Feb 4, 5:39 pm, bjorsq wrote: >> To do this

[jQuery] Re: having a problem with ' and strings

2009-02-04 Thread Patrick Jarrett
er site, replacing all 's with \'s. The \ here escapes the ' and makes javascript read it as a part of the string rather than the end of it. -- Patrick On Wed, Feb 4, 2009 at 10:19 AM, Liam Potter wrote: > > Glad to of helped. > My system has worked for me so far, but I&#x

[jQuery] Re: jqGrid 3.3 version

2008-10-15 Thread patrick davey
the grid is that possible? Obviously it would require some sneaky server side Ajax to do too - but it would require filtering drop downs on each column in the grid too? Great work! Thanks, Patrick On Oct 15, 11:13 am, Rey Bango <[EMAIL PROTECTED]> wrote: > Wow Tony! Just WOW! :

[jQuery] Re: Append Node to XmlDocument

2008-08-29 Thread Patrick Burrows
Of course, this works just fine using the built-in methods of XmlDocument (appendChild, createElement). I am just mildly surprised this does not work with the JQuery methods. On Fri, Aug 29, 2008 at 8:37 PM, Patrick Burrows <[EMAIL PROTECTED]> wrote: > At this point I've tried eve

[jQuery] Re: Append Node to XmlDocument

2008-08-29 Thread Patrick Burrows
At this point I've tried every combination of .after I could think of. I think, at this point, this is simply not possible using JQuery. On Fri, Aug 29, 2008 at 7:50 PM, Patrick <[EMAIL PROTECTED]> wrote: > > Is anyone aware of a simple example which appends a node to an >

[jQuery] Re: ajax?

2008-08-29 Thread Patrick Burrows
> Email: > > Password: > > > > > then when you click submit it uses ajax to load the login page that > checks if you entered the right email and password. if you didn't, it > would show the login form again. but if you try to login again, > nothing happen

[jQuery] Append Node to XmlDocument

2008-08-29 Thread Patrick
Is anyone aware of a simple example which appends a node to an existing XmlDocument? I am successfully able to update an XmlDocument using the attr() method. So: $(xmlElement).attr("Name","new name"); I am even able to create new attributes using this method. What I would like to be able to do

[jQuery] Re: AJAX Difference between IIS and Apache?

2008-06-24 Thread patrick davey
works on APACHE & PHP.. very odd. On Jun 24, 3:18 pm, Bil Corry <[EMAIL PROTECTED]> wrote: > patrick davey wrote on 6/23/2008 5:52 PM: > > >            data: 'requestID=350&elementID=' + > >                            'ajax' + '&up

[jQuery] AJAX Difference between IIS and Apache?

2008-06-23 Thread patrick davey
ot done in a way IIS can interpret? Anyway - looks like I will be passing a map or using a new Edit In Place (any suggestions). You can see the code working on APACHE at http://www.snowpool.org.nz/test/test.htm - I cannot link to the ASP code... however the HTML file is basically identical - and both results pages just print out the contents of the form.. Any ideas? :) Thanks! Patrick

[jQuery] Re: .get(0) fails in 1.2.5

2008-05-21 Thread Patrick McElhaney
On Wed, May 21, 2008 at 1:53 PM, jstrebel <[EMAIL PROTECTED]> wrote: > When using jquery 1.2.1 ... Have you tried 1.2.3? Does it to work if you replace that line with a direct DOM call? var task = document.getElementById("task_"+checklist_id+"_"+task_id) P

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-06 Thread patrick davey
le to choose 'Dublin' and then only have rows which have dublin as a city returned. And then... I want to be able to continue sorting and paging through my ajax'd data! Fun eh ;) When I get something working I'll try to post it up somewhere... as long as I can make it readable

[jQuery] TableSorter + Filtering + Ajax

2008-05-05 Thread patrick davey
ts using JSON/AJAX and Jquery? :) Thanks, Patrick

[jQuery] Remote JSON Ajax call - error function not called

2008-04-15 Thread patrick davey
ad URL... but that *does not happen*. No function is called. If, however, you change the URL to be a local address (but still incorrect) then the error function *is* called. I'm sure I'm missing something fundamental!! But is there a way to call error functions for remote urls? And if so how! Thanks, Patrick

[jQuery] Remote JSON Ajax call - error function not called

2008-04-15 Thread Patrick Davey
error for the bad URL... but that *does not happen*. No function is called. If, however, you change the URL to be a local address (but still incorrect) then the error function *is* called. I'm sure I'm missing something fundamental!! But is there a way to call error functions for remote urls? And if so how! Thanks, Patrick

[jQuery] Checkbox click event fires more than once

2008-03-07 Thread Patrick J Collins
e once. I would graciously appreciate any suggestions you may have. Regards Patrick Code snippit : $(function() { $.ajax({ type: "GET", url: "./?get=Lignes", dataType: "xml", cache: false, success: function(xml){ $(xml).find("

[jQuery] Re: Featured Content or Cnet Carousel

2007-05-25 Thread Patrick Hall
*bump* Here's an interesting carousel-style widget, implemented with Prototype: http://www.missingmethod.com/projects/glider.html I'm with Alex, the widget linked in the OP doesn't really seem "carouselish" to me -- the missingmethod example does. Most importantly, imho, it allows arbitrary HT

[jQuery] .keyup + .html

2007-05-04 Thread Patrick Hall
Helloes, I have a little thingie that clones text from an input into a div: http://ruphus.com/code/jquery/clonetype/clonetype.html Seems to work fine, except when I try to backspace away the entire text in the input -- the final letter refuses to vanish from the div, even though it's not in the

[jQuery] Re: Jquery: New app and this article

2007-05-04 Thread Patrick Hall
Hi John and folks, On the topic of spreading the word, what about some sort of job board on the jQuery site? Seems to me that it might be a good thing for the community -- especially if there was some option for clients to allow code that they sponsor to be released under a reusable license. Jus

[jQuery] Re: vertical fisheye menu? OSX dock or tsunami

2007-04-24 Thread Patrick Hall
On Apr 24, 1:25 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > you are resizing the tag. > and that ain't good. use twice as many prev's to jump over the br's Thanks Jake. I tried it without the s and it does what's expected: http://ruphus.com/code/jquery/fisheye/fishimg.html I'm glad I dug into this

[jQuery] Re: vertical fisheye menu? OSX dock or tsunami

2007-04-24 Thread Patrick Hall
On Apr 23, 7:21 pm, Sapphire <[EMAIL PROTECTED]> wrote: > Very nice. Will it work for images? Thanks =] http://ruphus.com/code/jquery/fishimg.html I'm not sure why it doesn't work the same way there; only $(this) seems to be getting resized. Paging brainiacs! Cleanup on aisle 12! -p@

[jQuery] Re: vertical fisheye menu? OSX dock or tsunami

2007-04-23 Thread Patrick Hall
Here's my crummy attempt: http://ruphus.com/code/jquery/fisheye.html -p@