Just let jQuery create an img-element that points to the php file:
img src=image_script.php?param1=fooparam2=bar /
Also make sure the php script outputs correct response headers
(content-type etc).
--
Suni
There has to be some other problem. Are you absolutely sure that
jquery.js gets loaded? Any chance the link pointing to jquery.js is
wrong?
I always use $(document).ready in other files and there haven't been
any problems with it.
Please post full HTML and JS of a simplified example if the
Thanks everyone!
This is what I ended up using:
var index = $(this).parent().children(th).index(this) + 1;
/N
On Nov 26, 6:58 pm, Glen Lipka [EMAIL PROTECTED] wrote:
Getting the row is easier. :) There is a rowIndex
attribute.http://commadot.com/jquery/rowindex.php
Nuts, I am too late.
On 26 Nov., 23:30, asle [EMAIL PROTECTED] wrote:
Hello,
I have a small menu bar div with several buttons. Only the height of
the buttons. I.ex. one button creates a new list item under the bar. A
span element (.msg) shows the message where I output New item
created after every click and
Hi,
I have this:
td label for=heightHeightbr/
div
select name=height id=height
option78/option
/selectinches/div
/label/td
How to access the word Inches and change it to something else?
Thanks.
A.C.
Don't know if there is a better way, but this code works:
script type=text/javascript
$(document).ready(function() {
$div_cloned = $('#test').clone();
$('select', $div_cloned).remove();
alert($div_cloned.text());
});
/script
/head
body
td
Are you triyng to send a query like this?
var data = vote=C+;
$.ajax({
type: POST,
url: ajax.php,
data: data,
dataType: json,
success: function(data_result) { ShowMessage(data_result) }
});
Try using the code for the plus sign: %2b
Bye
On Nov 27, 4:59 am, damitha
Hey, are somebody going to fix this?
I can't login
GC
On Nov 27, 2:23 am, Flesler [EMAIL PROTECTED] wrote:
I do get the reset password email. Over and over, but I can't get to
log in or even change the password.. I suppose something is generally
wrong.
Ariel Flesler
On 26 nov, 14:00,
Hi Guys,
I can´t login too. Any to retrieve my password.
Since the version 0.1 of jQuery lightBox plugin,
http://leandrovieira.com/projects/jquery/lightbox/, I´m tring to
login. But withou success.
Someone will help us?
On Nov 27, 7:07 am, GianCarlo Mingati [EMAIL PROTECTED]
wrote:
Hey, are
Ha ha. One step ahead of you. For once!!
I saw John's post and had a play with it. Works well except for one
thing...
In my set up I have icons that show the state of an input field (a
green tick if data was valid, a red 'x' if there is an error). If you
click on an icon then the associated
hi suni, want to send an ajax query, in which i tell the dom element
to update.
On Nov 27, 8:58 am, Suni [EMAIL PROTECTED] wrote:
I dont think there is any easy way to do that.
A single DOM element could have 10 different selectors that match it
(or others with it). Such a function could
i want to send an ajax query in which i pass the element to update:
$.ajax({url: _href,data: rel= + escape(#myId a.myClass)})
On Nov 27, 8:58 am, Suni [EMAIL PROTECTED] wrote:
I dont think there is any easy way to do that.
A single DOM element could have 10 different selectors that match it
I had tried that also, somewhere around my second post:)
But it doesn't fade out my pdresult DIV.
I'm getting inconsistent rendering of the html pulled form another
page using load().
Here is the code:
var root_url = window.location.href;
var load_url = $('.tabs-navigation ul li:eq(0) a').attr('href');
$(.tabs-content .overview).load(root_url+load_url+' .entry *');
Safari 3 is adding an
Almost found the solution...
You were right about the use of success: fadeOutResponse.
I had tried success: fadeOutResponse() and believe it or not it
doesn't produce
the same result !
I don't know why but when I use success: fadeOutResponse() the
function is
executed as soon as I load the page.
Hello,
My script has a strange behaviour and I can not found why.
My html code looks like :
div class=bioNumUnit
span class=siteSelector id=s11/span
span class=siteSelector id=s22/span
span class=siteSelector id=s33/span
span class=siteSelector id=s44/span
...
...
span
Many thanks Dave!
All sorted now. Put it down to my n00bishness with jQuery.
I've refactored out findpos() and am now using offset() - thanks for
the tip.
+1 internet points to Dave :-)
On Nov 27, 2:21 am, Dave Methvin [EMAIL PROTECTED] wrote:
$result.css({
top: (pos.y +
I have modified a file for jquery... a WYMeditor editor js file and i
want to packing it. How tool i use? Thank you
Hi there,
I'm having the same problem. It might be a database problem or
something. In any case, I sent an email directly to someone who, I
hope, can help.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 27, 2007, at 5:38 AM, Leandro Vieira
Hi there,
I am trying to create a resizable object that gets resized only using
the se handle and maintains its aspect ratio.
I tried:
var options={aspectRatio: 'preserve' }
resizeobj.resizable(options);
but nothing happens.
Am I doing something wrong?
Val
You could put the inches into a span like this...
span ID=HeightLabelinches/span
then you could change it using
$(#HeightLabel).text(centimeters);
If you're going to have lots of them on the page then you'll have to
use a class name instead of an ID and find some way of selecting just
the
Try:
http://dean.edwards.name/packer/
To work, the syntax of your js file has to be correct. You can use
JSLint to check your syntax:
http://www.jslint.com/
-Eric
On Nov 27, 3:00 am, Andrea - Aosta [EMAIL PROTECTED] wrote:
I have modified a file for jquery... a WYMeditor editor js file and i
I tested your code (FF and IE) with up to 5000 span-elements and could
not reproduce the issue. The message was appended every time
immediately.
There is propable something else in the page distracting the process.
Please note that when you doubleclick the normal click-event gets also
processed
Hey everyone,
Mike Hostetler came to the rescue and fixed the login problem at
jquery.com/plugins/
I just successfully logged in, so please try again now and let us know
if you're still experiencing problems.
--Karl
On Nov 27, 2007, at 8:45 AM, Karl Swedberg wrote:
Hi there,
I'm
I'm in, good job.
Ariel Flesler
On 27 nov, 12:18, Karl Swedberg [EMAIL PROTECTED] wrote:
Hey everyone,
Mike Hostetler came to the rescue and fixed the login problem at
jquery.com/plugins/
I just successfully logged in, so please try again now and let us know
if you're still experiencing
it's ok now.
ready to roll ;-)
On Nov 27, 4:18 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Hey everyone,
Mike Hostetler came to the rescue and fixed the login problem at
jquery.com/plugins/
I just successfully logged in, so please try again now and let us know
if you're still experiencing
I'm trying to convince a supplier to adopt jQuery instead of using
their own (awful) javascript library and so I'm knocking some examples
based on the html pages they've already got.
One of the pages is your typical message list with a checkbox to
select messages individually and a checkbox in
Hi All!
Can you answer me a question, when it is planned to release the
version 1.2.2?
Hello Everyone-
I apologize for not getting to this earlier. I don't follow this
list. Thankfully Karl Swedberg sent me an email notifying me of the
problem.
Turns out the sessions table on the plugins site was corrupted. I
have since repaired it and logins are now working again.
Thanks!
Ok, I have to examine the specifics of my computer set up. I tried
the following code on two different machines with similar setups
(Windows XP, IE6, Firefox 2.0.0.9 vs. 2.0.0.6, jquery 1.2.1 unpacked).
--START Test HTML file-
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
[Help me Karl. You're my only hope!! Well my best chance of success at
least!]
As I mentioned in a couple of other posts I am building an interface
using the cluetip and validate plugins for jQuery. I have both working
well but I am trying to integrate them smoothly now and I have a few
issues.
Hi Karl,
I've just realised where I've seen your name before. On the spine of
the spine of the book sitting here on my desk :)
An excellent book it is too.
Jon
On Nov 26, 7:09 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Hi Jon,
Here you go:
$(document).ready(function() {
$('.Grid
Demo (modified page of History/Remote - jQuery plugin) is here -
http://www.zone.ee/ofilez/js/xendi.html (free hosting, click skip
advertising)
(also you can get directory listing at http://www.zone.ee/ofilez/js/
)
Click the link Load Chapter 1. (it loads
I have a script that decorates all links with an extra tracking click
handler.
First version: $(a).click()...
However, I would also like to find elements that have an onclick handler
already on them.
Second version: $(a,[onclick]).click
But how could I detect all elements that have onclick
I the process of putting an example file on my external site, I found I
wasn't having the same problem (with the new .js file). So I updated my
style sheets internally to match what I had externally and it fixed the
scrollbar problem.
Is the below plugin still required now that you're requiring
Shelane Enos schrieb:
I the process of putting an example file on my external site, I found I
wasn't having the same problem (with the new .js file). So I updated my
style sheets internally to match what I had externally and it fixed the
scrollbar problem.
Is the below plugin still required
http://docs.jquery.com/Frequently_Asked_Questions#When_will_jQuery_1.2.2_be_released.3F
On Nov 27, 2007 10:46 AM, KidsKilla [EMAIL PROTECTED] wrote:
Hi All!
Can you answer me a question, when it is planned to release the
version 1.2.2?
Why not escape the data with javascript's escape function?
It fixes all the illegal characters.
ml
My gut feeling is that this is a caching issue on the browser that is
failing.
Try clearing the cache.
On Nov 27, 3:36 pm, Stephen [EMAIL PROTECTED] wrote:
Ok, I have to examine the specifics of my computer set up. I tried
the following code on two different machines with similar setups
Hi.
First of all thanks for the great work! I am using the jquery
validate plugin and it works great in safari, firefox and ie7 but in
ie6 it has a problem in line 1222, its the url validation regex. If I
remove the entire rule then it works in ie6.
I'm using jquery 1.2.1 and the plugin is
I have a form where the contents of the form are validated with the
jQuery Validation Plugin.
I am also using a custom submit handler to ajax post the data to a
third party, but I also wish to post the data to the form normally.
Inside of the validation plugin, there is a section that returns
I would like to just store the sort order in a cookie, so on a refresh
the order of my div's remain...
any thoughts?
thanks much
On Nov 26, 8:10 pm, Dave Methvin [EMAIL PROTECTED] wrote:
So do you need to store the data in a cookie, or just the information
on the sort order? How much data do
Hi Suni,
I am disappointed.
The results of your tests show clearly that there is a problem with my
code/environment.
I have put my full html/js code at the end of this mail. As you can
see it is minimal.
I have made new tests with the jQuery nightly build without
improvement.
I have tested my
you need to use an anonymous function:
success: function() { fadeoutResults(arguments) }
On Nov 27, 11:56 am, guix69 [EMAIL PROTECTED] wrote:
Almost found the solution...
You were right about the use of success: fadeOutResponse.
I had tried success: fadeOutResponse() and believe it or not it
Shelane,
I recently made changes to jQuery.autocomplete.js that doesn't require
jquery.dimensions.js and adds a exception trap for bgiframe non-
existence.
http://beta.winserver.com/public/test/MultiSuggestTest.wct
This modified verison also offers support for scrolling large list
that do
How do I get the background-position?
$('.XXX').css(background_position);
$('.XXX').css(background-position);
$('.XXX').css(backgroundPosition);
...do not work. Other variants like background-color work fine.
~ ~ David
I'm working on a simple editor where I can see the changes as I type
them. I got the idea figured out, but I'm selecting everything
individually. Here's JS of the one that I have working right now:
$(document).ready( function () {
$('#newsEdit').focus( function() {
Awhile ago I implemented a basic menu based on jQuery/Suckerfish(a
href=http://be.twixt.us/jquery/suckerFish.php;/a), and I never
realized the implications of the menu appearing behind a flash object
until said object became available.
I've read though the posts and I've seen some talk about
This won't work for every javascript library of course but for jQuery
I believe you can use the internal .data() functions to find the
handlers.
http://docs.jquery.com/Internals/jQuery.data#elem
var elem = $(a).get(0);
var handlers = jQuery.data(elem, events) || {};
var clicks =
I just finished up a site that used SuperFish and swfObject (and Cycle
and idTabs and Accordion...), although I'm using jQuery 1.1.4 still.
You don't need to re-output the SWF to get the transparent background,
you just need to add a paramater to the swfObject setup code:
so.addParam(wmode,
:-) Thanks for buying the book!
By the way, as John Resig can now attest, a portion of the proceeds
goes right back to the jQuery project. So, thanks for helping jQuery,
too. ;-)
One more thing (to avoid going totally OT):
I took the code that I wrote for you and dropped it into a page
DaveG wrote:
How do I get the background-position?
$('.XXX').css(background_position);
$('.XXX').css(background-position);
$('.XXX').css(backgroundPosition);
...do not work. Other variants like background-color work fine.
The problem seems to be that I'm trying to get the background
Weird. That must be a bug. You can set the background position...
$('.XXX').css('backgroundPosition', '0 50%');
and then get it ...
$('.XXX').css('backgroundPosition');
// returns 0pt 50%
but you can't get it without setting first.
Hmmm.
--Karl
_
Karl
Ben Nadel continues his love affair with jQuery:
jQuery Demo: Working With XML Documents
http://www.bennadel.com/index.cfm?dax=blog:1054.view
Rey
Does there exist a jQuery plugin to do everything that Dean Edwards
IE7 JS library can do?
This is what css calls a shorthand property. It's used for setting. Browsers
differ in their treatment of it as a getter. jQuery doesn't (yet) normalize
this. See these threads for more info:
element.css(background) returns undefined
edav schrieb:
Hi.
First of all thanks for the great work! I am using the jquery
validate plugin and it works great in safari, firefox and ie7 but in
ie6 it has a problem in line 1222, its the url validation regex. If I
remove the entire rule then it works in ie6.
I'm using jquery 1.2.1 and
I love the Imagebox plugin and have used it extensively, but have run
into a situation I don't know how to handle.
I have created a mini gallery of images within a page with lots of
other information (the important part here is that the imagebox images
are not at the top of the page), so
Actually background is the shorthand property, backgroundPostion
is the fully qualified property.
There is/was a bug in Firefox:
Bug 316981 – background-position property is not available through
the CSS DOM interface
https://bugzilla.mozilla.org/show_bug.cgi?id=316981
Karl Rudd
On Nov 28,
So, I keep posting this same problem but no one seems to be able to
help me and I can't see what it is either. The code is simple, it's a
Click X and show Y type of thing which happens to work in Firefox but
once I go into IE I feel like putting my head through my monitor,
which thankfully isn't
Mac test : it works fine on Safari 3.0.4 and still not work on FF
2.0.0.10.
On 27 nov, 18:49, dehneg [EMAIL PROTECTED] wrote:
Hi Suni,
I am disappointed.
The results of your tests show clearly that there is a problem with my
code/environment.
I have put my full html/js code at the end of
JSEclipse has stated that they don't support jQuery, but with the
ability to add your own libraries, I was wondering whether anyone has
taken the time to put something together, so we could get jQuery code
completion in jseclipse!!
Hi! I have same problem. Is there already some solutions in that way?
On Nov 23, 4:58 pm, Cloudream [EMAIL PROTECTED] wrote:
ff3 just in beta. jorn is working at mozilla, so don't worry about
this...
On Nov 23, 4:44 pm, Jerome Carty [EMAIL PROTECTED] wrote:
Just a note:
On AJAX calls
Very nice, thank you. I think the swfObject wasn't implemented
correctly and that is why I strayed from it.
Thanks.
On Nov 27, 4:22 pm, bbuchs [EMAIL PROTECTED] wrote:
I just finished up a site that used SuperFish and swfObject (and Cycle
and idTabs and Accordion...), although I'm using
in jquery.jscarousel.js
1. set itemStart to 100
since none of my text files have more than 100 items.
2. set priv.scroll(priv.o.itemStart + 3);
since I had set Visible: 3 itemScroll: 3, for the carousel.
3.set wrapPrev: true
When the carousel loads it loops through all of the items them
I commonly want to pass an ID or some other information I know to an
AJAX success handler.
$.post('/ajax/asset/insert', {
folder_tid : lastUploadedFolderTID,
link : linkQueue[id]
}, handleAddLinkComplete, 'json');
In this example, I want to pass an ID to
You could wrap your real callback in an anonymous function that adds the
parameters that you want. Maybe something like (untested):
$.post('/ajax/asset/insert', {
folder_tid : lastUploadedFolderTID,
link : linkQueue[id]
}, function(data, status) {
I'm sure by the time Firefox 3 is released to the general public this
issue will be resolved. Having said this: Firefox 3 is more stable
that Firefox 2.0.0.10 on my computer.
On Nov 27, 10:28 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi! I have same problem. Is there already some solutions
Jay,
Not totally sure what the problem is, but is sounds like you are saying the
flash is staying on to of divs, if this is the case
doing wmode=transparent on the embed tag and creating a param
wmode=transparent
I may be mistaken on your issue, if so, can you rephrase?
On 11/27/07, Jay Fallon
Hello all,
This came through my feed reader this morning, and I thought it looked like
the kind of thing jQuerians might enjoy:
http://www.datejs.com/
It's a Date library with lots of parsing capabilities and jQuery style
chainable syntactic sugar. It's ~25k minified (!), so it's probably not
Chris,
JSEclipse has stated that they don't support jQuery, but with the
ability to add your own libraries, I was wondering whether anyone has
taken the time to put something together, so we could get jQuery code
completion in jseclipse!!
While not an answer to your question, Aptana supports
Thanks, your solution works
Giovanni Battista Lenoci wrote:
Are you triyng to send a query like this?
var data = vote=C+;
$.ajax({
type: POST,
url: ajax.php,
data: data,
dataType: json,
success: function(data_result) { ShowMessage(data_result) }
});
Try
Just spotted this via Ajaxian:
http://www.datejs.com/
It's got jQuery-like syntax for working with dates:
// What date is next thrusday?
Date.today().next().thursday();
// Add 3 days to Today
Date.today().add(3).days();
// Is today Friday?
Date.today().is().friday();
// Set to 8:30 AM on
http://localhost/allonenet/index.html
If you mouse over the globe in the top left, you'll see it fades in,
then fades out, then fades back in. When you mouse off, you'll see it
fade out, then back in, then back out. The relevant code is:
$('body').append('div id=fill/div');
Thanks for the information -- I would never have considered looking at
FF for the bug.
~ ~ David
Karl Rudd wrote:
Actually background is the shorthand property, backgroundPostion
is the fully qualified property.
There is/was a bug in Firefox:
Bug 316981 – background-position property
Clearing the cache does not work.
I was running firebug, so I checked out the HTML tab of Firebug. When
I expanded the section called
script type=text/javascript src=js/jquery.js/script
It said Error: Access is Denied.
When I expanded the section called
script type=text/javascript
76 matches
Mail list logo