This is a known issue, you must not include an element name in the not
selector, for example:
$(".res img").not("[EMAIL PROTECTED]")
is actually saying, find all images inside an element that has a class
of res. Now remove all elements that are images OR the src ends with
on. Changing your code t
On 1 févr. 07, at 0:16, Karl Rudd wrote:
> What version of jQuery are you using?
I'm using 1.1.1. This is strange. Even though my html and everything
is obviously more complex than this, the simple selector $(".res img")
does find the 3 images, so i wonder why refining it with the @src
does
Hi, I am looking for a way to emulate the 'alwaysHide' option in
mootools/accordion in jQuery/Interface
http://docs.mootools.net/files/Plugins/Accordion-js.html
http://interface.eyecon.ro/docs/accordion
Any suggestions ?
___
jQuery mailing list
discus
Not sure if it is a bug in the sense that it is not doing what it is
supposed to do, and keep in mind that I have not fully grasped the full
functionality of jQuery, xpath, and xml. But for my instance, I have an xml
file where one of the elements attributes is "for," which in my case will
help t
> It has been mentioned that .html() does not use innerHTML
> for insertion into the DOM.
Any of the jQuery functions that take a html string go through innerHTML to
convert it to DOM nodes. That includes .html() but also methods like
.append() when they are passed strings (as opposed to DOM nod
On 2/1/07, Joel Birch <[EMAIL PROTECTED]> wrote:
> I was referring to using innerHTML only, though. It has been
> mentioned that .html() does not use innerHTML for insertion into the
> DOM.
>
> Joel.
Agreed, as far as i remember, using XHTML 1.1 and serving it as xml,
innerHTML is read only. that'
On 01/02/2007, at 1:58 PM, Chris Domigan wrote:
> Ah yes, I meant XHTML served as XML not text/html. Are you saying
> that innerHTML works even when served as an application of XML? If
> so, I stand gratefully corrected.
> Joel.
>
>
> I use .html() fine and I'm serving proper xml :)
>
> Chris
I
Ah yes, I meant XHTML served as XML not text/html. Are you saying
that innerHTML works even when served as an application of XML? If
so, I stand gratefully corrected.
Joel.
I use .html() fine and I'm serving proper xml :)
Chris
___
jQuery mailing
On 01/02/2007, at 1:48 PM, John Resig wrote:
> innerHTML works just fine on XHTML pages - jQuery.com is XHTML.
Ah yes, I meant XHTML served as XML not text/html. Are you saying
that innerHTML works even when served as an application of XML? If
so, I stand gratefully corrected.
Joel.
_
> Also, if you ever want to serve the page as XHTML your script will
> not work because innerHTML does not work for XML pages of course.
innerHTML works just fine on XHTML pages - jQuery.com is XHTML.
Additionally, as mentioned before, jQuery doesn't use innerHTML for
insertion - only serializatio
> Whatever the user enters in the input field will be copied to the element,
> but what if the user enters html? That could cause some serious havoc with
> your document. (Starting with jQuery 1.1 the .text() method is a setter, but
> at the moment it just sends the input to .html() which wouldn't
And here's a discussion of innerHTML by Peter Paul Koch (aka ppk):
http://www.webreference.com/programming/javascript/ppk2/4.html
On 1/31/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
On 1/31/07, Joel Birch <[EMAIL PROTECTED]> wrote:
>
> > Let's not forget that xmlHttpRequest is also not standa
On 1/31/07, Joel Birch <[EMAIL PROTECTED]> wrote:
> Let's not forget that xmlHttpRequest is also not standard.
I thought this was recently made standard.
Joel.
It has -- it just hasn't been finalized yet:
http://www.w3.org/TR/XMLHttpRequest/
The Web API Working Group[1] is working on a bunc
Karl Swedberg-2 wrote:
>
>
> Here is the relevant snippet of his comment:
>
>> Nice post, but … it’s a lot better to use the DOM methods :
>>
>> $('#show-alert').click(function() {
>> var oDIV = document.createElement('div');
>> oDiv.className = 'quick-alert';
>> oText = document.createTextNo
On 01/02/2007, at 1:24 PM, Brandon Aaron wrote:
> On 1/31/07, Joel Birch <[EMAIL PROTECTED]> wrote:
>> On 01/02/2007, at 1:07 PM, Brandon Aaron wrote:
>>
>>> Let's not forget that xmlHttpRequest is also not standard.
>>
>> I thought this was recently made standard.
>> Joel.
> I'm pretty sure it is
I'm pretty sure it is still a working draft:
http://www.w3.org/TR/XMLHttpRequest/
However, it is pretty much guaranteed to be a standard. :)
--
Brandon Aaron
On 1/31/07, Joel Birch <[EMAIL PROTECTED]> wrote:
> On 01/02/2007, at 1:07 PM, Brandon Aaron wrote:
>
> > Let's not forget that xmlHttpReq
On 01/02/2007, at 1:07 PM, Brandon Aaron wrote:
> Let's not forget that xmlHttpRequest is also not standard.
I thought this was recently made standard.
Joel.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 1/31/07, Rey Bango <[EMAIL PROTECTED]> wrote:
> [...] And I think also select (but I'm not sure
> anymore, because I cannot find anything in the docs).
It is read-only for select elements too.
> Most relevant here are table and select elements I guess. Populating a
> selectbox by simply changi
Standards vs. Reality ... doesn't always mix very well. If someone
feels very strongly about *not* using the innerHTML property, then
that someone could use any one of the several DOM creation plugins
that are available. They all use the long route to adding elements to
the DOM (if I remember corre
Karl Swedberg wrote:
>
> Hello my jQuery friends,
>
> I received a comment on learningjquery.com this evening from someone who
> had a grievance with part of some example code. I was wondering if any
> of you would be willing to shed some light on this for me. I think what
> he's getting at is
On 01/02/2007, at 12:30 PM, Karl Swedberg wrote:
> I'd love to hear your opinions about this. With HTML/CSS stuff, I'm
> obsessed with standards and such. And one of the things that has
> always really attracted me to jQuery is its unobtrusiveness. I also
> read Jeremy Keith's DOM Scripting
Hi Karl,
The use of innerHTML is fairly common. I actually asked Klaus Hartl the
same thing awhile back and here's his reply:
"according to the IE documentation, the innerHTML property is read-only
for the following elements: col, colgroup, frameset, html, style, table,
tbody, tfoot, title and
Hello my jQuery friends,
I received a comment on learningjquery.com this evening from someone
who had a grievance with part of some example code. I was wondering
if any of you would be willing to shed some light on this for me. I
think what he's getting at is the whole "innerHTML is evil"
I'm not sure if this is the best way, but I did get it working -- if anyone
can point out a better approach, I'd love to hear it. Thanks
$(document).ready(
function(){
$("#reportsPane, #filesPane").hide();
$("[EMAIL PROTECTED]'type']").cli
Hello all,
I was just wondering if the "Known Konqueror issues " are issues with
konqueror (3.5.6?) or are issues with Jquery ?
I am a fan of Konq and so which ever piece of software has the problems i'd
like to help resolve it , just need to find out what the issues are first.
regards
Andre
cool, i'll try it out, thanks !
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Cook
Sent: jeudi 1 février 2007 0:57
To: jQuery Discussion.
Subject: Re: [jQuery] Some Firefox search plugins I made
That’s kinda kewl, thanks! :-)
_
From: [EMAIL PROTEC
> Unfortunately this doesn't seem to interrupt events. I've used *many*
> combinations of this technique to no avail -- trying different
> posistions, including event.preventDefault and event.stopPropagation,
> etc. etc.. and have not been able to figure out a means to stop all
> interactivity.
Br
Karl Rudd wrote:
> The $() you have at the moment just binds to the document. You
> probably want $('*'), which selects all elements on the page.
>
> Karl Rudd
That makes more sense... although would it be wise to do (efficient-wise
that is?). It seems that on a large page, that would assign *many
The $() you have at the moment just binds to the document. You
probably want $('*'), which selects all elements on the page.
Karl Rudd
On 2/1/07, Brice Burgess <[EMAIL PROTECTED]> wrote:
> I am trying to figure out how to block *all* activity on a page. When
> the page loads, I do not want clicke
That's kinda kewl, thanks! :-)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kenneth
Sent: Thursday, January 25, 2007 1:41 AM
To: discuss@jquery.com
Subject: [jQuery] Some Firefox search plugins I made
Greetings all,
Being new to jQuery (j
I am trying to figure out how to block *all* activity on a page. When
the page loads, I do not want clicked links to be followed, keypresses
to be registered, etc. etc.
Here is what I have tried;
$().ready(function() {
var h = function() { return false; };
$().bind('keypress',h).bind(
I'm trying to show/hide 2 different divs based on which choice a user has
selected (could be radio buttons or a select)
reports
files
Reports options here
Files options here
So, if the user selects "files", then #reportsPane is hidden and #filesPane
is shown. If user select
Alex Calara schrieb:
> I'm sure my designer won't really like the fact that it looks weird
> during resize. If he doesn't, is there a solution for that as well?
Use a float layout. Your solution won't even degrade gracefully with
JavaScript turned off.
-- Klaus
__
With the HTML you've given $(".res [EMAIL PROTECTED]") works for me.
However $(".res img").not("[EMAIL PROTECTED]") does not work. Changing it to:
$(".res img").not("[EMAIL PROTECTED]")
Results in the same elements as the $(".res [EMAIL PROTECTED]") selection.
What version of jQuery are yo
No takers? Maybe i wasn't clear?
On 31 janv. 07, at 8:23, Stéphane Nahmani wrote:
> Hello folks,
>
> I seem to have a problem with a selector, which i have turned every
> way i could think of with no results, so i'm asking for your advice. I
> had this html (pared down):
>
>
>border="0"
Mike Alsup schrieb:
>> I have just updated the Tabs plugin, which now supports loading tab
>> content via Ajax. As you would expect I did that in an unobtrusive manner.
>
> As always, great job, Klaus. This is a great feature.
>
> Watching it in FireBug it looks like there's a little issue with
Benjamin Sterling schrieb:
> This tells me that it is pulling the right things (I assume) but when
> I add:
> $.log($('[EMAIL PROTECTED]', doc).attr('for'));
> $.log($('[EMAIL PROTECTED]', doc).attr('for'));
>
> I get undefined for them both. But if I change for to whatfor, it
> works.
Karl Swedberg schrieb:
> In my implementation, WordPress treats any tags in a post as if they
> were actual tags, even if they're wrapped in .
>
> I have to use, for example, link
> text
>
> For blocks of code I use the IG:Syntax Hiliter:
> http://blog.igeek.info/wp-plugins/igsynta
Ok, here is an update using the code Jörn's code:
I added another item to the xml:
When I do the below:
$.log($('[EMAIL PROTECTED]', doc));
$.log($('[EMAIL PROTECTED]', doc));
In firebug I get:
[item]
[item]
when I mouse over these i see that it has:
text/item
text/item[2]
Thi
Mike, my brain is fried and I just could not say what I mean, but thanks for
trying to understand :)
Jörn, I think that is exactly what i am looking for. I will test shortly
and post if it worked or not.
Thanks guys.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
_
In my implementation, WordPress treats any tags in a post as if they
were actual tags, even if they're wrapped in .
I have to use, for example, link text
a>
For blocks of code I use the IG:Syntax Hiliter:
http://blog.igeek.info/wp-plugins/igsyntax-hiliter/
Then I do something l
it looks lilke a similar idea... but without the remote part. with the
addition of the perl program you are not limited to a heartbeat from
your own machine it would work with any machine!
On 1/31/07, Web Specialist <[EMAIL PROTECTED]> wrote:
> Jake, jquery plugin page haves a great plugin for
1 extremely simple perl program ! gets foreign pages, rss, basically anything!
On 1/31/07, Olaf Bosch <[EMAIL PROTECTED]> wrote:
Ⓙⓐⓚⓔ schrieb:
> You might get some extra hits by remote-ajaxing the page and checking
> the headers to see if the page uses a non-standard favicon.
>
> Link: ; rel="S
Benjamin Sterling schrieb:
> Mike, thanks for the quick response.
>
> Is there an easy way of getting the other attrs if I want to grap it
> from 'DELETEDIALOG' (sorry if this does not make sense, did not know
> how to word it) I was thinking of using .index somehow, but not sure
> how to do th
> Is there an easy way of getting the other attrs if I want to grap it from
> 'DELETEDIALOG' (sorry if this does not make sense, did not know how to word
> it) I was thinking of using .index somehow, but not sure how to do that.
I'm not sure I follow. You can get any of the attributes using the
hello,
i'm trying to help someone on the thickbox forum, but the issue he encounters
seems really weird to me, and happens only with firefox.
here is the thread: HYPERLINK
"http://codylindley.com/thickboxforum/comments.php?DiscussionID=405&page=1#Item_6"http://codylindley.com/thickboxforum/co
> Afaik Firefox triggers the event after the resize has
> finished, while IE triggers it already while still resizing.
That is what I observed while testing the splitter. Also, IE fires "resize"
events on all the resized elements, Firefox does not.
> I'm sure my designer won't really like the fa
Mike, thanks for the quick response.
Is there an easy way of getting the other attrs if I want to grap it
from 'DELETEDIALOG'
(sorry if this does not make sense, did not know how to word it) I was
thinking of using .index somehow, but not sure how to do that.
Thanks.
--
Benjamin Sterling
http:/
Jörn Zaefferer schrieb:
> Alex Calara schrieb:
>> Ah, that does it. It's a little laggy, you can resize the window all
>> day long with the columns adjusting and the footer stays exactly
>> where it started off, and then the moment you let go of the mouse
>> button, it snaps to the bottom of
I'm sure my designer won't really like the fact that it looks weird
during resize. If he doesn't, is there a solution for that as well?
On Jan 31, 2007, at 1:10 PM, Jörn Zaefferer wrote:
> Alex Calara schrieb:
>> Ah, that does it. It's a little laggy, you can resize the window all
>> day long w
> This is how I would normally use js to call the xml:
> var text= xmldoc.getElementsByTagName("text")[0];
jQuery can work its magic on your xml document, just pass the doc as
the context arg:
var tagValue = $('item', xmlDoc).attr('tag');
___
jQuery ma
Alex Calara schrieb:
> Ah, that does it. It's a little laggy, you can resize the window all
> day long with the columns adjusting and the footer stays exactly
> where it started off, and then the moment you let go of the mouse
> button, it snaps to the bottom of the longest column. I guess th
Hey guys and gals,
I have a xml doc that I will be pulling in with $.ajax and a datatype of
xml. My question is two fold, how should I effeciently handle the return
xml file and is there an easy way to convert the xml doc to json format.
This is how I would normally use js to call the xml:
var t
Alex Calara schrieb:
> Ah, that does it. It's a little laggy, you can resize the window all
> day long with the columns adjusting and the footer stays exactly
> where it started off, and then the moment you let go of the mouse
> button, it snaps to the bottom of the longest column. I guess th
Anyone got some good, maybe more advanced, Sortables examples that illustrate
how all the different methods and properties can be used?
Thanks - wayde
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Ah, that does it. It's a little laggy, you can resize the window all
day long with the columns adjusting and the footer stays exactly
where it started off, and then the moment you let go of the mouse
button, it snaps to the bottom of the longest column. I guess the
jQuery resize event only
your ie hack could have been coded with 1 line in jq! I don't use IE
often, and am not familiar with the comment hacks enough to comment. I
usually say
if($.browser.msie) do_dirty_work
I'm glad it was just the gifs!! the code has now found a place in my arsenal!
On 1/31/07, weide <[EMAIL PROTECTE
Jake, jquery plugin page haves a great plugin for hit remote URL every X
time. Named JHeartBeat(http://www.jasons-toolbox.com/JHeartbeat/). Looks
like a great choice. Your demo works like that?
Cheers
2007/1/31, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]>:
Dan, it's on my home machine http://cigar.dynalias.o
Can you post your full code? The major change was the destructive
methods in jQuery are no longer destructive - meaning that you may not
need .end() anymore.
--John
On 1/31/07, Mark D. Lincoln <[EMAIL PROTECTED]> wrote:
>
>
>
>
> All,
>
>
>
> Can someone please explain the change that was made to
We've done something similar to this on one of our applications. We ended up
placing a div and an iframe behind it which we styled using inline css and a
short javascript block that executes directly after the elements in the
document. Then we set jQuery for when the document is loaded to remove t
Dan, it's on my home machine http://cigar.dynalias.org/woot.html
it's active right now woot is selling different products every
few minutes!!
On 1/31/07, Dan Atkinson <[EMAIL PROTECTED]> wrote:
>
> As much as I enjoyed this demo, my brain has trouble parsing and rendering
> HTML and Jav
Hmm... I may have been wrong on both counts...
I suppose you could replace the opening tag with a < then.
Andreas Wahlin-4 wrote:
>
> Yeah, you understood me correctly, thanks.
> However, this does not seem to work.
> For instance,
>
> http://www.w3.org/ W3C
>
>
> becomes a regular link, a
All,
Can someone please explain the change that was made to JQuery that made the
end() method function differently between version 1.0.4 and version 1.1.1?
I have some code that I uses the end() method to "revert" the JQuery object
to the previous object and it no longer seems to do that. Prev
The flicker problem I had has gone. It used to flicker in slideToggle().
Thanks!
On 1/31/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
I just checked in a fix for the flickers that have been happening in
the fx module. Anyone that was having problems with flickers in their
animations (mostly in
> Yep, a replace() function would be nice.
Here you go, world's smallest plugin:
$.fn.replace = function(o) { return this.after(o).remove(); };
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Personally i don't think so. Once you get the jquery logic, it's very easy
to figure out how to do the replace() (see how many people answered
correctly :) )
One of the strength of jquery is its low file size. Only use the extreme
necessary for jquery, and plugins for custom flavours...
-Or
Here is a rather lengthy explanation of the situation on the Surfin'
Safari blog:
http://webkit.org/blog/?p=66
If that doesn't help, you can search Google for:
safari "flash of unstyled content"
or:
safari fouc
Hope that helps,
--Karl
_
Karl Swedberg
www.englishrules.com
w
I love the below, me is the n00b and am looking there...help and docs is
appreciated.
lol
Thanks
Bruce Prochnau
bkdesign solutions
- Original Message -
From: Alex Cook
To: jQuery Discussion.
Sent: Wednesday, January 31, 2007 1:12 PM
Subject: Re: [jQuery] make a div disappea
John Napiorkowski schrieb:
> Two things I'd really like are a good system for
> creating classes with clear inheritance and support
> for java-style interfaces. The second would be
> support for namespaces and a way to include modules as
> needed.
>
While I haven't build "really really big" app
Don’t, you should push learningjquery.com more… that site is a god-send for the
various n00bs I’ve intro’d to jQuery…
-ALEX
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg
Sent: Wednesday, January 24, 2007 7:35 AM
To: jQuery Di
Hi,
I know this is mostly offtopic for jquery, but since
I've started using the great library I've been pushing
myself to improve my javascript code technique. I am
sure using jquery has inspired me to be a better
javascript programmer and I am sure many of you
feeling the same way.
Two things I
Thanks for all your replies. Looks like everyone settled on a similar
solution using before() or after() in combination with remove().
Yep, a replace() function would be nice.
Shane - Just in case you don't already know about it, wrapInner() is
available as a plugin at http://motherrussia.polyest
This is mostly a guess, but
$('#element').after('new stuff').remove();
andreas
On Jan 31, 2007, at 15:02 , George Adamson wrote:
>
> Despite having used JQuery for some time and also written plugins,
> I've never
> discovered a good way to replace one element with another.
>
> Just need someth
Yeah, you understood me correctly, thanks.
However, this does not seem to work.
For instance,
http://www.w3.org/";>W3C
becomes a regular link, and
Hi,
I'm trying to make an ajax validation for reductions codes..
I've got an hidden form to test the value :
My problem is that when i use thickbox, i don't have access to the value of
my input text anymore !!
my input #code doesn't seems to have a value !!
What's the problem ?? how can i get
I just checked in a fix for the flickers that have been happening in
the fx module. Anyone that was having problems with flickers in their
animations (mostly in Firefox) please grab the latest from SVN and let
me know if it solves your problems or not.
--
Brandon Aaron
___
This is now fixed in the latest SVN.
--
Brandon Aaron
On 1/30/07, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
>
>
> ./dist/jquery.js Built
>
> Building ./dist/jquery.lite.js
> - Removing ScriptDoc from ./dist/jquery.js
> js: "build/build/lite.js", line 1: Couldn't open file
> "../jquerybuild/
>> maybe you could insert jquery by adding a generated
> Thank you for your help, here it is:
> http://www.pixeline.be/test/jquery/blockUI/
Alexandre,
It seems that behavior happens when IE is running in quirks mode. It
works fine in strict mode. Try adding this as the first line in your
document:
http://www.w3.org/TR/html4/strict.dtd";>
Mike
_
Hi,
I'm having the same problem only not using bind but just attaching the
function using the simple syntax. Here is my post of a couple of days ago:
http://www.nabble.com/IE-function%28%29-bug-when-using-clone%28%29-tf3137347.html
Unfortunately, noone has responded to my post yet either.
We d
Hallo,
> maybe you could insert jquery by adding a generated
Thanks Brandon,
I upgraded this app to v1.1.1 and it resolved the issue.
Rey...
Brandon Aaron wrote:
> Hey Rey,
>
> This was fixed in 1.1. That is why 'show' and 'hide' *now* removes the
> hardcoded styles left behind.
>
> --
> Brandon Aaron
>
> On 1/31/07, Rey Bango <[EMAIL PROTECTED]> wrote
Thank you!
Simon Proctor wrote:
> I think this should work.
>
> $('#myselect').get(0).selectedIndex;
>
> But you'd want to check that the $() matched.
>
>
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Thank you!
Sam Collett wrote:
> On 31/01/07, Dmitrii 'Mamut' Dimandt <[EMAIL PROTECTED]> wrote:
>
>> How do I access dollarified object's DOM properties without using each()?
>>
>> That is, let's say, I have a select on my page:
>>
>>
>> 1
>> 2
>>
>>
>>
>> How can I access its selecte
Very nice, Jake. I was looking for a method to do this but I never found one.
Thanks a lot!
Ⓙⓐⓚⓔ wrote:
>
> I casually mentioned 'remote ajax' in another thread... I thought I'd
> show a demo of it... very simple!
>
> it's used to watch woot.com while they are doing rapid sales!
>
>
> "ht
Hey Rey,
This was fixed in 1.1. That is why 'show' and 'hide' *now* removes the
hardcoded styles left behind.
--
Brandon Aaron
On 1/31/07, Rey Bango <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I'm having some trouble with a getting a div to size correctly. In some
> instances, the results that I'm
Are you setting any height in your javascript?
Otherwise, although i don't see any float in your style sheet, it looks like
this is something that could be fixed by
Using the "clearfix" css trick:
http://www.positioniseverything.net/easyclearing.html
In your stylesheet:
.clearfix:after {
Hello Mike,
Thank you for your help, here it is:
http://www.pixeline.be/test/jquery/blockUI/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: mercredi 31 janvier 2007 15:07
To: jQuery Discussion.
Subject: Re: [jQuery] blockUI/unblockUI: l
Hi,
maybe you could insert jquery by adding a generated
You should be able to do something like this.
$('#myElement').before('replacement').remove();
--
Brandon Aaron
On 1/31/07, George Adamson <[EMAIL PROTECTED]> wrote:
>
> Despite having used JQuery for some time and also written plugins, I've never
> discovered a good way to replace one element wi
> Despite having used JQuery for some time and also written plugins, I've never
> discovered a good way to replace one element with another.
>
> Just need something like: $("#myElement").replaceWith("new
> element")
I usually do this:
$("#myElement").after('new element').remove();
__
Hey all,
I'm having some trouble with a getting a div to size correctly. In some
instances, the results that I'm getting back are being displayed outside
of the container div.
Steps to see the issue:
1) Go to http://dev.healthybuyersclub.com/reyship.cfm
2) Click on Go button and you should get
You might try:
$("#myElement").remove().after("new element<\/div>");
It would be nice to have a replaceWith method and a wrapInner method
in the core as I've found I need to be able to do this on a regular
basis.
FWIW,
Shane
On 1/31/07, George Adamson <[EMAIL PROTECTED]> wrote:
>
> Despite ha
> ... i tried this, according to the doc it should work, yet it does not do
> what i want: display a "wait" modal screen on page unload, and hide it when
> the page is loaded. what am i doing wrong?
Hi Alexandre,
Do you have a sample page somewhere we could look at?
I would try: $("#myElement").before( "new element").remove();
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of George Adamson
Sent: mercredi 31 janvier 2007 15:02
To: discuss@jquery.com
Subject: [jQuery] What is the best way to replace an element using J
Use the standard onload event?
$(window).load(function(){alert( 'Load event') } );
As opposed to:
$(function(){ alert( 'DOM loaded' ) };
On 1/31/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
>
>
> Hello again,
>
> Any idea how i can trigger a function when every element on the page has
>
Despite having used JQuery for some time and also written plugins, I've never
discovered a good way to replace one element with another.
Just need something like: $("#myElement").replaceWith("new
element")
Depending on the circumstances I usually find I have to resort to DOM
methods or if myElem
Hello again,
Any idea how i can trigger a function when every element on the page has been
loaded (including external js, css and img files) ?
Thanks
alex.
--
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.441 / Base de données virus: 268.17.17/661
I think this should work.
$('#myselect').get(0).selectedIndex;
But you'd want to check that the $() matched.
--
Simon Proctor
Generally Unstable Rapid Programming Stylist
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I'll try to describe it with my poor English...
When Safari starts loading a page...
It looks like page has no CSS at all and it appears in default markup (just
a long list of DIVs)
then Safari "discovers" CSS and re-renders the page in a normal way...
All this leads to annoying flicks on the pa
1 - 100 of 137 matches
Mail list logo