Can I use livequery on ajaxForm?
or is there another way to add event listeners to ajax produced form?
This page redirects to the example
http://reenie.org/test/hffc.php
If you click Login and add any name, the form submits and shows you
logged in.
If you don't add a name the form submits and
Hi,
I think your problem is because #result is empty first time through so
slideUp doesn't do anything - therefore slideDown doesn't either.
Try adding this as the first document ready item to populate #result
with a blank paragraph:
$(#result).html('pnbsp;/p');
Paul
I'm trying to put my first Ajax to use by creating a login form.
To get there, I'm attempting to modify the first tutorial I've found which
I understand enough to understand what it's doing and how it's working
with a ColdFusion backend.
Anyway, my first question is: How do I modify the code
(sorry my english...)
Hi,
You are right about your explain. But you can see at
isabeladraw.sourceforge.net what I've been developing. In this implements
the app build 1px div per div. This is very slow!! But for the next version
(you can see at
Hi Karl,
Thanks for the suggestion! I think that's me still thinking of
cancelling handelers manually, not sure if it was helping or not.
Anyway, it's made no difference - I'm wondering if anyone else has
come across a similar problem, and solved it, or can shed some insight
into what may be
P.S: at w3schools.com: *Note:* The canvas tag is only a container for
graphics, you must use a script to actually paint graphics.
Thanks
2008/12/7 Dirceu Barquette [EMAIL PROTECTED]
(sorry my english...)
Hi,
You are right about your explain. But you can see at
I am brand new to JQuery, but very excited over it. I have looked at
s3Slider and similar packeges, but they all seem to get their images
statically, either by referencing a folder or by just referring to
them (1.jpg, 2.jpg, ). I have a database with image paths
(images/woof1.jpg), for
ah yeah! excellent! Cheers for Chiming in Alex!!!...
that's made me feel a little bit better :)
On Dec 6, 2:02 am, Alex Hempton-Smith [EMAIL PROTECTED]
wrote:
I have an iPhone 3G so I'd better chip-in here :P
The iPhone has iPhone Safari installed, which was forked somewhere
in-between
I figured this out and I have fixed the example, so it will no longer
show the problem.
Basically, the solution is to wrap the call to ajaxForm ( including
the options parameter) in liveQuery
$('#loginform').livequery(function(){
var options = {
target: '#loginsection',
Not sure but should be like this:
if($(#'text').val(''));
Try up this and let me know if it works.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Costaud
Sent: Sunday, December 07, 2008 3:43 AM
To: jQuery (English)
Subject: [jQuery] if
This is my first time trying to use the validate script. It looks
great, but something is wrong with my set up. I basically tried
copying the functionality of the simple demo.
script type=text/javascript src=/js/jquery-1.2.6.min.js/script
script type=text/javascript src=/js/jquery.validate.js
Hi there,
In my case i have the animation but no shadow and no arrow image.
Instead of the arrow image I get a (raquo).
Better than nothing as it works out of the box (love jquery for that)
for animation and it's pretty easy to customize with CSS.
Tough it would be perfect to have the arrow
Hi there!
Have you fixed your problem?
I see your website has shadow and animation now. How did you do it?
I've succesfully installed superfish on my joomla site, animation work
out of the box
The rest is pure css to customise. It's just great!
The problem is that i don't get shadows and no
Hello!
I have recently tried to install the tooltip and got it to work just
fine.
Now to the issue:
I have a website that has some small Ajax injections into it. The tool
tip should appear on each element of an Ajax injected list. The Ajax
injection used is $('.list').load(/ajax-list.php);
The
Hi,
If .menuitem is a class you use to contain each link, and .menu is the
class that exactly defines a link, you could use:
$('.menuitem').click(function(){ // the whole menu item can be clicked
$('a.menu', this).click(); // simulate a click on the link, which
should make the browser load
Hi All,
DOM is Better is an useful free library to build client-side web
design:
http://riagallery.appspot.com/static/DOMisBetter/index.html
This is the last web site made with jQuery and DOMisBetter:
http://riagallery.appspot.com/KillIEbrowser
Bye
-- Davide
Hi,
I want to read the values from a simple xml string but can't get it to
work. Here's the code:
var xml = foodburgercheese/burger/food;
// example 1
var result = $(xml).find(food).find(burger).text();
// example 2
$(food, xml).each(function(i)
{
result = $(this).find(burger).text();
On Sat, Dec 6, 2008 at 5:26 PM, Yuvraj Mathur [EMAIL PROTECTED] wrote:
Not sure but should be like this:
if($(#'text').val(''));
Actually, this would *set* the value to '' and would always evaluate to
true, because it returns the jQuery object for chaining (if you don't supply
an arg to
var xml = foodburgercheese/burger/food;
var result = $(xml).find(food).find(burger).text();
The root node for your xml is food, so when you try to find a nested
food node in that it fails. Try $(xml).find(burger).text();
Dani,
I believe you'll have to rebind tooltips after you load the ajax
$('.list').load(
{
url: /ajax-list.php),
callback: function(responseText, textStatus, XMLHttpRequest) {
// rebind tooltips
}
});
Andrew
On Dec 7, 7:58 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
Sorry, the previous code was incorrect. The ) after the url needs to
be removed
$('.list').load(
{
url: /ajax-list.php,
callback: function(responseText, textStatus, XMLHttpRequest) {
// rebind tooltips
}
});
On Dec 7, 12:24 pm, aschmid [EMAIL PROTECTED]
Paolo,
I personally use the cycle plugin for slideshows, and it's worked
nicely so far.
If you don't want to use a server side repeater to build your list of
images and would prefer to do it client side, I would use a technique
like the one in this article
First off, I'm not sure this is even possible, but I thought I'd
ask...
Is it possible to use jQuery (or just plain JavaScript) to simulate a
link click?
Can something like this be done?
// Script
function doSomething()
{
// executes some code
}
$(document).ready(function()
{
Rick,
You could try the form plugin as below
form id=myForm action=request_processor.cfm method=post
Email: input type=text name=email_address /
Password: input type=password name=password /
input type=submit value=Login /
/form
script type=text/javascript
Thanks Karl!
On Nov 25, 6:53 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Yes, you can use one or the other.
--Karl
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Nov 25, 2008, at 9:13 AM, Jason Coudriet wrote: Hello,
When using jQuery, do have we have the
Hello,
I've been looking for a way to make my horizontal menu work with firefox
using jquery slideDown and Up animations instead of fadeout .
The problem is that with firefox if you move the mouse out of the sub
menu area and then in again before the animation had finished the sub
menu
Just bind doSomething() to the click event for the second link.
This looks like a usability nightmare, but whatever ...
On Sun, Dec 7, 2008 at 12:42 PM, SLR [EMAIL PROTECTED] wrote:
First off, I'm not sure this is even possible, but I thought I'd
ask...
Is it possible to use jQuery (or
I tried that but still get an empty result. I seached google and saw
examples like yours all over the place so maybe it's something else.
here's the full source:
html
head
title/title
script type=text/javascript language=javascript
src=jquery-1.2.6.min.js/script
script
How do you dynamically add or remove stylesheets to a page?
I've seen a lot of examples on how to add css styles or classes to an
elment, but I haven't found anything on adding/removing entire
stylesheets...
I despise having to deal with IE as much as the next (reasonable)
person but posting a link to a page that forces some users to kill
their browser process is pretty juvenile. Sure, it's right there in
the URL, but still ...
The plugin seems alright, though I can't think of a compelling reason
to
Just bind doSomething() to the click event for the second link.
Can you expand on this? I apologize, I'm somewhat new to jQuery.
This looks like a usability nightmare, but whatever ...
Looking at my example, I can see why you say this. Let me try to
explain what I'm trying to do.
I have a
Hi,
I have two html pages that are consisting of frames. They are using
shared jQuery code, and I used the anchor click events to load pages
into frames (as target attibutes fails to work when jQuery is
present).
I used the click event of two anchor classes two create the same
funcionality and
No need for scripting:
#thumbnails li a { display: block; height: 200px; }
On Sun, Dec 7, 2008 at 1:35 PM, SLR [EMAIL PROTECTED] wrote:
Just bind doSomething() to the click event for the second link.
Can you expand on this? I apologize, I'm somewhat new to jQuery.
This looks like a
Your example works for me. Use firebug and make sure you are not
getting errors from some other problem.
Hmmm, yes it does.
I just did 'un-do' a zillion times, back to where I was at the
outset. Seems I had begun with
$('textarea').load()
Intending to load the textarea with data but it didn't work (FCKeditor
assigned to the textarea). I changed that to
$('textarea').get(url, {file: data},
Try this:
$(#MyLink).click(function(){ $(#Link1).click(); return false; });
You'll need to add the id to the first link.
Is there a reason why you used an onclick attribute in html rather
than attaching the handler using jQuery?
Have a look here:
http://www.alistapart.com/articles/alternate/
On Sun, Dec 7, 2008 at 1:17 PM, SLR [EMAIL PROTECTED] wrote:
How do you dynamically add or remove stylesheets to a page?
I've seen a lot of examples on how to add css styles or classes to an
elment, but I haven't found
Check here:
http://letmegooglethatforyou.com/?q=add+stylesheet+jquery
top.$(#content_frame).attr(src,$(this).attr(href)); //
fails in the second document
//top.$(#doc_toc_frame).attr(src,$(this).attr(name));
alert(success); //never executed
Is the toc frame in the same domain as this document and the content
frame? Maybe you're running afoul of a
addClass is exactly what it says, it adds a class. Predefine the class
in your CSS pages with the attributes you require and use the addClass
function to add it to your target..addClass('newclass'); You can
also use removeClass to remove the class .removeClass('newclass');
If you want to define
No need for scripting:
#thumbnails li a { display: block; height: 200px; }
I think you are missing what I'm trying to do...
$(#MyLink).click(function(){ $(#Link1).click(); return false; });
You'll need to add the id to the first link.
Yeah, thats essentially what I want to do. Now how
What do you mean by same domain? They are on the same drive, the
collection index file is on directory upper to the content and the
content's toc file.
I tried FB, but I didn't get any message from it (I am not sure I used
it properly).
On dec. 7, 20:17, Dave Methvin [EMAIL PROTECTED] wrote:
Hello
I am trying to get cycle.js to work, and I have no idea why it isn't.
Here is my code:
script src=scripts/jquery.js type=text/javascript/script
script src=scripts/cycle.js type=text/javascript/script
script type='text/javascript'
$(document).ready(function(){
$('#s1').cycle('fade');
});
I am using a div content present in the same document to show up in
cluetip. I want to use a custom button inside that div content to
close the tip when clicked. I don't know how this can be achieved.
Please guide me through this. This may be very trivial, I am not sure
how to get this done.
By
Hello
I am trying to get cycle.js to work, and I have no idea why it isn't.
Here is my code:
script src=scripts/jquery.js type=text/javascript/script
script src=scripts/cycle.js type=text/javascript/script
script type='text/javascript'
$(document).ready(function(){
$('#s1').cycle('fade');
});
Hi Dave,
I thought jquery is browser-independent but it seems the code works
for firefox but not for IE, any idea why?
On Dec 7, 8:00 pm, Dave Methvin [EMAIL PROTECTED] wrote:
Your example works for me. Use firebug and make sure you are not
getting errors from some other problem.
Thanks Michael, the example you gave works great. I'm having some
problems with a droppable though, here is the sample code:
$(#dropper).droppable({
accept: #dragger,
drop: function(ev, ui) {$(this).append(brDropped!);}
});
The function that is called on the drop is likely to get very
On Sun, Dec 7, 2008 at 2:40 PM, SLR [EMAIL PROTECTED] wrote:
No need for scripting:
#thumbnails li a { display: block; height: 200px; }
I think you are missing what I'm trying to do...
No offense meant, but I think you've misunderstood the CSS I posted.
As I understand it, you want the
Yeah, thats essentially what I want to do. Now how can I do that to
all the li elements without having to manually type that it for each
one?
Well, now that you posted the real html... :-)
$(#thumbnails li).click(function(){
$(this).find(a).click();
return false;
});
If the a element
What do you mean by same domain?
Google for iframe crossdomain. Basically you can't have a page on
one domain (e.g., yourdomain.com) manipulate objects or run script
from a frame in another domain
They are on the same drive, the
collection index file is on directory upper to the content and
Yeah, I see what you mean about IE now.
The problem seems to be that IE can't tell whether the string is HTML
or XML, and jQuery doesn't have a way to tell either. Mike Geary
posted a parser that works for both that you can use to parse the
string and pass that tree into jQuery.
No offense meant, but I think you've misunderstood the CSS I posted.
As I understand it, you want the entire LI to be clickable. The CSS
rule I posted will do just that by causing the A to fill the LI. If
the width is also an issue, then set that, as well.
There's no need for the JQuery
These pages are only for presenting data, and used as local files.
I share the project's output html here:
http://datastore.uw.hu/docs.zip
You can see that index.html doesn't work, while doc_index.html works
just fine.
On dec. 7, 21:41, Dave Methvin [EMAIL PROTECTED] wrote:
What do you mean
-- Forwarded message --
From: Miquel [EMAIL PROTECTED]
Date: 2008/12/1
Subject: Strange behavior of [tooltip] plugin in IE7
To: jQuery (English) jquery-en@googlegroups.com
Hi all,
May be some can help on this problem. When the tooltip plugin [http://
Hello,
I am interested in the following component (as seen on the following
page):
http://ui.jquery.com/demos
It must be some sort of flow component.
Can anyone tell me where to get it from? Where it is documented?
Best regards,
Julien.
On Sun, Dec 7, 2008 at 3:22 PM, DAZ [EMAIL PROTECTED] wrote:
The function that is called on the drop is likely to get very complex,
so I'd like it in a separate function.
However, my solution below doesn't work:
$(#dropper).droppable({
accept: #dragger,
drop: dropped()
});
change
See
http://groups.google.com/group/jquery-ui/browse_thread/thread/b57bf99f2abf6079
Paul Bakaus writes:
I programmed it from scratch just for the UI website, but since developing
plugins for UI is so simple, it's a UI plugin ;) However, since there's
quite some interest in it, expect it to be
let me explain more clear
if I want to cancel function in JavaScript, I can do something like
this, but how to do the same thing in jQuery?
input type=button name=btn id=btn value=btn /
input type=button name=setBtn id=setBtn value=setBtn /
input type=button name=cancel id=cancel value=cancel /
Hi, Andrew, and thanks for the code.
I've been *partially* successful and I don't quite understand why things are
happening the way they are...it could be some of the ColdFusion code
involved.
When I run the login.cfm page with the myForm form, I end up with my
message being displayed for a
From: DAZ
Thanks Michael, the example you gave works great. I'm having
some problems with a droppable though, here is the sample code:
$(#dropper).droppable({
accept: #dragger,
drop: function(ev, ui) {$(this).append(brDropped!);} });
The function that is called on the drop is
Thank you!!! I know this. But my question was how to create newclass
assigning its attrs at the same time.
2008/12/7 QuadCom [EMAIL PROTECTED]
addClass is exactly what it says, it adds a class. Predefine the class
in your CSS pages with the attributes you require and use the addClass
remove the 'fade' from the function call. That's the default action,
but would be correctly specified as {fx: 'fade'} if you explicitly
define it.
On Dec 7, 2:42 pm, Heath [EMAIL PROTECTED] wrote:
Hello
I am trying to get cycle.js to work, and I have no idea why it isn't.
Here is my code:
Useful in what way? I'm not going to the site, given the other
person's experience. An explanation of the plugin here would be very
useful.
On Dec 7, 9:34 am, KillIEbrowser [EMAIL PROTECTED] wrote:
Hi All,
DOM is Better is an useful free library to build client-side web
Hi All,
I have been trying to use the table sorter but not sure why this error
pops up :
jQuery(#myTable).tablesorter is not a function
script type=text/javascript
src=/scripts/jquery-1.2.6.pack.js/
script type=text/javascript
The front page of jquery.com says the production version is 15kb, but
when I go to the download link, it shows up as 54kb.
Is there something special that I need to do to convert that 54kb file
into 15kb file?
You need to enable gzip-ing to your web application (which is
something that greatly varies on how to do based on what you use on
the server side)
On Dec 7, 6:54 pm, Matt Wilson [EMAIL PROTECTED] wrote:
The front page of jquery.com says the production version is 15kb, but
when I go to the
- Richard
On Sun, Dec 7, 2008 at 6:54 PM, Matt Wilson [EMAIL PROTECTED] wrote:
The front page of jquery.com says the production version is 15kb, but
when I go to the download link, it shows up as 54kb.
By the time you have the file saved your browser has unzipped it to it's
full 54kb, but
i'd guess your file is not being loaded correctly
got a live page to see?
On Dec 7, 4:19 pm, Gowrishankar [EMAIL PROTECTED] wrote:
Hi All,
I have been trying to use the table sorter but not sure why this error
pops up :
jQuery(#myTable).tablesorter is not a function
Hello,
I am using JQuery and Validate. It works fine in Firefox 3 but it does
not work in IE7.
Here is an example: http://www.27lamps.com/Beta/Form/Form.html
Am I doing something wrong or is there a bug?
Thanks,
Miguel
Well, I tried, I really tried.
I have the following code:
function test(isExpanding)
{
var x=start+%,*;
if(isExpanding==1)
start++;
else
start--;
top.$(#main_frame).attr(cols,x);
alert(x);
if(isExpanding==1 start21)
setTimeout(test(isExpanding),500);
else if(isExpanding==0
There is a lot of code there, and I couldn't follow it all. Can you
post a simple test page?
What you mean by lot of code? The jTree code isn't altered, my code is
in custom.js, and there are two pages (index.html and doc_index.html)
to check. I can't put up a test page, I need to work with these simple
pages.
Another question: shared JS global variables have separate values
between
I just downloaded JQuery. For my first project, I'd like to make a table
with sortable columns and alternating row colors.
For the sortable columns, I downloaded the Tablesorter plugin, then followed
the tutorial at http://tablesorter.com/docs/
I don't know a lot about JavaScript, but I have
I'm having a hard time working through this in my mind (and a much
harder time in code.)
I am receiving a JSON array. I am then looping through each result,
and trying to create three text boxes within a list item for each line
of data.
The result should look like this: liinput type=text
What about something like this?
$(liinput type='text' value= + item.a + //li).hide
().appendTo(#myList).slideDown(fast);
On Dec 7, 8:10 pm, nathanziarek [EMAIL PROTECTED] wrote:
I'm having a hard time working through this in my mind (and a much
harder time in code.)
I am receiving a JSON
Thanks Ryura --
That's exactly what I thought I could do, but could not get it to
work. That's when I came up with my much less elegant solution that
works OK, but I have the feeling has some serious shortcomings.
The error I get with your solution is Value undefined (result of
expression
Hi all,
I'm trying to use the tooltip plugin and for some reason the image
tooltip is always showing up on the bottom left of the page. I've
created a very simple example illustrating the problem. I must be
doing something incredibly stupid. Anyone have any ideas? Thanks a
lot,
Russ
On Dec 7, 2008, at 9:34 AM, Kayhadrin wrote:
Hi,
If .menuitem is a class you use to contain each link, and .menu is the
class that exactly defines a link, you could use:
$('.menuitem').click(function(){ // the whole menu item can be clicked
$('a.menu', this).click(); // simulate a click on
I want to adjust a textarea to fit all of the text within. I tried
toying with the dimensions plugin, but it doesn't offer the
scrollHeight attribute, which is what I think I need. Before I go
journeying off on a wild tangent to my actual project, I wanted to
make sure that a) I'm barking up the
Got it working!
I did go back to the first way of coding the jQuery, however.
The problem I had was in wrapping the input's with a form tag.
I guess when using jQuery the way this is written, the form tags
aren't necessary and actually keep the code from functioning properly.
It's a little
i , i was trying to replace my javascript statements with jquery
statements by including the jquery file in *.xul file.
the xul file line is as under:
script type=application/x-javascript
src=chrome://extensionname/content/jquery-1.2.6.min.js/
and i am trying to access the $/ jquery functions
The zip you posted has 30 files in it. That's a lot of moving parts
for a test case, and it doesn't look like most of them would be needed
to demonstrate the problem.
Yes you are correct, I mistakenly wrote wrong values. Thanks for informing
me.
I modified it.
cheers,
Prajwala
On Sun, Dec 7, 2008 at 1:12 PM, Joe [EMAIL PROTECTED] wrote:
I think I understand what you are trying to do, but the example is
rather confusing. Can you use maybe more unique
hi,
I'm new in jQuery... can someone help me to understand how to do Image caching
from jQuery. thanks...
Hi,
Thanks for your response.
I am using a form plugin for submitting form.
http://plugins.jquery.com/project/form
i came to know that livequery can solve this issue, but i am not
understanding that how livequery will bind my form for ajax event.
On Dec 5, 11:34 pm, Mike Alsup [EMAIL
Hey all,
I'm in need of making a remote request (i.e. to a different domain)
using the $.ajax function. Doing some preliminary research on google
and this group, it looks like the most popular workaround is to call a
separate local script using $ajax; and then having the local script
perform the
Hi
Well what you are doing is not legal ( you are allowed to summarize an
article on your page and then link to the original article but not copy the
whole content and link to the original article if you dont have the
permission of each of the sites or article owners, that is not done
the
Try looking at the getJSON method:
http://docs.jquery.com/Ajax/jQuery.getJSON
It's the only way to do direct cross-domain communication from the
client-side. (The other option is you use a proxy on your server and
route requests through there.)
Karl Rudd
On Mon, Dec 8, 2008 at 4:52 PM,
One question. Your docs and examples don't ever mention, that I can
tell, how the data is handed off to the backend script. Are the
images just going to be in the $_FILES global (to give a PHP example)?
Yes, i did not include any information about the backend script used,
since each and
89 matches
Mail list logo