Weird, this works for me in IE6 on xp/sp2
test.html:
html
script src=jquery-1.1.1.js
/script
script
$(document).ready(function() {
$(#load_here).load(test2.html);
});
/script
body
div id=load_here
/div
/body
/html
test2.html:
html
body
script
alert(Hello!!!);
/script
h1 Hello/h1
/body
/html
Another question: i want to disable the submit event of the form,
yet my code doesn't work form.unbind is not a function
var $this = jQuery(this);
var form = $this[0].form;
form.unbind(submit);
I think the problem is that the form variable is a DOM variable, and
you need to wrap it in
Andreas Wahlin schrieb:
Another question: i want to disable the submit event of the form,
yet my code doesn't work form.unbind is not a function
var $this = jQuery(this);
var form = $this[0].form;
form.unbind(submit);
I think the problem is that the form variable is a DOM variable, and
Hi,
marco76 wrote:
Hi
I have a very banal question.
How i can change number of item visible dinamically without call again the
init method of jcarousel?
Many Thanks
Marco
why don't you want to call init?
Jan
--
View this message in context:
Mike that looks like a pretty sweet plugin. I'll definitely give this a spin
in a project I am currently working on.
Thanks,
-John K
On 2/6/07, Mike Alsup [EMAIL PROTECTED] wrote:
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're not familiar with
And if you already have one or more p tags on the page already and
just adding more you could use the Copy Events plugin (in SVN) to just
copy events from an existing p tag to the new p tags.
$(newPTags).copyEvents(existingPTag);
BTW Mike, great plugin!
--
Brandon Aaron
On 2/8/07, Mike Alsup
On Feb 8, 2007, at 8:42 AM, Brandon Aaron wrote:
And if you already have one or more p tags on the page already and
just adding more you could use the Copy Events plugin (in SVN) to just
copy events from an existing p tag to the new p tags.
$(newPTags).copyEvents(existingPTag);
Yes, and if
hi,
is it possible to distinguish between a click with or without a ctrl/alt key
pressed.
i want to simulate selecting items with Ctrl+click and click only to execute
an action.
$(p).bind(click, function() {
// how to find out what keys where pressed
if (ctrl-pressed) {
On 2/8/07, Brandon Aaron [EMAIL PROTECTED] wrote:
And if you already have one or more p tags on the page already and
just adding more you could use the Copy Events plugin (in SVN) to just
copy events from an existing p tag to the new p tags.
$(newPTags).copyEvents(existingPTag);
BTW Mike,
marco76 wrote:
I think that if I call the init method the actual position of items in the
carousel is lost (the carousel returns to the initial position ).
Can you make me an example with init where the actual position of items
dosen't change?
Marco
Maybe this will help:
I hadn't noticed that, I thought it was all done with class.
Yeah it'd be good to not require custom attributes.
-John K
On 2/8/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:
Anybody knows if we can use it by defining the rules in javascript instead
of adding custom
attributes to the
I have done it several times already in fact.
What you have to do is add another global keydown event to the
document, in which you then have to check for e.ctrlKey and save the
boolean to a scoped variable your click event can access.
Now add another keyup event, were you set your boolean to
Bruce MacKay schreef:
Hello folks,
I'm having a problem with a dyamically loaded div sliding under a
following div, rather than pushing that div down the page.
You should give the new div a higher z-index than the ones already
present: http://www.w3schools.com/css/pr_pos_z-index.asp
Best,
Warning! Someone might consider the following blatant self promotion...
Anyway people developing with PHP and jQuery might find this useful.
I wrote a Firebug handler / driver for PEAR::Log package. It enables
logging PHP errors into Firebug console. I wrote it while debugging
last project
# Background
Inserting an ActiveX control (i.e. flash movie, quicktime movie) with an
external javascript
(i.e. jQuery) should avoid the ugly grey box and having to click to activate.
See:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp
Self promote away, this is something I would def use. Nice work.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hello!
I am trying to create a tree-like table. Each row has a link to
expand the row. When the link is clicked i want to make a copy of the
row (clone), change some values in the copy and insert it after the
original row.
After this is done, the link is bound to a new event: collapse.
Excellent idea, Mike! I use ASP, but it should be a quick port to make it
run there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mika Tuupola
Sent: Thursday, February 08, 2007 9:41 AM
To: jQuery Discussion.
Subject: [jQuery] OT: Debugging PHP With
Without the hook, the entire jQuery.clean method has to be overwritten. With
the hook, the bug
could be fixed by overwriting jQuery.clean.convert from outside of the packed
code (i.e. via a
plugin, or by copying and pasting jQuery.clean.convert = function(html) {...}
at the bottom of
I don't suppose this got fixed in Interface 1.1.2 did it?
Stefan Petre wrote:
It is a bug. I will fix it.
[-Stash-] wrote:
I have a problem with it though. Scrolling between anchors on the same
page
works perfectly, but when trying to go to another page, the links don't
work
at all!
For this purpose, you should also have a look at this project:
http://www.firephp.org/
Franck.
2007/2/8, Dave Methvin [EMAIL PROTECTED]:
Excellent idea, Mike! I use ASP, but it should be a quick port to make it
run there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Good stuff, thanks for that link franck.
On 2/8/07, Franck Marcia [EMAIL PROTECTED] wrote:
For this purpose, you should also have a look at this project:
http://www.firephp.org/
Franck.
2007/2/8, Dave Methvin [EMAIL PROTECTED]:
Excellent idea, Mike! I use ASP, but it should be a quick port
I've just tested it at
http://exhibitq.com/talk/discussion/1/html-test/#Comment_5
http://exhibitq.com/talk/discussion/1/html-test/#Comment_5 and it's still
not working.
Basically, that internal link and the Top of Page and Bottom of Page
links work exactly as expected. However, if you then
Goto:
http://jquery.com/mailman/listinfo/discuss_jquery.com
The unsubscribe section is at the bottom of the page.
-John K
On 2/8/07, Yair Even-Or [EMAIL PROTECTED] wrote:
its exploding my inbox...
___
jQuery mailing list
discuss@jquery.com
Hi,
Yeah, I'm using that specific code and it works great. This is
actually how it's set up right now:
$(document).ready(function(){
$(#videos).submit(function(){
$(#videos).ajaxForm({target:div#msg,resetForm:true});
Gaston,
That's still too much code. What I was trying to convey is that you
do not need the submit handler at all. ajaxForm does all that for
you. You can replace that entire ready block with this:
$(document).ready(function(){
$(#videos).ajaxForm({target:div#msg,resetForm:true});
});
Hi there,
does anyone know under which circumstances the effects don't work
properly with IE6+7? I am trying to build some simple slideUp(slow)
effects and such, but IE6+7 on two machines seem to do this too quickly
if it doesnt even just use no animation at all - at least I cannot see
any
On Thursday, February 08, 2007 9:31 AM Arne-Kolja Bachstein said:
does anyone know under which circumstances the effects don't work
properly with IE6+7? I am trying to build some simple slideUp(slow)
effects and such, but IE6+7 on two machines seem to do this too
quickly if it doesnt even
Olivier Percebois-Garve wrote:
Hi
I really like this script, but I'm not sure to agree on the definition
of unobtrusive.
If I click the exemple 4. /Unobtrusive, Multi Modal/ with
javascript disabled, then nothing happens.
No javascript = No content is obtrusive to my opinion.
It
Hi Chris,
I cannot make this URL public, but you should have got an email. Others
may ask too, of course.
Greets,
Arne
Chris W. Parker wrote:
On Thursday, February 08, 2007 9:31 AM Arne-Kolja Bachstein said:
does anyone know under which circumstances the effects don't work
properly
Hi everyone,
I'm using jquery and interface sortables and I'm getting this weird IE bug,
it doesn't always show up, though most of the time, but all it says is:
Operation aborted.
In FireFox (1.5.0.9) i'm getting another bug which seems to be related. It
says script is still running and asks me
Oli,
A sample might be helpful as well as what actions are causing the exceptions.
I've had problems with IE/FF and sortables in the past ... but there were fixed
with the most recent release.
- wg
- Original Message
From: Ólafur Marteinsson [EMAIL PROTECTED]
To: discuss@jquery.com
Thanks. I discovered Firebug while working on this site. It really is
a web developers dream.
Andrew
Ⓙⓐⓚⓔ wrote:
I think you're going to have to install winProxy, and see for yourself
exactly how the ajax is failing... or just tell them to run Samba (I
hadn't heard of it either)
I
Hello,
I'm looking to highlight 1 or more rows of a table which have a cell whose
contents match a search term I provide. Does anyone have an easy way to do
this?
Thanks!
Graeme
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Su schrieb:
I'm working on a site which is using a fair number of jQ plugins. It
currently stands at 4, with probably up to 2 more on the way.
I was curious if there would be a benefit to grabbing non-packed
copies of everything and then packing them as one big file(probably
some) and
Alexandre Plennevaux schrieb:
hello,
using bassistance FormValidation plugin, i get an error in Firefox
2.0.0.1, related to this line
var labelWidth = document.defaultView.getComputedStyle( this, ''
).getPropertyValue( 'width' );
the error message is:
Error:
I also noticed that happen intermittently, on a similar slideUp(slow) I
had on a very simple container div with only 4 children elements (a simple
form with, p, 2 input fields, and a submit button). Nothing fancy, but
nonetheless choppy effects sometimes. Hmmm.
-Original Message-
Ólafur Marteinsson wrote:
Hi everyone,
I'm using jquery and interface sortables and I'm getting this weird IE bug,
it doesn't always show up, though most of the time, but all it says is:
Operation aborted.
In FireFox (1.5.0.9) i'm getting another bug which seems to be related. It
says
I did kind of the same think for an extension on to of animation()
function. Funny thing it happened on the time two people to get almost
the same solution.
Lincoln Cooper wrote:
I've written a small plug-in work-around for stopping animation - not
very pretty, but does the job while
I'm having trouble recreating the problem with just the sortable on it so
that gives your theory credibility. Hmmm..
More.
I'm not including the whole interface file, but I've built a selection
combined from drag, drop, sortables, transfer and autoscrolling. In what
order would I include the
Hi,
do you have any sample code for me?
thanks
stefan
I have done it several times already in fact.
What you have to do is add another global keydown event to the
document, in which you then have to check for e.ctrlKey and save the
boolean to a scoped variable your click event can access.
Hmm... yes, but atm the most important thing is: Either IE6 nor IE7 show
my simple slideUp/Down effects *lol* How can this happen? Everything
works basically, it just ignores that it should not only toggle the
visibility but animate it. VERY strange!
Greets,
Arne
Michael E. Carluen wrote:
I
iutil.js
idrag.js
idrop.js
isortables.js
ifx.js
ifxtransfer.js
iautoscroller.js
Ólafur Marteinsson wrote:
I'm having trouble recreating the problem with just the sortable on it so
that gives your theory credibility. Hmmm..
More.
I'm not including the whole interface file, but I've built a
Hi Graeme,
Try something like this:
$('td:contains(term)').parent().addClass('foo');
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 8, 2007, at 1:16 PM, Graeme B. Davis wrote:
Hello,
I'm looking to highlight 1 or more rows of a table which have
I thought he was fairly straightforward in describing the solution (which is
nice by the way!).
var CtrlPressed = false;
// Do these in $(document).ready() method
$(document).keydown(function() { CtrlPressed = true; });
$(document).keyup(function() { CtrlPressed = false; });
In your click
Wow, that is terse! I like it. I really need to get better at selectors as
that wouldn't have occurred to me. Nice.
James
Karl Swedberg-2 wrote:
Hi Graeme,
Try something like this:
$('td:contains(term)').parent().addClass('foo');
--Karl
_
Karl Swedberg
Thanks. :) Yeah, selectors are a kind of hobby for me. Sad, I know.
Anyway, I'm thinking we can make it even more terse this way:
$('tr[td:contains(term)]').addClass('foo');
Cheers,
Karl
On Feb 8, 2007, at 2:38 PM, James Thomas wrote:
Wow, that is terse! I like it. I really need to get
Su,
came across this article,
http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compressing_javascript_and_css_files
not a php guy,so do not know how effective this would be
On 08/02/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Su schrieb:
I'm working on a site which is using
Hi there, I would like to load some data into javascript array from an php
file, how can I do it? I read through the API and find getJSON and
getScript, but there is nothing to handling data after getting it.
Thx forwardly
Alex
___
jQuery mailing list
So right now I have a bunch of jQuery code in a javascript file that I
include on every page. I'd like to separate out the jQuery calls a bit so
that only the ones relevant to each page are called. I think all the work
of looking up non-existent selectors must be slowing our site down.
Is
Mike Alsup schrieb:
Without the hook, the entire jQuery.clean method has to be overwritten. With
the hook, the bug
could be fixed by overwriting jQuery.clean.convert from outside of the
packed code (i.e. via a
plugin, or by copying and pasting jQuery.clean.convert = function(html)
{...}
I tried to check now what's going on there, but still cannot find it. I
tried by using the developer toolbar and found out, that in IE6 the size
of the corresponding elements is continuous counted down as it should
be, but IE6 doesn't refresh in between, but only at the end, when it
(for example)
Hi there, I would like to load some data into javascript array from an php
file, how can I do it? I read through the API and find getJSON and
getScript, but there is nothing to handling data after getting it.
The $.getJSON method passes a JavaScript object to your callback. The
object is the
$.getJSON(mypage.php, function(data) {
var a = data.a;
var b = data.b;
// etc
});
Oops. That should read:
var a = data[0];
var b = data[1];
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
or, even better, you can use an Object,
{ 'a': 'a value',
'b': 'b value',
'c': 'another value'}
On 2/8/07, Mike Alsup [EMAIL PROTECTED] wrote:
$.getJSON(mypage.php, function(data) {
var a = data.a;
var b = data.b;
// etc
});
Oops. That should read:
var a = data[0];
.and then access them with data.a, data.b, etc..
sorry, twitchey Send finger ;)
On 2/8/07, Matt Stith [EMAIL PROTECTED] wrote:
or, even better, you can use an Object,
{ 'a': 'a value',
'b': 'b value',
'c': 'another value'}
On 2/8/07, Mike Alsup [EMAIL PROTECTED] wrote:
$.getJSON(
Hi Mike,
I just made a script in $(document).ready:
$('#albummenu').load('albumok.php',function (data) {
$('#albummenu').find('a').bind('click', function()
{$('#albummenu').hide('slow');});
});
data is like so:
a href=# onclick=showAlbum(8);An item/a
I also have this showAlbum function
Probably could but there comes a time when too much terseness is a bad thing
(a little can go a long way, as in your original example!). That to me is
one of the key things to figure out when programming - how terse can I be
vs. how terse should I be. :) Though I must say, that is powerful! Any
Matt Stith schrieb:
or, even better, you can use an Object,
{ 'a': 'a value',
'b': 'b value',
'c': 'another value'}
Yes, because JSON should be JSON.
Hey Mike, you just invented JSAN: JavaScript Array Notation ... ['a',
'b', 'c']
;-)
-- Klaus
hi,
i was trying the selectabledemo from
http://interface.eyecon.ro/demos/select.html#
in FF2/Win and i receive a a.get(0).f has no properties error when clicking
the serialize link.
Anyone else got that problem or knows how to fix?
thanks
stefan
--
Stefan Kilp
SK-Software, Entwicklung
Hey guys, does anyone know if this plugin[1] is compatible with jQ 1.1.1?
Cheers,
[1] http://fuzz.bassistance.de/jQueryFormValidation/validateTest.html
--
Joan Piedra || Frontend webdeveloper
http://joanpiedra.com/
___
jQuery mailing list
Hi folks,
there were some questions about my very first version of the validation
plugin (it's still on the plugin page). If you are interested in form
validation, you may want to take a look at the current state of the
plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Hey Mike, you just invented JSAN: JavaScript Array Notation ... ['a',
JSAN it is!!
It really doesn't matter. It's just text that gets eval-ed on the
client. JSON should be JSON applies to bidirectional data but when
sending stuff to the client I only care that my JSON is JS. :-)
Mike
How do u get the info for IDAccount ?... from a server request or u actually
know when it is empty and when it is not ?...
If u are obtained IdAccount info from the server u will have to add the
especific code for printing or not the link...
Or u could leave it and when the user make the request
We have several industrial weight scales that report their measurements to a
database every 5 seconds. Is there an efficient way I can use jQuery to
pull this data into a div on my page every 5 seconds so my app always shows
the most recent scale reading?
-Paul
I'm using a simple script to load remote content. So simple like this:
jQuery.noConflict();
jQuery(document).ready(function(){
var showagain = function(){
jQuery(#linkProfessional).animate({opacity: 1.0},
1000).show('slow');
}
I use http://www.jasons-toolbox.com/JHeartbeat/ jHeartbeat for such a
thing.
montare wrote:
We have several industrial weight scales that report their measurements to
a
database every 5 seconds. Is there an efficient way I can use jQuery to
pull this data into a div on my page every 5
Paul, you can use the window object, specifically the
window.setInterval() function, in combination with one of the Ajax
abstraction methods:
var requestInformation = function () {
$.getJSON(url,input,function(output){
$(#infobox).empty().append(p+output.data+/p);
});
}
//
I saw interface has a wonderful demo about float window and resizable,
http://interface.eyecon.ro/demos/windows.html, if you can consider
using interface plugin?
--
I like python!
UliPad The Python Editor: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou
Excellent, thank you!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jake McGraw
Sent: Thursday, February 08, 2007 5:22 PM
To: jQuery Discussion.
Subject: Re: [jQuery] the best way to get live data
Paul, you can use the window object, specifically the
Mike Alsup schrieb:
Hey Mike, you just invented JSAN: JavaScript Array Notation ... ['a',
JSAN it is!!
It really doesn't matter. It's just text that gets eval-ed on the
client. JSON should be JSON applies to bidirectional data but when
sending stuff to the client I only care that my
But has JSON really has to be bidirectional?
I just mentioned that because when posting JSON I think the spec
becomes more relevant as the server is likely using a JSON binding
that adheres to the it.
You know, I just like to stick to standards.
Ha, I know, Klaus! Standards is your middle
Does anyone know if this is still being worked on? I'd be very interested to
use this with a few more features in it.
Luke
Alex Brem wrote:
Hey jQuery lovers,
I coded a small plugin to retrieve the caret position and the current
selection index of input fields and textareas.
Special
Guys,
IE is not playing nice for some god for saken reason and I just can see it.
the url in question:
http://pervasivemarketing.com/wesco/www/calculators/panelcalc
the code in question:
$(document).ready(function(){
$('.calcbuttons').bind(click, function(){
alert('dd');
var div =
Benjamin Sterling wrote:
The click event is not will not bind, i've used .click and the does
not work either. The hide() function is not working either and there
is not error being thrown.
Any help would be great.
Well, I wouldn't want to interrupt your drinking ;) .. but, it does
sound
On 08/02/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi folks,
there were some questions about my very first version of the validation
plugin (it's still on the plugin page). If you are interested in form
validation, you may want to take a look at the current state of the
plugin:
oops... probably not read already! but your much better off waiting for the
document to be ready!
On 2/8/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
and while you are at it... combine the 2 script tags into 1!
usually we just say
if ($.browser.msie) {
}else{
}
and
$('.calchide').ready(function(){
and while you are at it... combine the 2 script tags into 1!
usually we just say
if ($.browser.msie) {
}else{
}
and
$('.calchide').ready(function(){
just looks weird! it's already ready!
ENJOY the drink! We just polished off a bottle of Shiraz!
On 2/8/07, Brice Burgess [EMAIL
a bottle of Shiraz!
was that a bottle to many? :)
On 09/02/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
oops... probably not read already! but your much better off waiting for
the document to be ready!
On 2/8/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
and while you are at it... combine the 2 script tags
Hi,
I'm new to jQuery and I'm looking for a selector expression to do an OR
search.
Couldn't find anything about that in the documentation and the mailing list
(quite hard to search for OR...)
I want to combine the following to statements into one, is that possible?
jQuery(td.L
ah! that was WE had a bottle! ah! perhaps,,, to be replying!
On 2/8/07, Sam Sherlock [EMAIL PROTECTED] wrote:
a bottle of Shiraz!
was that a bottle to many? :)
On 09/02/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
oops... probably not read already! but your much better off waiting for
the document
stumbled across another site using jquery which I did not see in the list
(and its a biggie)
http://shop.vodafone.co.uk/index.cfm
did not see it in the list.
or maybe I am just tired
- S
On 31/01/07, Joel Birch [EMAIL PROTECTED] wrote:
Hi Rey,
If you are still adding to that list, here is
I'm gonna add it now. And to add to that, its a ColdFusion site as well!
Nice find Sam!
Rey...
Sam Sherlock wrote:
stumbled across another site using jquery which I did not see in the
list (and its a biggie)
http://shop.vodafone.co.uk/index.cfm
did not see it in the list.
or maybe I
83 matches
Mail list logo