[jQuery] Re: Ajax to return more values

2008-12-02 Thread me-and-jQuery
JSON library, then you'd just pass in whatever > language construct you've got and let the library encode for you. > > andy > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of me-and-jQuery > Sent: Monday, De

[jQuery] Ajax to return more values

2008-12-01 Thread me-and-jQuery
st be careful with a shape (" and }). Second option is having a regex to fetch first two values and all remaining is a third value. And what do you think is the best solution here? Happy December, me-and-jQuery

[jQuery] Re: How do I remove a plugin melodramatically

2008-10-10 Thread me-and-jQuery
One option is to use unbind on the event that this plugin uses. $. ("element").unbind("click"); Anyone has any other solution? On Oct 10, 9:21 pm, Dan M <[EMAIL PROTECTED]> wrote: > All, > > If I were to add a plugin to an element on a page, say clueTip. How > could I remove the plugin from the

[jQuery] Re: Unable to use jquery with Firefox

2008-10-05 Thread me-and-jQuery
Hm... Everything seems to be OK (except break lines in the code). Try this one, it should work. $(document).ready(function() { $("a").click(function() { alert("Hello world!"); }); }); Link On Oct 5, 8:42 am, samr <[EMAIL

[jQuery] Re: Possible to set metadata parameter dynamically?

2008-10-04 Thread me-and-jQuery
Well, I meant with attr("data","{ id : 6}")... my mistake. On Oct 4, 10:24 pm, me-and-jQuery <[EMAIL PROTECTED]> wrote: > So is it possible to change the value of metadata parameter? Lets say > we have . > > Or is the only way to change it with attr(&

[jQuery] Possible to set metadata parameter dynamically?

2008-10-04 Thread me-and-jQuery
So is it possible to change the value of metadata parameter? Lets say we have . Or is the only way to change it with attr("id","6")? I have more parameters for element, so this is not an elegant solution. Thanks.

[jQuery] Re: Metadata parameter as selector

2008-09-29 Thread me-and-jQuery
am, me-and-jQuery <[EMAIL PROTECTED]> wrote: > Thanks ricardo, this one is tricky but it works. :) > > Amardeep, I was talking about querying parameters defined with > metadata plugin, not classic DOM id. > > On Sep 29, 10:44 pm, ricardobeat <[EMAIL PROTECTED]> wrote: &

[jQuery] Re: Metadata parameter as selector

2008-09-29 Thread me-and-jQuery
ta*=id:4]') > > http://docs.jquery.com/Selectors > > - ricardo > > On Sep 29, 2:23 pm, me-and-jQuery <[EMAIL PROTECTED]> wrote: > > > I am searching the web and documentation and still can't find a > > working solution. > > > I have a table which

[jQuery] Metadata parameter as selector

2008-09-29 Thread me-and-jQuery
I am searching the web and documentation and still can't find a working solution. I have a table which rows has also id with metadata, for example And now I want to select row with id 4. I was trying many ways but no success for now. For example: $.metadata.setType("attr", "data") $("table tr.

[jQuery] Re: Multiple AJAX calls problem

2008-09-02 Thread me-and-jQuery
led > "these three plugins". Note that each word in that link is a separate > link. > > On Sep 1, 4:37 pm, me-and-jQuery <[EMAIL PROTECTED]> wrote: > > > Hi Brad. Here I can see the same hint as micah was talking about > > (unbind and then bind). Or do you have any

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread me-and-jQuery
Hi Brad. Here I can see the same hint as micah was talking about (unbind and then bind). Or do you have any other solution in mind? Thanks. On Aug 31, 2:51 am, Brad <[EMAIL PROTECTED]> wrote: > Have a look at the article > athttp://www.learningjquery.com/2008/05/working-with-events-part-2.

[jQuery] Re: Multiple AJAX calls problem

2008-08-30 Thread me-and-jQuery
: > > var kd = function(event) { > alert(event.keyCode); > > } > > $().unbind('keydown', kd).keydown(kd); > > it's a bit quick and dirty, but it works. > > -micah > > On Aug 29, 9:12 am, me-and-jQuery <[EMAIL PROTECTED]> wro

[jQuery] Multiple AJAX calls problem

2008-08-29 Thread me-and-jQuery
Hello. So I have a problem that when I get jQuery code in ajax response and you click few times to activate ajax call, there are multiple instances of same code. Lets see the example with keydown. FILE 1: $(document).ready( function() { $("#my_div").click(function

[jQuery] Re: tablesorter.js default sort

2008-08-26 Thread me-and-jQuery
Hello. This is exactly what I also need (for specific row specific first-click order). But I found simple turnaround with writing own parser which add negative sign (-) at the begining (I know that css still shows wrong order, but ok, the main problem is solved with that). But I would love if we

[jQuery] Re: Minimizing jQuery library

2008-08-23 Thread me-and-jQuery
and ends - it's not exactly > on a line break. You can check out the code from svn and get the individual > files that go into jquery-1.2.6.js to see what's what. > > Once you have the code commented out that you aren't using, run it through > Packer or JSMin, then GZip it

[jQuery] Re: Minimizing jQuery library

2008-08-23 Thread me-and-jQuery
Well, in my case, I need JSON call not classic ajax. I know other functionalities are simple in JS, but JSON call and sliding is a must. Max file can be 5-10 kb from my calculations. What about removing functions from jQuery library which I don't need and have no effect on "engine" and needed fun

[jQuery] Minimizing jQuery library

2008-08-22 Thread me-and-jQuery
I would like to minimize the size of library file to minimum with my specific wanted functionalities. All what I need is selector for ID, html function, ajax call, element toggling and sliding (slideDown). What size of library do you think could be the minimum in my case (minified version). I ha