Yes, this can be done. I have used the following code in a list of items (a
html table structure) where items can be dragged to either a folder or a
trashbin.
Here is some of the code:
[code]
86 $(.dndFolder).Draggable (
87 {
88
How can I get all A from all IFRAMES in web?
Thk.
Giro.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
$(element).attr('scrollHeight')
does not work (returns undefined)
but
$(element)[0].scrollHeight
does, is this right?
andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hello again,
I have written a simple menu in the most basic way i could: just an unordered
list, with only the active tab getting a class=active.
I am adding the correct styles to the first and last tabs with the :first and
:last selector. Works just fine.
The last thing i need is to be able to
Consider this plugin
http://www.texotela.co.uk/code/jquery/select/
You can do stuff like
$(#myselect).selectOptions(Value);
David Gironella wrote:
I have a multiple selection select. I can use jquery to check which
options are selected?
Some example?
Thk.
Giro.
Try
$(#menu li.actif ~ li)
Translation:
Find an element with id menu (id by itself is faster than id with tag), then
find a descendent LI with class actif, and return the preceding element if
it is a LI.
Blair
On 1/25/07, Stéphane Nahmani [EMAIL PROTECTED] wrote:
Hello again,
I have written
Aaron Heimlich schrieb:
I don't recall whether IE Mac can read conditional comments, but it
shouldn't matter much considering it's pretty much dead and gone by now.
The IE Mac ignore CC's
--
Viele Grüße, Olaf
---
[EMAIL PROTECTED]
http://olaf-bosch.de
Andreas Wahlin wrote:
$(element).attr('scrollHeight')
does not work (returns undefined)
but
$(element)[0].scrollHeight
does, is this right?
Maybe that's because scrollHeight is a property of an element and not an
attribute (that is reflected in the HTML tag's attribute list).
Try:
Hi,
I found the following error,
This command is not supported,
when trying this line of code in IE6,
$(':submit').attr({ src: images/button_submit.png, type: image });
This works fine in Firefox. I have the latest update of jQuery and I'm
currently using the compressed version.
Thanks in
Thank you! This worked beautifully
Dr. Tarique Sani wrote:
On 1/24/07, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote:
When I use the Form plugin, how can I find out on the server that the
form was submitted via Ajax?
if using PHP then testing env('HTTP_X_REQUESTED_WITH') ==
My guess is that IE doesn't like you changing the type of the INPUT
element from submit to image. I'd advise doing something along
this line (untested code):
$(':submit')
.attr('disable','true')
.hide()
.before( $('input src=images/button_submit.png type=image') );
Karl Rudd
On 1/25/07,
I'm trying to ajaxify my forms. I'm using the forms plugin:
$(#FindHotel).ajaxForm(
{
success: showFormSubmitResult,
dataType: 'xml'
}
);
function showFormSubmitResult(responseText, statusText)
{
Greetings all,
Being new to jQuery (just implemented it yesterday), I have done quite a bit
of searching for information on various jQuery topics, and to help me to
that end I created some Firefox search plugins (for that little box in the
upper-right corner)I hope you guys don't mind! I
Bah. I missed a closing bracket.
$(':submit')
.attr('disable','true')
.hide()
.before( $('input src=images/button_submit.png type=image') );
Karl Rudd
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 25/01/07, Blair McKenzie [EMAIL PROTECTED] wrote:
Try
$(#menu li.actif ~ li)
Translation:
Find an element with id menu (id by itself is faster than id with tag), then
find a descendent LI with class actif, and return the preceding element if
it is a LI.
Blair
$(#menu
I agree. My modified thickbox.js is just 6k packed. Why break it up into
separate downloads?
There are features I would like to see built in (which I've been able to add
with the help of the community), circular browsing for example, but it's
very important to me that ThickBox stays small in
Ⓙⓐⓚⓔ wrote:
sure looks right! IE is disgusting, as so are conditional comments! I
prefer to kludge IE all at once in an if ($.browser.msie) block , and
even load in a different style sheet for those crazy browsers! I read
a way that IE naturally ignores some css (without conditional
Salut
je viens de créer la liste de discussion [EMAIL PROTECTED] pour tous ceux
qui souhaitent parler de jQuery, en français. A bientôt !
Pour s'inscrire il suffit d'envoyer un email à l'adresse
[EMAIL PROTECTED]
ou se rendre à http://listes.rezo.net/mailman/listinfo/jquery-fr
à
On 25 janv. 07, at 10:24, Blair McKenzie wrote:
Try
$(#menu li.actif ~ li)
Translation:
Find an element with id menu (id by itself is faster than id with tag), then
find a descendent LI with class actif, and return the preceding element if it
is a LI.
Yes, it works and your explanation of it is
Olaf Bosch wrote:
Aaron Heimlich schrieb:
I don't recall whether IE Mac can read conditional comments, but it
shouldn't matter much considering it's pretty much dead and gone by now.
The IE Mac ignore CC's
Yes, IE Mac is (was) a completely different browser (apart from the
name). If
Yes. I see, but my question is how can check ALL options.
With classical dom, i can do this:
me=document.getElementById('subselect');
for(var i = 0;i me.length;i++) {
if(me.options[i].selected == true){
}
}
But, with jquery?
Giro.
-Mensaje original-
Ⓙⓐⓚⓔ wrote:
Micheal, so that only works with inline styles?
On 1/24/07, Michael Geary [EMAIL PROTECTED] wrote:
!-- ... - is an HTML comment, not a CSS comment. So, conditional comments
go in your HTML code, not in CSS code.
div.SiteHeader{
border: 1px solid #336566; /*AA*/
On 25/01/07, agent2026 [EMAIL PROTECTED] wrote:
I agree. My modified thickbox.js is just 6k packed. Why break it up into
separate downloads?
There are features I would like to see built in (which I've been able to add
with the help of the community), circular browsing for example, but it's
John Beppu wrote:
Imagine... a PHP page that makes SQL queries right before it populates
a big HTML table that makes heavy use of nested tables for layout but
also has some inlined CSS via the style attribute, and to top it all
off the HTML is littered with onclick handlers and script tags at
On 25/01/07, David Gironella [EMAIL PROTECTED] wrote:
Yes. I see, but my question is how can check ALL options.
With classical dom, i can do this:
me=document.getElementById('subselect');
for(var i = 0;i me.length;i++) {
if(me.options[i].selected == true){
}
}
But,
Actually he's not trying to debug in IE, he's testing in IE and getting that
error.
@Rick: The error you're getting may be caused by
http://jquery.com/dev/bugs/bug/843/ this bug . Basically you need to change
your settings of zIndex to a string.
Adam
Ⓙⓐⓚⓔ wrote:
and as to why you get
Hi Mike,
There is some good material here, just updated tonight.
http://www.malsup.com/jquery/form/
Yes a very good work and material where I can learn more ... tnx 1K :)
--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
It's easier to invent the future than to predict
t many brackets, that's why jQuery always drove me crazy. :D
On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote:
Bah. I missed a closing bracket.
$(':submit')
.attr('disable','true')
.hide()
.before( $('input src=images/button_submit.png type=image') );
Karl Rudd
John Beppu wrote:
I'd like to also add that Unobtrusive Javascript is just cleaner and
easier to understand than the alternative.
And here's another aspect I'd like to add: To me UOJS not also means
graceful degradation plus separation of JS and HTML, it also means to
not add elements to your
But if you want something that does a lot more, than why would you be using
ThickBox in the first place? There are plenty of other lightboxes out there
with bells and whistles you can blow to your hearts content. ThickBox is
the lightweight, 'One box to rule them all' solution. Keep it simple,
To be fair to the Rails people, there is a plugin called UJS for Rails
that promotes the use of Unobtrusive Javascript in Rails web
applications.
http://www.ujs4rails.com/
With that said, I'm not really a big fan of the helpers that Rails
provides for generating obtrusive Javascript in your
Hi guys,
Just wanted to post quick piece of code I've developed
It is a replacement for js alert function I'll be using.
It is a very early stage, but I thought someone may learn from it.
code itself is written as plugin and hopefully comments are clear
It uses dimensions and bounce plugin
anyone?
Dmitrii 'Mamut' Dimandt wrote:
I'm trying to ajaxify my forms. I'm using the forms plugin:
$(#FindHotel).ajaxForm(
{
success: showFormSubmitResult,
dataType: 'xml'
}
);
function
John Beppu wrote:
To be fair to the Rails people, there is a plugin called UJS for Rails
that promotes the use of Unobtrusive Javascript in Rails web
applications.
http://www.ujs4rails.com/
With that said, I'm not really a big fan of the helpers that Rails
provides for generating
Breaking lines and indenting help.
Blair
On 1/25/07, old9 [EMAIL PROTECTED] wrote:
t many brackets, that's why jQuery always drove me crazy. :D
On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote:
Bah. I missed a closing bracket.
$(':submit')
.attr('disable','true')
.hide()
.before(
The only way to use jQuery across frames is to include jQuery in each
frame's source. If they do, then you could do something like:
var a=$(nothing);
$(iframe).each(function(){
if (this.jQuery) a.add(this.jQuery(a));
});
Blair
On 1/25/07, David Gironella [EMAIL PROTECTED] wrote:
How can I
I cant place code inside Iframe.
Thk.
Giro.
_
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Blair McKenzie
Enviado el: jueves, 25 de enero de 2007 12:18
Para: jQuery Discussion.
Asunto: Re: [jQuery] Retrieve a from iframe
The only way to use jQuery across
hi everyone,
i've been trying to integrate interface's imagebox into my site,
using jQuery 1.1.1 and Interface 1.1.1. As soon as i'm clicking on an
image, the imagebox enters the loading image phase and is stuck
there. i've put some debugging code into my site, reading
--
I refactored your function to use jQuery:
function appLayer(id){
//create layerbox
this.$layer = $(div id=' + id + _layer'
class='layerbox'/div).appendTo(#content);
//create form
this.$layer.append(this.$form = $(form id=' + id + _form' name=' +
id + _form' action='index.php'
I test it but firefox 2 say me that I cant access to
HTMLDocument.getElementByTagName
Giro.
_
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Blair McKenzie
Enviado el: jueves, 25 de enero de 2007 12:41
Para: jQuery Discussion.
Asunto: Re: [jQuery] Retrieve a
Hello to you jquery fans out there,
Im using innerfade to fade two areas randomly, stopping the random fading when
a user hovers a link, showing the assozieated logo for the hovered link.
The Problem is that after some time the random fading just stops, while an
error is thrown within jquery.js.
Ah. That was my last idea. Sorry
Blair
On 1/25/07, David Gironella [EMAIL PROTECTED] wrote:
I test it but firefox 2 say me that I cant access to
HTMLDocument.getElementByTagName
Giro.
___
jQuery mailing list
discuss@jquery.com
I'd like to announce the release of my Treeview plugin for jQuery, which
is based on the work of a href=http://be.twixt.us/jquery/;Myles
Angell/a. It allows you to take nested unordered lists and convert
them into a collapsable and expandable tree. It provides options to
animate toggling,
On 1/25/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
I'd like to announce the release of my Treeview plugin for jQuery, which
is based on the work of a href=http://be.twixt.us/jquery/;Myles
Angell/a. It allows you to take nested unordered lists and convert
them into a collapsable and expandable
Thank you so much Jörn, it's really good although animations it's not
beautiful @ my IE.
Anyway, i'd like to know how the plugin detected the actions inside
#treecontrol? reading textNodes inside a?
2007/1/25, Jörn Zaefferer [EMAIL PROTECTED]:
I'd like to announce the release of my Treeview
*g funny, but i think ill use it, thanks
--
View this message in context:
http://www.nabble.com/Some-Firefox-search-plugins-I-made-tf3097158.html#a8612971
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
It just needs to be applied to the element that *should* show up on
top of a select in IE.
--
Brandon Aaron
On 1/24/07, rolfsf [EMAIL PROTECTED] wrote:
What element would I apply bgiframe to - the select or the nested lists in
the menu? I've played a bit with the lists but it's not working
me=document.getElementById('subselect');
for(var i = 0;i me.length;i++) {
if(me.options[i].selected == true){
}
}
Doesn't this work?
$(#subselect option:selected).each(function(){
// do something with selected options
});
The plugin is good if you are adding/removing
This may have already been dicussed, but I just now noticed it. Has
anyone looked at http://joern.jquery.com/api-draft/cat.xml#cat recently?
It now contains the different sections of the API in a collapsible
tree-view.
I think this is Jörn's baby (the link contains 'joern' so I'm making
that
On 25/01/07, agent2026 [EMAIL PROTECTED] wrote:
But if you want something that does a lot more, than why would you be using
ThickBox in the first place? There are plenty of other lightboxes out there
with bells and whistles you can blow to your hearts content. ThickBox is
the lightweight,
Is this just in IE or in other browsers too?
--
Brandon Aaron
On 1/24/07, Jeremy Dill [EMAIL PROTECTED] wrote:
After upgrading from 1.0.4 to 1.1.1 the following code no longer works.
Please tell me if there is a solution to this issue.
---WORKING HTML TEST
Hi !
I'm new to the list, and to jQuery too (I've played a little with
prototype, but jquery realy seems worth a try)
This is an example I think, where using your own attributes gets
useful, not to say necessary :
I'm writing a calendar where user can select a days range clicking on
the
Thanks, Adam...
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of agent2026
Sent: Thursday, January 25, 2007 4:55 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Why am I getting this error message?
Actually he's not trying to debug in IE, he's
arnaud sellenet schrieb:
Do you think of a better way, without using a custom attribute (I'm
not 100% sure but seems like you can't use numeric classes nor id
right ?)
Yes you have a way. Append a second class, so:
div class=calendarmonthh3January/h3
div class=calendarday1/div
I've been toying with this backwards and forwards and I can't get
it...have tried using 'after' as well.
I'm trying to append a paragraph with an ID of 'dhtml'. In the past,
this worked, but it was not inserting the line within the paragraph...
$('div#dhtml').html(html);
My best guess has
This might stupid question but how do I get version 1.1.1? The one I just
downloaded from jquery.org is 1.1.
On 1/22/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
looks like twice firing clicks was fixed in 1.1.1!
On 1/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
is it really hiding 2 times... or a jerky hide
I just happened onto Presentacular [1] for the S5 slideshow script
this morning and was wondering if anyone has rewritten it using
jQuery.
Shane
[1] http://labs.cavorite.com/presentacular/
--
-
Bender: Amy, you like cute things so I baked you a pony.
-
http://www.reefs.org -
On 25/01/07, Vaska [EMAIL PROTECTED] wrote:
I've been toying with this backwards and forwards and I can't get
it...have tried using 'after' as well.
I'm trying to append a paragraph with an ID of 'dhtml'. In the past,
this worked, but it was not inserting the line within the paragraph...
This may have already been dicussed, but I just now noticed it. Has
anyone looked at http://joern.jquery.com/api-draft/cat.xml#cat recently?
It now contains the different sections of the API in a collapsible
tree-view.
I agree. It's really quite nice. And it makes great use of plugins.
It is always (if not then atleast almost always) possible to do thing
like you describe without using custom attributes, BUT don't you think
that arnauds example makes more sense, codewise?
That way you can set the attribs easily
($(something).attr(selectableday, 1)) and then get all the
limodou schrieb:
I tried it recently, and it's excellent. And I want to know if it can
support live modify, just like : add , remove, change?
Well, so far it's only a tree*view* plugin. But it should be a good
basis for further work in that area.
And I don't know if it uses metadata
Rafael Santos schrieb:
Thank you so much Jörn, it's really good although animations it's not
beautiful @ my IE.
Anyway, i'd like to know how the plugin detected the actions inside
#treecontrol? reading textNodes inside a?
Take a look at the treeController function inside the plugin. It
Hey guys and gals,
I am using the Dom creation plugin and when I pass the json information I
get nothing in return. Below is the function I use:
buildScenarioTableList = function(list){
$.tpl(list, function(){
return [
'tr', { 'class':MyTableRow }, [
PragueExpat schrieb:
My question: is it better to define this function as above and pass this
or to define an anonymous function within the .each statement? I read that
the above method only has to compile the function once, as opposed to a
re-compile each time the (anonymous) function runs.
For anyone seeking information about how to manage forms with jQuery,
I've just updated the Form Plugin example page at:
http://malsup.com/jquery/form/
You can find a quick start guide, API docs, examples, a FAQ and more.
Mike
___
jQuery mailing list
Mike Alsup schrieb:
For anyone seeking information about how to manage forms with jQuery,
I've just updated the Form Plugin example page at:
http://malsup.com/jquery/form/
You can find a quick start guide, API docs, examples, a FAQ and more.
Great work on that page, Mike! And another
Thanks, that makes sense. One more thing - after this code runs, is the
resizeDiv function in the global namespace, in a persistant JQuery object,
or garbage collected?
- Original Message -
From: Jörn Zaefferer [EMAIL PROTECTED]
To: jQuery Discussion. discuss@jquery.com
Sent:
Jörn Zaefferer wrote:
Mike Alsup schrieb:
For anyone seeking information about how to manage forms with jQuery,
I've just updated the Form Plugin example page at:
http://malsup.com/jquery/form/
You can find a quick start guide, API docs, examples, a FAQ and more.
Great work on that
Prague Expat schrieb:
Thanks, that makes sense. One more thing - after this code runs, is the
resizeDiv function in the global namespace, in a persistant JQuery object,
or garbage collected?
The DOM ready function provides a private scope, therefore the function
shouldn't be visible anywhere
Mike Alsup wrote:
For anyone seeking information about how to manage forms with jQuery,
I've just updated the Form Plugin example page at:
http://malsup.com/jquery/form/
You can find a quick start guide, API docs, examples, a FAQ and more.
Mike
I like how you combined bookmarkable and
$(document).ready(function(){
function resizeDiv(that){
var x = $(that);
if(x.height() 600){
x.css(height,600px);
}
};
$(#mydiv).each(function(){resizeDiv(this)});
});
My question: is it better to define this function as above
and pass this or to define an
I have a somewhat similar problem with ID selectors, and I posted a message
about it and a bug but so far I haven't gotten a single response from anyone
(here's the bug: http://jquery.com/dev/bugs/bug/881/).
My problem is IDs preceded by a class or another ID (i.e. .myClass #myId
or #firstId
Did you use a (modified) version of my docTool for the API?
Hi Jörn,
Unfortunately I already had that part done when you posted about your
docTool! When I get time I may update that page using the docTool
because it provides some extra bits that I didn't include (tooltips,
etc). But first I
Mike Alsup schrieb:
Did you use a (modified) version of my docTool for the API?
Hi Jörn,
Unfortunately I already had that part done when you posted about your
docTool! When I get time I may update that page using the docTool
because it provides some extra bits that I didn't include
The link Toggle the Box and the boxed text show up on the page,
but the boxed text is not hidden and the link does not toggle the box.
What's wrong?
Rick
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titlejQuery Slick Box/title
script
With Jquery 1.1.1
Firefox 1.5 - Fails
Firefox 2.0 - Fails
IE 6.0 - Fails
IE 7.0 - Fails
With Jquery 1.0.4
Firefox 1.5 - Works
Firefox 2.0 - Works
IE 6.0 - Works
IE 7.0 - Works
Seems to be fairly consistant at least across these browsers.
-Original Message-
From: Brandon Aaron
I'd also like to use Chili for the API browser. Looks like I have the
same problem that you had. What exactly did you modify to get it working?
Yeah, I like Chili a lot. I made a couple changes for optimization
because I didn't want unnecessary server calls and there were a couple
minor bugs
Recently I've started using the form plugin and I've noticed in firebug that
the X-Requested-With header is not being sended for POSTs requests. GETs
work fine.
I'm using last versions for both jquery and form plugin and Firefox 2.0
is it normal behaviour or do I loosing something?
Jip,
I
Hi,
$(document).ready(function() {
// hides the slickbox as soon as the DOM is ready
// (a little sooner than page load)
$('#slickbox').hide();
});
// toggles the slickbox on clicking the noted link
$('a#slick-toggle').click(function() {
$('#slickbox').toggle(400);
All,
Okay, I am confused by the responses and maybe it's my own fault for asking the
question the way that I did. We are on board with the idea of keeping the
presentation and behavior separate for both flexibility and maintainability of
the application. In fact all of our client
Hi Mark,
It seems that in this very 'controlled' situation, you shouldn't have to be too
concerned with it. They aren't web based so you don't have to cater to every
situation. You set the bar for the requirements of your portal, so it's more
like software. You have to have XYZ to run it,
Mark,
Having come from the corporate world, I fully understand your question
and here's my perspective. If you effectively control your application's
usage requirements (ie: browser, browser features, OS, hardware, etc),
then you have the ultimate say in which direction to head to. It sounds
Is it important for us to be concerned with our Web portal applications
degrading gracefully if the user has scripting disabled in their browser?
That's a question only you (and your team and your managers) can
answer. But don't code yourself into a corner if you don't have to.
Consider what
Hello everyone. I am a jQuery newbie. Help! I recently found a really useful
image annotation javascript code called PhotoNotes.
http://www.dustyd.net/projects/PhotoNotes . Unfortunately, it did not come
with an example code on saving PhotoNotes notes using any ajax library to
get me started- I
Hi, Christof...
Thanks for the suggestion, but that didn't work either...same response as
before.
I wonder...on the source of the demo page showing this effect, there is
reference
to both the jquery.js file and another file, examples.js, which I don't have
access to
or reference in my code to.
Reduce risk by not putting all your eggs in one basket.
Eliminate risk by building a damn good basket, and putting all your eggs in it.
What do you and your team consider to be a damn good basket? Reliance
on a certain environment creates the risk of a single point of
failure: if one of things is
Thanks for your reply.
But I have played enough with the css. Infact most of the things in css do
not produce any result. I don't know how but the script generated most of
the style and css is not respected for so many things. I wish I could give
you examples here.
vik
Beren wrote:
I started getting this error message after switching to 1.1 and then 1.1.1,
but then I tried going back to older versions of jQuery, and I'm still
getting the same error! I never got it before I tried the upgrade, though.
And this error is not showing up on our production servers either. I'm
Looking through the docs, I'm not sure that jQuery can do this, but
perhaps someone can point me in the right direction?
I administer an intranet and we recently changed from
intranet.something.com to staff.something.com. Getting 300 users to
change their browser's start page to point to the new
So I thought, JavaScript or jQuery might be of help. If I detect the
old domain name, use jQuery to force a change. We mainly use FF2, IE6,
You should handle this type of redirect on the server.
___
jQuery mailing list
discuss@jquery.com
Tim,
I guess the issue for us is that we want to give our clients as rich a UI as
possible both in Windows and the Web and if we focus on degradation, we may
have to compromise on the richness of the UI. If you try to use the Google
word processor or the Google spreadsheet without scripting
Mike,
I know I can do DNS forwarding, or PHP forwarding on the login page. I
just want to blow the old domain away without everybody calling the
help desk. I want to clean house and do for the user what they won't
do themselves.
Gerry
On 1/25/07, Mike Alsup [EMAIL PROTECTED] wrote:
So I
On 1/25/07, Mike Alsup [EMAIL PROTECTED] wrote:
So I thought, JavaScript or jQuery might be of help. If I detect the
old domain name, use jQuery to force a change. We mainly use FF2, IE6,
You should handle this type of redirect on the server.
He wants to help users change their browsers
Gerry Danen schrieb:
Mike,
I know I can do DNS forwarding, or PHP forwarding on the login page. I
just want to blow the old domain away without everybody calling the
help desk. I want to clean house and do for the user what they won't
do themselves.
I would give the old domain a static
Jennifer,
I am far from being an expert, but as you know an id must be
unique..therefore .myClass #myId is not necessary to target
#myId.surely you should only target the idsame with #firstId
#secondIdsimply declare the id that you wish to target
hth
On 25/01/07,
I'm pretty sure this would be a MAJOR security breach and I doubt that it's
allowed.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Gerry Danen
Sent: Thursday, January 25, 2007 1:54 PM
To: jQuery Discussion.
Subject: [jQuery] Changing a browser's
That would be a nightmare if sites could willy nilly change users' start
pages. I'm pretty sure there's no way to do this or all the evil spammers
in the world would have already done so, right?
Jennifer
Gerry Danen wrote:
Looking through the docs, I'm not sure that jQuery can do this, but
Yeah I know that, but consider this situation:
Two different kinds of pages each have an element with the same ID. I want
my Javascript to only affect the element on one of those pages. So I
precede the ID with the class name I use for that page type, to target the
right one. Isn't this a
On 1/25/07, jgrucza [EMAIL PROTECTED] wrote:
Two different kinds of pages each have an element with the same ID. I
want
my Javascript to only affect the element on one of those pages. So I
precede the ID with the class name I use for that page type, to target the
right one. Isn't this a
Hi Giuliano,
I tried to reproduce your problem, but both types of selectors worked
fine for me.
I used jQuery 1.1.1 packed (Rev. 1173).
You can see the test here:
http://test.learningjquery.com/ids.htm
Here is the relevant script and css placed in the head:
script type=text/javascript
1 - 100 of 157 matches
Mail list logo