The thing about chaining is that you need to make sure any plugin/
function returns a jQuery object , so that any chained calls have
something to work with.
Your plugin doesn't actually return anything for the .click() function
to use.
As a quick (and dirty) modification - added a return:
Patrick Hall wrote:
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
Hi folks!
I'm glad to announce validation plugin beta 3. A lot of feedback from
users went into this release, in the form of several bug fixes and new
features. Thanks everyone who participated somehow!
As usual, all interesting stuff like downloads, examples and
documentation are on the
Hi,
Please have a look at my sample at http://hosting-saar.de/jquerytest/index.html
The situation is:
I have 2 sortables, one is the pool which contains all available
icons the other should be an ui where you can place icons from the
pool.
The problem is: There are more icons in the pool than
I have next code:
jQuery.blockUI();
jQuery(iframe id='applicationIframe' onload='' src='+url+'
marginwidth='1' marginheight='1' height='100%' width='100%'
scrolling='no' border='0' frameborder='0' /
).appendTo(#aplicacion);
jQuery.frameReady(function(){ var
Hi All,
Anyone know if there's a jquery plugin that will do something like this?
If not, anyone working on one?
http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-javascript/
TIA,
Jack
Jack,
Anyone know if there's a jquery plugin that will do something like this?
If not, anyone working on one?
http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-
javascript/
The jQuery Interface project shows off a demo exactly like this code, but
it's faster and smoother
hi,
I have a question about handle cross-domain JSON data in Form Plugin.
I use the sample of JSON at
http://www.malsup.com/jquery/form/#code-samples
When I place the client Form and Server side code in different domain,
it just show the raw JSON data.
form id=jsonForm
Hey all,
I'm working on a simplistic widget framework to better standardize
how widgets work (if only for those that I'm writing) - I'd like to
share it to hopefully generate some ideas with it before I get too
involved
The goals behind it (thus far) are to:
* wrap widgets in such a way that
Unfortunately that's a limitation of XMLHttpRequest - for primarily
security reasons, all browsers disable cross-domain ajax (in
general)
There are a couple solutions, one of which is to proxy the request
through the local server (have it contact your other domain, rather
than the browser)
Rob Desbois wrote:
Just to extend on what Su said - you would never need a class or even ID
for the html tag because there *is* only one (or should be anyway!)
So, to target it with a CSS rule you just need:
html { /* ... */ }
But as he says, why would you need to target html not body?
Glen Lipka wrote:
div.foo.bar {} works perfectly in IE6, IE7, and FF.
No, unfortunately not. IE 6 does not support multiple class selectors.
This won't be noticed in some cases, because IE treats the
aforementioned selector like
div.bar {}
-- Klaus
I will try proxy.
Thanks,Ian.
On May 5, 11:43 am, Ian 'Nevir' MacLeod [EMAIL PROTECTED] wrote:
Unfortunately that's a limitation of XMLHttpRequest - for primarily
security reasons, all browsers disable cross-domain ajax (in
general)
There are a couple solutions, one of which is to proxy
On 5/5/07, Glen Lipka [EMAIL PROTECTED] wrote:
Unfortunately it seems that id is invalid as well:
http://www.w3.org/TR/html401/struct/global.html#h-7.3
-- Klaus
So I am back to where I started. Shouldn't put anything on the HTML tag
and there is no AND operation in CSS.
Seems like a
The XHTML 1.0 strict DTD defines id as an attribute on the html node
(I haven't looked at transitional or 1.1 strict)
!ELEMENT html (head, body)
!ATTLIST html
%i18n;
id ID #IMPLIED
xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml'
On May 5, 1:15
I don't see from this code where it might be breaking - can you please
give me a URL so I can look at this?
BTW, if you add $daemach.debug to your code you can see the loading
process in the console.
On May 5, 7:11 am, oscar esp [EMAIL PROTECTED] wrote:
I have next code:
jQuery.blockUI();
You're loading all these pages at once? Or, you're saying that
clicking a specific menu item will load content for that menu
item?
If it's the first, you want to do the first I said, (the .html..)
if it's the second...
Look at my example here: http://education.llnl.gov/jQuery/
This loads
I was doing something similar recently. I'm not sure if this is the
best/right way to do it, but I just added an unbind at the start of
the function (before the click event handler is applied) to prevent
bubling.
e.g.
function foo(){
$('a').unbind( click );
yes, it's the second. the example you sent it pretty good, it's almost what
i want
but i'm having a little trouble with it.
notice that i got links on a div id=menu, and the content is loaded in the
div id=total...
the main issue, is that i also got links on the 'total' itself, links that
DONE!! The problem was that i should also link the script in every file, so
it could load in the 'total' itself
thanks!! check www.svplace.com tomorrow to see it working. =D
Paulo
On 5/5/07, Paulo Gabriel Antunes [EMAIL PROTECTED] wrote:
yes, it's the second. the example you sent it pretty
Hmmm. It didn't seem to work for me in FF. The first item loaded, but
click A história loaded it on its own (not within the div).
Declare the second function at the top of your script like so:
bindContentLinks = function(){
//bind click function to a tags within object that has class nav
weird... for me it doesn't work on IE.
gotta find a hack. do u know any?
On 5/5/07, Shelane [EMAIL PROTECTED] wrote:
Hmmm. It didn't seem to work for me in FF. The first item loaded, but
click A história loaded it on its own (not within the div).
Declare the second function at the top of
hi all,
i'm a newbie in javascript and jquery also.
could you please help
i'm trying to write a function to do onclick of a div called img to
change img in div called 'preview'
how do i make it replace with an image which is taken from a href=
attribute of the img div?
$(.img).click(function(){
23 matches
Mail list logo