David Duymelinck schrieb:
> It's a bit scary to see it like that. If you are going to mix two
> programming languages try to seperate them visualy. It will save you
> much debugging time if you look at that same code months later.
>
> $('#menu-layer0').tabs({on: });
Ah, yes correct.
This is
Hello,
I'm new to jQuery...thanks for a great product!!
One thing I like to understand when choosing a js library is various
performance aspects.
Here is a good article regarding prototype performance:
http://www.cybergrain.com/archives/2005/12/ajax_perf_the_a.html
The only solid performance pro
How would I handle this problem if there are more menu's going up and
down. If I add a few menu's to the example then they interfere with the
navtime out. It results that soms don't go down others go up and down...
I timeout needs needs to be put in some sort of function but how.
I think if I un
That looks quite nice. Delicioused away for later use...
I'm sure I'm missing something, but why do you need the hardcoded baseurl?
Cheers,
Andrea
On 10/15/06, David <[EMAIL PROTECTED]> wrote:
> >
> > Texrep is a plugin to dynamically replace text by images using a font
> > file. It's based on
Hey All,
I am pretty new to jQuery (though used scr+proto much).
I was wondering how to solve such a task:
There are several DIVs, like pictures. User uses the mouse to select
some of the pictures and then drags them to trashcan. All parts I can
do except how to make the selected pictures dragga
Here's a little snippet which can help... it takes any PHP variable
and translates it into its JavaScript equivalent. Taken from Drupal
(GPL license). The HTML-safe embedding of strings is there to avoid
problems when returning JSON through iframes, you probably won't need
that.
Also to av
Andrea Ca'Zorzi schreef:
> I'm sure I'm missing something, but why do you need the hardcoded baseurl?
>
>
from experience i know things can go wrong if you don't hard code your
baseurls that why i added that.
you could use baseurl = '/'; if you want to or just strip that part of
the code :)
Hi,
i've tested it in FF 1.5.0.7 and Konqueror 3.4.0 on Linux and it works
without any problems.
Indigo wrote:
>
>
> Folks:
>
> I'm looking at using the jCarousel plugin on my site, but just viewing
> the examples on the author's site fails in FF(Linux) and Konqueror.
>
> In FF(1.5.0.4), t
Anyone know where I may download the jq-corner.js file written by D.
Methvin. It's not available on the author's site.
TIA
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I have it working fine in ff 2.0 mac, and a in Safari
On 10/16/06, Jan Sorgalla <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> i've tested it in FF 1.5.0.7 and Konqueror 3.4.0 on Linux and it works
> without any problems.
>
>
> Indigo wrote:
> >
> >
> > Folks:
> >
> > I'm looking at using the jCarousel pl
http://methvin.com/jquery/jq-corner.js-mikeyOn 10/16/06, Indigo <
[EMAIL PROTECTED]> wrote:Anyone know where I may download the jq-corner.js
file written by D.Methvin. It's not available on the author's site.TIA___jQuery mailing listdiscuss@jquery.com
h
Indigo schreef:
> Anyone know where I may download the jq-corner.js file written by D.
> Methvin. It's not available on the author's site.
>
> TIA
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
Or simple use wget
Well, selecting is already shown in selectables
(http://interface.eyecon.ro/demos/select.html), so I'm not going to go into
that, but you could group these elements by giving them all a related class
from which to drag.
For example, here are 5 different elements:
blah
blagh
blargh
blahfeeb
blahf
Is there a way to escape special character is selector?
e.g.
say i want to select all id inputs, I should use something like
$("[EMAIL PROTECTED]")
but obviously I need to escape the ']' character.
--
Best Regards,
Jacky
http://jacky.seezone.net
jQuery selectors don't support escaping characters. You would be better off adding a class to those inputs (e.g. "idinput") and selecting by that.BlairOn 10/16/06,
Jacky <[EMAIL PROTECTED]> wrote:Is there a way to escape special character is selector?
e.g.
say i want to select all id inputs, I sho
oops, my apologies for not providing a subject to this post. I'm
usually a good maillist person ;-). ke han
On Oct 16, 2006, at 3:19 PM, ke han wrote:
> Hello,
> I'm new to jQuery...thanks for a great product!!
> One thing I like to understand when choosing a js library is various
> performa
On Oct 16, 2006, at 3:01 AM, John Resig wrote:
>> First, I don't see how just splitting things up into optional plug-
>> ins really helps the problem. At most, it means that in some rare
>> cases, collision will be less frequent. But the majority of people
>> will not want to use jQuery without d
I have a list of draggable "article" divs inside a "container" div.
The container div is styled with an "overflow: auto" to allow users to
scroll up and down and view the "articles" within.
When I drag an article, I've enabled the "revert" property so that it snaps
back if not dropped on an appro
Is it possible to download a nightly snapshot of jquery somewhere? I
would like to test recent bugfixes. Especially those affecting $
(document).load(). Although using $(window).load() instead works fine
with FF and Safari, I still have problems with Windows IE.
--
Mika Tuupola
http://www.a
I wonder...
Is this REALLY something that needs a plugin? It's obviously done already,
but just do it in Photoshop or the Gimp or something. You're already loading
the image, why waste browser processing time/speed with something that could
be static.
My opinion is that if it doesn't increase fun
Microtoby schrieb:
> I'm find a bug in jQuery's Cookie plugIn.
>
> When you write more than 2 cookies, from the second, you could not read
> it value correctly.
>
> It's because read document.cookie is "cookie1=val1; cookie2=val2",
> behind ";", there is a blank. So the source code line 72 ca
Steven Wittens wrote:
[snip]
> Also to avoid having to use templated JS, we have a transparent
> mechanism for passing data from PHP to JS. All you do is call an API
> drupal_add_js(), which aggregates all variables that it is passed,
> and automatically inserts them as a single inline script
Le 16 oct. 06 à 15:12, Andy Matthews a écrit :
> My opinion is that if it doesn't increase functionality or do
> something for
> you that would take forever manually, why bother with a plugin?
just because most CMS user can't do it themselves and with a
portfolio surch effects should be int
Ralf,
I used this version:
http://www.dyve.net/jquery/?autocomplete
and it was VERY easy to implement.
If you don't want to build it yourself, take a peak at this version.
Rey...
stargate wrote:
> Hello @ all,
>
> first i wanna thank you guys from jquery for the absolutly definitly
> amazi
Hi Dylan,
It works with JQuery 1.0.2. Thats what I used when I implemented your
autocomplete plugin. It also functions in FF 1.5.0.7 as well as IE 7 RC1
Rey
Dylan Verheul wrote:
> If you run into problem, I suggest you start out with the example code
> (which works), replace the dummy php file
These numbers have already been invalidated here:
http://0nz.spreadsheets.google.com/ccc?id=o04790098234894520511.5178455417629729589.12842749026303919978.6392792159332293656
One of people that commented on Claudio's posting ran the tests himself
and got very different results.
Dean Edwards als
I need to add/remove and fire custom events.
As an intro example, I have a div with id "TabManager". TabManager
has inside a ul and li's much like others create tabs these days. I
want TabManager to be the central object which other components
listen on for events like "tab_changed('new_t
The best question for me would be:
"How much does it cost to do it programmatically?"
How long for the download time of any needed
script...how long for the processing to occur...
if it's minimal, then I would much rather do it on-the-fly
than take time to process each photo or graphic manually
Well, it almost takes no time at all : ) and it would take a lot of
time to reflect 10.000 images :P
I think its worth the time, but this plugin might not be necessary if
you only have a couple of static images
Andy Matthews wrote:
I wonder...
Is this REALLY something that needs a plu
Hey Rick! Glad to see another CF'er over here. Welcome to JQuery my man. :o)
Rey...
Rick Faircloth wrote:
> The best question for me would be:
>
> "How much does it cost to do it programmatically?"
>
> How long for the download time of any needed
> script...how long for the processing to occur.
You could try manually re-setting the overflow on revert.
It would be a temporary solution.
nezza wrote:
>
> I have a list of draggable "article" divs inside a "container" div.
> The container div is styled with an "overflow: auto" to allow users to
> scroll up and down and view the "articles"
For those without a Google login, you can see the results here;
http://www.intoajax.com/pvjcompare.jpg
I also posted this in the Ajaxian entry and Claudio's blog to give
people an alternative view.
Rey...
Rey Bango wrote:
> These numbers have already been invalidated here:
>
> http://0nz.spre
Thanks Dan,
Unfortunately I've tried:
$("#article_container").css("overflow", "auto");
But it doesn't work.
--
View this message in context:
http://www.nabble.com/Interface-Draggable-problem-tf2451893.html#a6834876
Sent from the JQuery mailing list archive at Nabble.com.
__
On 16/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
> Microtoby schrieb:
> > I'm find a bug in jQuery's Cookie plugIn.
> >
> > When you write more than 2 cookies, from the second, you could not read
> > it value correctly.
> >
> > It's because read document.cookie is "cookie1=val1; cookie2=val2
So our points of optimization should be on plain tag selectors, and expressions that return no elements.-- YehudaOn 10/16/06, Rey Bango <
[EMAIL PROTECTED]> wrote:For those without a Google login, you can see the results here;
http://www.intoajax.com/pvjcompare.jpgI also posted this in the Ajaxian
> Shouldn't that be:
>
> jQuery.trim(cookies[i])
aaargh, you got me. fallen back into the old habit...
fixed that. thanks!
--- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
cookie deletion does not work with more than one cookie, will fix that...
-- Klaus
Klaus Hartl schrieb:
>
> Microtoby schrieb:
>> I'm find a bug in jQuery's Cookie plugIn.
>>
>> When you write more than 2 cookies, from the second, you could not read
>> it value correctly.
>>
>> It's because
Hey, longtime lurker first time poster here. I have a question about
the Interfact elements for jQuery. I need to make some sortables
confined to one column, yet let the rest be passed back and forth. In
this example, "Company" is the item I would like to make sortable only
within the right side. A
Well, I noticed that in some of the highlightFade instances you
specified and end parameter, and my plug-in doesn't know that you want
that style removed afterwards because that could lead to a bumpy colour
transition. Add the final parameter set to an empty string and see if
the highlightFade
I think that there's a simpler answer to this.
If we're going to overhaul the API that much, we need to do three things.
1. Talk it out thoroughly, and make sure we get it "right" this time.
2. Publish a new full release of jQuery (2.0).
3. Put all of the "breaking changes" at the top of the READ
On 16/10/06, Brian Miller <[EMAIL PROTECTED]> wrote:
> I think that there's a simpler answer to this.
>
> If we're going to overhaul the API that much, we need to do three things.
>
> 1. Talk it out thoroughly, and make sure we get it "right" this time.
> 2. Publish a new full release of jQuery (2.
I could do without namespaces if the build system provided warnings
for collisions instead of silently overwriting.
This way I could add third party and my own plugins without needing
to search the code by hand for conflicts.
I agree that keeping the verbs simple in the API and allowing
behav
On 10/16/06, Sam Collett <[EMAIL PROTECTED]> wrote:
> Not too keen on namespacing (is it really required? will make the code
> more verbose and chaining could become confusing),
Namespacing will break readability.
Might as well make John put on some waterski's and find him a shark.
__
And, as with a similar question last week, those name values are just
plain invalid:
http://www.w3.org/TR/html4/types.html#type-name
Blair McKenzie wrote:
> jQuery selectors don't support escaping characters. You would be better
> off adding a class to those inputs (e.g. "idinput") and select
Keep in mind that the namespacing that I'm suggesting is solely for
readability, and should only be used where it makes things more readable.
You're right that it might put some bumps into the chaining, but I think
that making the calls non-colliding and more natural-language-y outweighs
that.
e.
Jörn Zaefferer wrote:
> If we go back to the roots and stick to bind(), unbind(), trigger(),
> attr() and css(), we could remove all those events and html and css
> attribute shortcut methods, greatly reducing the number of methods. By
> adding those methods, or rather only parts of it, like cli
> e.g.:
> $( '.b0rp' ).filter( '#blap' ).on.click( function() { $( '#foo'
> ).ajax.load( ... ) } );
Why no just do .onclick() and .ajaxLoad() - like what was proposed?
Not only is it fundamentally easier to write and understand, but it's
easier to implement too.
The feasibility of 'namespacing' h
Those name are generated by struts for binding collection. Just can't
avoid it. I will assign a class name for access instead.
On 10/17/06, Su <[EMAIL PROTECTED]> wrote:
> And, as with a similar question last week, those name values are just
> plain invalid:
>
> http://www.w3.org/TR/html4/types.ht
Hi,
> And for those lazy sods out there how about:
>
> $.quickMethods({
> bind: ['click'],
> attr: ['val','href','title'],
> css: ['display','height','width']
> });
That is a really great idea :-) I think for something so usefull we should
chose a shorter Function-name:
$.fn.
Christof -
What Mark is proposing is quite different from what you're proposing.
His function physically creates the helper methods of .click(),
.val(), .href(), .title(), etc.
On a whole, I like the idea - in that it'll make writing the events
plugin painfully easy - but at the same time it'll i
$.quickMethods({
bind: ['click'],
attr: ['val','href','title'],
css: ['display','height','width']
});
is sexy. similar to the perl use with parameters.
I can also envision $.quickMethods('all') and even
$.quickMethods(['all','log'])
(for the juniors among us -- me!)
what abo
Hi,
I would really like if we would maintain the helper methods (even in a
different format like on.click of onclick of on-click. I really don't
care if I have to write ajaxStart or ajax.start or ajax-start, but
namespacing would be nice...).
Abdul
John Resig wrote:
> Christof -
>
> What Mark
> So our points of optimization should be on plain tag selectors,
> and expressions that return no elements.
> -- Yehuda
Let's not get too carried away based on this single benchmark. It is only
checking a few things and I am not convinced they representative of
bottlenecks in real code. For ex
> What Mark is proposing is quite different from what
> you're proposing. His function physically creates the
> helper methods of .click(), .val(), .href(), .title(), etc.
>
> On a whole, I like the idea - in that it'll make writing the
> events plugin painfully easy - but at the same time it'll
Should keep it simple. changing .load to .ajaxLoad is even unneccessary.
>> e.g.:
>> $( '.b0rp' ).filter( '#blap' ).on.click( function() { $( '#foo'
>> ).ajax.load( ... ) } );
>>
>
> Why no just do .onclick() and .ajaxLoad() - like what was proposed?
> Not only is it fundamentally easier to w
Hi there
first a great hello to all the people discussing here, I am the new one
:-) New at both this list and jQuery itself. So here is my first
question, I hope you can help me with this.
I am trying to create a rudimentary contact form and am using this code
at the moment:
$('form#contact
> Should keep it simple. changing .load to .ajaxLoad is
> even unneccessary.
None of this is absolutely necessary. jQuery works as-is, and the changes
may break existing code, so the easiest path is to leave everything alone.
The issue is whether we can make changes to the jQuery API that make it
I suggest renaming $.load (the ajax load) to $.update and deprecating
$.post and $.get...
-- Klaus
Jörn Zaefferer schrieb:
> Hi folks,
>
> I'd like to discuss the jQuery API in general and the current event API
> in detail:
>
> The main problem is the ambiguity of events, unevents and DOM
:( I cant wait to get my mac, TextMate seems like the only decent text editor out there right now...On 10/15/06, Karl Swedberg <
[EMAIL PROTECTED]> wrote:On Oct 15, 2006, at 5:55 PM, Matt Stith wrote:
> try out http://aptana.com>> no php support yet, but its a start.>> i use jEdit, http://jedit.org
Mark Gibson schrieb:
> While we're on the API:
> I really don't like the method name .css(), as its actual
> operation is to change a style property, and doesn't really
> have much directly to do with Cascading Style Sheets.
> Could it not be .style() instead?
Hi Mark,
I don't agree. Styles defin
You might wanna put alert("Testing!") or something on the first line of the callback to see if the callback is being called at all. I dont see why it wouldnt, but it might be a problem with your $("table#kontaktformular") line.
On 10/16/06, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
Hi therefi
Arne-Kolja Bachstein schrieb:
> Hi there
>
> first a great hello to all the people discussing here, I am the new one
> :-) New at both this list and jQuery itself. So here is my first
> question, I hope you can help me with this.
>
> I am trying to create a rudimentary contact form and am using t
Hi folks,
Rey Bango turned me on to jQuery, and I'm trying to use it right now
pretty much for the first time. I'm trying to make an ajax call to my
ColdFusion server, and I'm a little confused by my results. Rey gave me
a bit of sample code on a different list. Regardless of what my
intended
Okay... I'm an idiot. so the data gets assigned to the
form scope because it's using post. duh. okay. I'm still not getting my
expected results, but I'll work on that. Thanks.
Chris
Christopher Jordan wrote:
Hi folks,
Rey Bango turned me on to jQuery, and I'm trying to use it right n
Why do you want to use window or document load?BlairOn 10/16/06, Mika Tuupola <[EMAIL PROTECTED]
> wrote:Is it possible to download a nightly snapshot of jquery somewhere? I
would like to test recent bugfixes. Especially those affecting $(document).load(). Although using $(window).load() instead wo
Chris,
If the error that you're getting is in the CF logs, then its because
you're using the wrong scope. Remember, you're Ajax call is doing a
"post" so use the "form" scope.
Rey
Christopher Jordan wrote:
> Hi folks,
>
> Rey Bango turned me on to jQuery, and I'm trying to use it right now
>
LOL! :o)
I just replied to you with the same answer.
Rey
Christopher Jordan wrote:
> Okay... I'm an idiot. so the data gets assigned to the form scope
> because it's using post. duh. okay. I'm still not getting my expected
> results, but I'll work on that. Thanks.
>
> Chris
>
> Christopher J
Here's an idea for the future:
Multiple/alternative selector schemes (ie. CSS3, XPath1, XPath2)
and compilation of selectors into native Javascript.
jQuery. = {
select: function(query, context, params) {
var fn;
if (typeof query == 'string') {
fn = (this.cache[query] === unde
Thanks
On Monday 16 October 2006 04:28, Mike DeFreitas wrote:
> http://methvin.com/jquery/jq-corner.js
>
> -mikey
>
> On 10/16/06, Indigo <[EMAIL PROTECTED]> wrote:
> > Anyone know where I may download the jq-corner.js file written by
> > D. Methvin. It's not available on the author's site.
> >
>
I'm a big, big fan of Cody's Thickbox script. I'm using it for a web app
I've been building, and it's fantastic.
I wanted/needed a script that worked similarly for custom dialog boxes
("OK/Cancel"). Since Thickbox was already doing most of the heavy
lifting, I wrote up some functions that tap
I actually really really like that! That's definitely a script that I
could begin using today. Would even work great for forms too.
Excellent job!
--John
On 10/16/06, Bryan Buchs <[EMAIL PROTECTED]> wrote:
> I'm a big, big fan of Cody's Thickbox script. I'm using it for a web app
> I've been bu
Nice!On 10/17/06, Bryan Buchs <[EMAIL PROTECTED]> wrote:
I'm a big, big fan of Cody's Thickbox script. I'm using it for a web app I've been building, and it's fantastic.I wanted/needed a script that worked similarly for custom dialog boxes("OK/Cancel"). Since Thickbox was already doing most of the
Hi there, JQuery does a great job of queuing effects on the same element(s)
but I'm not sure how to queue effects on a set of many different ones.
What is the best way to run the same fx on many items in sequence, one after
the other?
Using callbacks is fine for a couple of effects but tedious i
Hi folks,
Rey Bango turned me on to jQuery, and I'm trying to use it right now
pretty much for the first time. I'm trying to make an ajax call to my
ColdFusion server. The upshot is that I'd like the server to build a
row of a table and return the row to the client. Then I was hoping that
I co
> Here's an idea for the future:
>
> Multiple/alternative selector schemes (ie. CSS3, XPath1, XPath2)
> and compilation of selectors into native Javascript.
The thread about benchmarks got me thinking about compilation and caching of
selectors too. It could be a big win for benchmarks where they u
Use the SVN version if you want to do that sort of thing.
http://jquery.com/src/ - Shows you the SVN access address.
Mika Tuupola wrote:
>
>
> Is it possible to download a nightly snapshot of jquery somewhere? I
> would like to test recent bugfixes. Especially those affecting $
> (documen
[Original message ended up in the "API Discussion" thread - sorry!]
I'm a big, big fan of Cody's Thickbox script. I'm using it for a web app
I've been building, and it's fantastic.
I wanted/needed a script that worked similarly for custom dialog boxes
("OK/Cancel"). Since Thickbox was already d
I was trying to show a developer friend the thread about the API Discussion. The online archives make it difficult to follow the thread from start to finish. I think this mailing list is getting pretty popular and a forum would make discussions much more targeted. Many forums have email hooks bu
On 2006.10.16, Glen Lipka <[EMAIL PROTECTED]> wrote:
> I think this is John's call ultimately, but what do you all think?
> Would a more robust group site be helpful or get in the way?
It would get in the way. Use a real mail client that supports
threading, already. It's 2006, you know.
Now, if
This has been discussed before, and at first i thought a forum was the way to go, but someone showed me the best of both worlds: http://www.nabble.com/JQuery-f15494.html
On 10/16/06, Glen Lipka <[EMAIL PROTECTED]> wrote:
I was trying to show a developer friend the thread about the API Discussion.
This is already in development. We're building an expandable set of
communities that will double as forums and mailing lists - all using
Drupal. If all goes well, it should be done this month.
--John
On 10/16/06, Glen Lipka <[EMAIL PROTECTED]> wrote:
> I was trying to show a developer friend the
p, where do you find the motivation to do all this for the jquery
community...
John Resig wrote:
> This is already in development. We're building an expandable set of
> communities that will double as forums and mailing lists - all using
> Drupal. If all goes well, it should be done this mont
> The thread about benchmarks got me thinking about compilation and caching of
> selectors too. It could be a big win for benchmarks where they use the same
> selector in a loop 1000 times! :-)
The problem with caching is that it's unable to handle situations
where the DOM changes in-between, unle
Hi at all,
i will Thickbox use in a Filemananger (CMS), all works fine. The Problem is
that, it cane various Files stored. *.xls *.doc or others.
When click of this types is PopUp open and Downloaddialog is open, can i say
is this types than no PopUP!??
With *.zip all to late ;) then freeze Firef
Hi,
after making tabs truly bookmarkable the back button still did not work.
I started to fix that and the back/forward button now works in: Firefox,
Safari, Opera.
In Safari I implemented a pretty straight forward solution based on the
length of the history object unlike other pretty extensiv
John Resig wrote:
>
> This is already in development. We're building an expandable set of
> communities that will double as forums and mailing lists - all using
> Drupal. If all goes well, it should be done this month.
>
> --John
>
Ah, great News. Give a chance of german Forum? My english is n
Eh I was hoping for some more enthusiasm over this one as it seems to
come up often ... oh well. I didn't make it as a typical diff style
patch ... just need to include the src (select.js) in your project to
make this work and test.
--
Brandon Aaron
On 10/15/06, Brandon Aaron <[EMAIL PROTECTED]>
Klaus Hartl schrieb:
> cookie deletion does not work with more than one cookie, will fix that...
False alarm, forget that - I just screwed my test page. Should put up
automatic tests in there if possible.
Jörn or John, where can I get some information about the test suite used
in jQuery?
-- K
I’ve been using drupal for a bit now I thought that I would add some ajax code
to my pages
The idea is that jquery is used to generate a list of content(nodes) from
category link at the side, that in turn the user selects to add the interest
content in the main page.
Everything appeared to b
You've commented out // },function(){. Is this deliberate?BlairOn 10/17/06, Martin Somers <[EMAIL PROTECTED]
> wrote:I've been using drupal for a bit now I thought that I would add some ajax code to my pages
The idea is that jquery is used to generate a list of content(nodes) from category link at
Thanks John for the update. Looking forward to the launch.GlenPS. Nabble looks cool Matt!On 10/16/06, Matt Stith <
[EMAIL PROTECTED]> wrote:This has been discussed before, and at first i thought a forum was the way to go, but someone showed me the best of both worlds:
http://www.nabble.com/JQuer
I need to make a dynamic call to jquery
I tried the following
var call = 'hide';
$('#div').call()
but it doesn't work, Any way you can do this in javascript?
--
Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice
___
jQuery ma
I'm just guessing, but possibly $("#div")[call]()BlairOn 10/17/06, Richard Thomas <[EMAIL PROTECTED]
> wrote:I need to make a dynamic call to jqueryI tried the following
var call = 'hide';$('#div').call()but it doesn't work, Any way you can do this in _javascript_?--Richard Thomas - CEOCyberlot Tec
On 10/16/06, Blair McKenzie <[EMAIL PROTECTED]> wrote:
$("#div")[call]()Blair's right.$("#div").call()tries to call the "call" method on $, but since there is no "call" method (that I know of), it's not working.
___
jQuery mailing list
discuss@jquery.com
On Mon, 16 Oct 2006, Aaron Heimlich wrote:
> On 10/16/06, Blair McKenzie <[EMAIL PROTECTED]> wrote:
>>
>> $("#div")[call]()
>
> Blair's right.
>
> $("#div").call()
>
> tries to call the "call" method on $, but since there is no "call" method
> (that I know of), it's not working.
Actually, there
> > $("#div").call()
> >
> > tries to call the "call" method on $, but since there is no "call"
> > method (that I know of), it's not working.
>
> Actually, there is:
>
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Ob
jects:Function:call
>
> Using call or apply is ano
On Mon, 16 Oct 2006, Michael Geary wrote:
> The return value from $() isn't a function and doesn't have a call method.
>
> In any case, Blair's code is the way to do it:
>
> $("#div")[call]();
Right - I should have been more clear. To use call/apply, you'd have to do
it like this:
var obj = $('
Thanks all for the help
http://www.cyberlot.net/demos/phpjquery/
Is the result of what I am playing with, a sort of integration between
jquery and php, although my javascript code is not up to par so it might
be a little messy
Michael Geary wrote:
>>> $("#div").call()
>>>
>>> tries to call the
Klaus Hartl schrieb:
> Welcome Arne!
>
> I think you have to move the "return false" out of the callback function
> to switch off the forms default action. The way it is now both form
> submission and $.post would interfere.
>
>
> $('#contactForm').submit(function(){
> $.post('conta
As far as I'm aware, $.post does not automatically send input values from the form. To add key-value pairs use the second parameter:$.post('contact.send.php', { key1:value1, key2:value2, ... , keyn:valuen }, function(txt) {} );
You can also look at the form plugin which provides a way to automatica
1 - 100 of 116 matches
Mail list logo