Newbie. I have multiple tabs instances on a single page. They each
have a different ID and each set of tabs has 5 tabs. If I am trying
to go to a specific tab via link within a specific set of tabs but it
is updating them all. I figure I need a ".this" command somewhere but
haven't been able to
On Jan 18, 4:55 pm, Scott Sauyet wrote:
> It's a
> very
typo:
difficult
-- Scott
On Jan 18, 11:46 am, Mircea wrote:
> Yes, I want to be able to select a part of the text and add a span to
> it. Can this be done?
It's a very difficult problem to solve in the general case.
Imagine this markup:
It's a
very difficult problem
to
solve in the general c
Thanx a lot Morning.
It does work this way
All the best!
the variable name/reference is "$spn"
so it would be:
$("p").append($spn);
your line of
$("p").append("spn")
does exactly what you told it to do :-)
On Jan 18, 2:34 pm, Mircea wrote:
> I've added
>
> $("p").append("spn")
>
> It ads only the text spn at the bottom of the text. I probably di
I've added
$("p").append("spn")
It ads only the text spn at the bottom of the text. I probably did not
used the append function right to pass the variable to p.
Thanx
it probably is working, but you failed to *do* anything with the
generated tag... that's why i added as a comment:
// append/set this '$spn' inside another DOM object
On Jan 18, 12:29 pm, Mircea wrote:
> Thanx for the code.
> It does not work to me. I am a newbye is JQuery, please excuse the
>
Thanx for the code.
It does not work to me. I am a newbye is JQuery, please excuse the
dumb questions...
This is my code and markup:
http://www.w3.org/TR/html4/loose.dtd";>
http://code.jquery.com/jquery-latest.js";>
http://jqueryui.com/latest/ui/
ui.core.js">
http://jqueryui.com/l
yes, it indeed is
selection = getSelectedText();
if(selection.length >= 3) {
$(this).html($(this).html().addClass("selected");
}
to
selection = getSelectedText();
if(selection.length >= 3) {
var $spn = $("").html(selection).addClass
("selected");
// append/set this '$spn' inside
Yes, I want to be able to select a part of the text and add a span to
it. Can this be done?
Thank you.
if your link follows the pattern of having it's ID as "linkXX" where
"XX" is the zero-based index of a tab, then the live binding will
"pick up" any new instances of such links in your AJAX responses/
additions
btw, i had a typo... "lit.length" should be "hit.length"
On Jan 17, 11:06 am, CMI_Guy
MorningZ, Thanks for your reply. Something was missing from your
syntax so I made one small change to your script:
$(document).ready(function(){
var $tabs = $("#tabs").tabs();
$("a[id^='link']").live("click", function() {
var hit = this.id.match(/^link(\d+)$/);
Thanks MorningZ.. But, it "appears" that your script is missing syntax
somewhereI do not know enough about javascript to find the error.
Any ideas why it's not showing as valid?
$(document).ready(function(){
var $tabs = $("#tabs").tabs();
$('a[id^='link').live("click", function
There's no need to repeat the code... you can even do it with ".live"
so it'll work if there's 1 or 100 tabs
$(document).ready(function(){
var $tabs = $("#tabs").tabs();
$('a[id^='link').live("click", function() {
var hit = this.id.match(/^link(\d+)$/);
StephenJacob,
Sloppy fix. But works.
$(document).ready(function(){
var $tabs = $("#tabs").tabs();
$('#link0').click(function() { // bind click event to link
$tabs.tabs('select', 0); // switch to first tab
return false;
});
});
$(document).r
Thank you both for all your input changing to a click event on the
button seems to have worked. I must have done something different this
time as I tried that before posting here.
Anyway thanks guys.
On Jan 15, 1:17 pm, Amos King wrote:
> Try tying in to the click event of the submit instead
Try tying in to the click event of the submit instead of the submit event.
Just make sure to return false so the submit doesn't go off.
On Fri, Jan 15, 2010 at 5:12 AM, Richard McKenna <
richardofmcke...@googlemail.com> wrote:
> So here's the full example. What it should do is select all the ite
So here's the full example. What it should do is select all the items
that have been moved to the right hand side, then submit the form.
http://67.199.29.196/selecttest.cfm
On Jan 14, 9:27 pm, pedalpete wrote:
> Can you give a bit more detail?
>
> Is the submit not firing? or the .each?
>
> I a
Thanks very much for your reply.
OK following your advice I tried the following
$('form#assignUsersForm').submit(function() {
alert("submit fired");
$('select#assignedUserList option').each(function(i) {
alert("each fired");
$(this).attr("selected",
Can you give a bit more detail?
Is the submit not firing? or the .each?
I always like to give my selectors an element+class/id, apparently it
is more efficient, and I have noticed that some browses (it seems only
sometimes) will miss some elements when only using the id/class.
But throw some ale
Done!
http://vidasp.net/jquery-example6.html
te: Sat, 2 Jan 2010 15:34:30 -0800 (PST)
> To: "jQuery (English)"
> Subject: [jQuery] Re: Select with different fonts for each element
>
>
> I had to go play cards with my cousin, so i left the code messy... it
> has several bugs for now (try hovering over the list an
I had to go play cards with my cousin, so i left the code messy... it
has several bugs for now (try hovering over the list and then hovering
out without clicking any item)...
It should take my 30 minutes to refactor the code and kill the bugs...
Wow. That was quick and VERY cool. Think you'll package that into a plugin
architecture?
Simply, WOW!
Thanks
Steffan
> From: Šime Vidas
> Reply-To:
> Date: Sat, 2 Jan 2010 14:59:34 -0800 (PST)
> To: "jQuery (English)"
> Subject: [jQuery] Re: Select with di
OK, this is it :)
We can call this version alpha 0.1...
the code is super-messy, and it most certanly won't work if you just
copy-paste it... but this example actually works in all browsers...
http://vidasp.net/jquery-example6.html
To: "jQuery (English)"
> Subject: [jQuery] Re: Select with different fonts for each element
>
>
> I made it work in Firefox, but in IE it seems impossible to style each
> OPTION element individually, same problem in Chrome
>
> But, I have an idea... give me a minute :)
I made it work in Firefox, but in IE it seems impossible to style each
OPTION element individually, same problem in Chrome
But, I have an idea... give me a minute :)
Try
$("select[name='kitten3']").append('' + group_array[i] + '");
On Dec 5, 12:33 pm, jabberwok wrote:
> $("select[name='kitten3']").append(new Option(group_array[i],id_array
> [i]));
>
> this code works fine in firefox but not ie
>
> I get new node added to the select but they are blank, no v
http://jqueryui.com/demos/tabs
Choose "Methods", then look for the "select" method
On Nov 2, 9:57 am, northernLights wrote:
> All,
>
> I have placed the tabs widget on my page, however, I don't want the
> first tab to be the default. I want the third tab to the default
> opened tab. How do I
Thanks my friend, works fine..however i'm finding difficulty
understanding the code for next time...Couldn't imagine opening
brackets and writing a filter straight away :not(:contains
On Oct 31, 5:04 am, mkmanning wrote:
> Try this:
>
> $("tr:not(:contains(Brown))").css("background-color", "Red")
Try this:
$("tr:not(:contains(Brown))").css("background-color", "Red");
On Oct 30, 12:58 pm, Aaron Gusman wrote:
> I have a table with 2 columns and four rows. I am currently able to
> highlight the row which contains a specific piece of text. But what I
> want to do is to highlight the rows t
Give this a try...
$(document).ready(function(){
$('select').change(function(){
var key = $(this).parent().parent().find('input').val();
var v = $(this).val();
$('#MSG').html( key +'
'+ v );
});
});
chooseonetwo
Good luck,
Jon
On Oct 12, 7:12 am, zephyr wrote:
> Hi,
> I have a form and want to select a text input element _in that
> specific form_. This is my code:
>
> $("form [name=" +formName + "] :text[name=" +textInputField+ "]"))
Why not:
$(document.forms[formName].elements[inputName])
--
Rob
You have a space between form and [name=...] . In CSS a space is a
descendant selector, so it's expecting some descendant of the form to
have a name equal to formName. Remove the space and you should be fine.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
O
First off, I'd add a around those elements.
If you do that, and give it an id attribute of 'myList', you can do the
following:
// hide all list items
$('#myList li').hide();
// show only class keyword_type_S
$('.#myList .keyword_type_S').show();
You can certainly do the same thing without the
oops, copy/paste error. as there is no "text" method on RegExp
objects, disregard the snippet above. it should be:
// Existing "contains" filter
function (a, i, m) {
return (a.textContent || a.innerText || jQuery(a).text() ||
"").indexOf(m[3]) >= 0;
}
// New ":text-equals" filter
function (a
Hi Julijan,
It sounds like what you need is a ":text-equals" filter The reason
":contains" fails in this case is because it does a global match. By
anchoring the same RegExp against the beginning and end of the string,
you should be able to select elements whose text matches exactly:
// Existing
sounds like you want to .filter() the results, but that will still
iterate. the thing is anything that grabs a bunch of elements and
picks certain ones out is going to loop through them at some point.
if you wanted to do it entirely via selectors (and depending on
whether there is a appropriate a
You could just check the length of the :contains string against
the .text() value in a .filter(function(){ ... })
On Oct 5, 9:20 am, Julijan Andjelic
wrote:
> Is there a way (selector) that would allow me to select an element by
> exact mach of containing text.
>
> example:
>
>
> This is so
yes, Jonathan's method works.
thanks a lot ;)
On Thu, Sep 24, 2009 at 5:28 PM, g...@iec wrote:
>
> $('[type="checkbox"]:checked').each(function(){})
>
> This works.
>
> On Sep 24, 2:22 pm, "Jonathan Vanherpe (T & T NV)"
> wrote:
>> tried Sam Doyle's response yet? It looks like that might be t
$('[type="checkbox"]:checked').each(function(){})
This works.
On Sep 24, 2:22 pm, "Jonathan Vanherpe (T & T NV)"
wrote:
> tried Sam Doyle's response yet? It looks like that might be the proper way.
> $("input[type=checkbox]:checked").each(function(){});
>
> Jonathan
>
>
>
> Xi Shen wrote:
>
> >
tried Sam Doyle's response yet? It looks like that might be the proper way.
$("input[type=checkbox]:checked").each(function(){});
Jonathan
Xi Shen wrote:
tried, not working ;(
On Thu, Sep 24, 2009 at 5:03 PM, Jonathan Vanherpe (T& T NV)
wrote:
Xi Shen wrote:
hi,
i have a group of ch
tried, not working ;(
On Thu, Sep 24, 2009 at 5:03 PM, Jonathan Vanherpe (T & T NV)
wrote:
>
> Xi Shen wrote:
>>
>> hi,
>>
>> i have a group of check boxes, and i want to iterator over all the
>> checked ones. i use the following code, but without luck.
>>
>> $("input[type=checkbox][checked=tru
Xi Shen wrote:
hi,
i have a group of check boxes, and i want to iterator over all the
checked ones. i use the following code, but without luck.
$("input[type=checkbox][checked=true]").each(function()...);
can someone give a better solution?
[checked=checked] ?
--
Jonathan Vanherpe - Tal
$("input[type=checkbox]:checked").each(function()...);
On Thu, Sep 24, 2009 at 9:59 AM, Xi Shen wrote:
>
> hi,
>
> i have a group of check boxes, and i want to iterator over all the
> checked ones. i use the following code, but without luck.
>
> $("input[type=checkbox][checked=true]").each(funct
On Sat, Sep 12, 2009 at 11:30 PM, Karl Swedberg wrote:
>
> On Sep 12, 2009, at 12:57 PM, Mike McNally wrote:
>
> According to MSDN documentation, the "change" event from "select"
> elements doesn't bubble, and that claim is borne out by my own
> empirical observations. Is there some trick I can
On Sep 12, 2009, at 12:57 PM, Mike McNally wrote:
According to MSDN documentation, the "change" event from "select"
elements doesn't bubble, and that claim is borne out by my own
empirical observations. Is there some trick I can pull so that I can
handle those events from a container element
Is this what you are after?
$("span span")
On Sep 1, 12:14 pm, a1anm wrote:
> Hi,
>
> How would I select all spans which have a span as a parent?
>
> Thanks!
$( 'span span' )
:)
On Sep 1, 3:14 am, a1anm wrote:
> Hi,
>
> How would I select all spans which have a span as a parent?
>
> Thanks!
You need to catch the onchange event on the element
On Jul 2, 4:59 pm, sso wrote:
> This is the code I am using to test this. In FF and Op. When I click
> on an option in the select box, the alert pops up. In IE and Chrome,
> it doesn't seem to catch it at all.
>
> $('.clickopt').mousedo
this worked great! thank you muchly!
On Aug 10, 11:19 am, Eduardo Pinzon wrote:
> try this:
> $("#custom1 option").each(function(){
> var class = $(this).html();
> addClass(class);
>
> });
>
> Eduardo Pinzon
> Web Developer
>
> 2009/8/10 Benn
>
>
>
> > This might have been resolved,
try this:
$("#custom1 option").each(function(){
var class = $(this).html();
addClass(class);
});
Eduardo Pinzon
Web Developer
2009/8/10 Benn
>
> This might have been resolved, but I can't find a solution with my
> search. I'm trying to add a class with the text of the option. Simple
You can achieve this with a loop using the each method:
$('select#custom1 option').each(function(){
var theText = $(this).html();
$(this).addClass(theText);
});
However, with your current HTML, the class names will have spaces in
them, which isn't valid.
I am not really used to RegEx. If the return html is like this, how to
add an attribute to .msg-item before parsing out?
nvthoai hi
Cách đây 10 giờ
Trả lời Xóa
try regular expressions
http://www.w3schools.com/jsref/jsref_obj_regexp.asp
http://www.w3schools.com/js/js_obj_regexp.asp
or
http://www.regular-expressions.info/javascript.html
http://www.regular-expressions.info/javascriptexample.html
maybe it helps ;)
On 2 Aug., 21:13, cohq82 wrote:
> Hi all
Either of these should work:
$("#choices option:selected").text();
$("#choices option:selected")[0].text;
On Jul 31, 10:45 am, Zaliek wrote:
> How do I retrieve the currently selected option string in a select box
> instead of the value?
>
> String
>
>
> Using
> $("#choices").val();
> returns
I have just tried putting the search control into an iframe and the
same instances occur! Double Dang! Is there no way to have selectable
form fields in a hovered div? Please, any insight is greatly
appreciated.
On Jul 30, 11:06 am, jeff wrote:
> I am trying to implement a div containing an adva
I'm not really sure what you are asking. Are you referring to the
jQuery ui slider? If so, the jQuery UI google group is probably a
better place to ask that question and search for threads where your
question may have already been answered.
http://groups.google.com/group/jquery-ui
On Jul 23, 3:3
hi amuhlou,
thank you for your quick response.
with the same assumption is there any possibility to get all
grandchildren in the handle property of jquery.
On Jul 23, 12:11 pm, amuhlou wrote:
> Assuming the grandchildren all have the class="grandchild" attribute,
> you could use the find() me
Assuming the grandchildren all have the class="grandchild" attribute,
you could use the find() method:
$('div.parent').find(".grandchild")
On Jul 23, 3:04 pm, Krish wrote:
> Hey All,
>
> I have to select all my grandchildren of parent div. only the
> grandchildren not either of children or gr
What does this have to do with jQuery? O_o
What you're talking about is basic PHP.
On Mon, Jul 6, 2009 at 07:07, Shrimpwagon wrote:
>
> When using a select combo box that has multiple selections enabled, my
> server was not seeing it as an array. It was only seeing it as a
> single variable val
don't know about Chrome, but IE doesn't support onmousedown for option
elements:
from http://msdn.microsoft.com/en-us/library/ms536944%28VS.85%29.aspx
("onmousedown Event"):
Applies To
A, ADDRESS, APPLET, AREA, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON,
CAPTION, CENTER, CITE, CODE, CUST
If you do manage to be able to parse the content, you can use jQuery's
eq() function to get a specific element's index:
http://docs.jquery.com/Selectors/eq
On Jun 30, 12:06 pm, "Cesar Sanz" wrote:
> As the returned html is not yet part of the document until you append it,
> you cannot use jquery
As the returned html is not yet part of the document until you append it,
you cannot use jquery to parse
it.
You will need to parse the string returned by the server, or append to a div
and then make all
your stuffs..
- Original Message -
From: "zendog74"
To: "jQuery (English)"
scratch the last part, text wrapper is the way.
Actually nevermind. Setting the width does exactly what I need,
delete this post at will.
On Jun 30, 11:30 am, sso wrote:
> Thats it.
> How can I wrap text inside a select box? or perhaps I could allow the
> select box to flow over the div its
actually I'm not really sure of *best* way on this one but can help
steer you. I've only ever needed to use change() on selects without
selecting all.Thre might be better suggesstions like blur or
if "select all" is first there won't be a change, and it seems IE
doesn't like $("option")
thanks, charlie,
jquery feels like such a puzzle, and i get bits and pieces from
everywhere.
Can we take this to another level? what if i want to have a first
element in the list, example --select all--, how do i set it so when
this is selected, all values get selected.
On Jun 23, 11:55 am,
$("#yourSelect option").attr("selected","selected");
shaded wrote:
is there a way to select all values of a multiple select list by
default?
Give the three master radio buttons unique ID's or classes. Then,
upon clicking one of them you can add / remove classes and
attributes...
$('#masterRadioOne').click(function(){
($('.radio1').is('.on')) ? $('.radio1').removeClass('on').attr
("checked",false) : $('.radio1').addClass('on').at
Actually, I've just gotten it working. It's amazing what a dinner
break can do for a stalled mind.
As it turns out, I do, in fact, need to be able to sort the deeper
list items. Luckily, a requirement is that they *not* be moved into a
new list.
I forgot to mention earlier that I'd tried using i
one little addition to markup add an id ="list" to ul due to $sortable requirements
$("#section_list li:not('li ul li')").each( function(i) {
position= i+1
myId="foo_"+position
$(this).attr("id",myId);
});
$("#list").sortable();
I have the same problem with Niceforms 2.0, I have it working in 1.0
but 1.0 does not support multiple select so I tried 2.0 but am finding
that the onchange event does not work.
Tested on Google Chrome: 2.0.172.28
Mozilla Firefox: 3.0.10
On May 26, 7:40 am, Amit wrote:
> Hi Guys
There is no ":parent" pseudo-selector that I know of. But there is a
parent() method:
$(this).parent().find('input[name^=subsequentProperty]');
If the input is a sibling of "this" you can take a shortcut:
$(this).siblings('input[name^=subsequentProperty]');
On May 28, 6:40 am, lsblsb wrote:
>
*= in attribute selectors is useful for when something contains a string. If
you explicitly want anchors with a named class, select by the class instead,
e.g. $("a.myclass"). If you wanted anchors that did not have a specific
class, $("a:not(.myclass)"). If you explicitly want all anchors where the
thanks a lot again.
On 22 avr, 13:47, Daniel wrote:
> I'm very glad!
>
> On Apr 22, 6:38 am, gostbuster wrote:
>
> > Thank you very much! it works !
>
> > thanks a lot !
>
> > On 22 avr, 13:31, Daniel wrote:
>
> > > try this...
>
> > > $(".delete").hover(function(){
> > >
I'm very glad!
On Apr 22, 6:38 am, gostbuster wrote:
> Thank you very much! it works !
>
> thanks a lot !
>
> On 22 avr, 13:31, Daniel wrote:
>
> > try this...
>
> > $(".delete").hover(function(){
> > $(this).parent().css('background-
> > color','red');
>
Thank you very much! it works !
thanks a lot !
On 22 avr, 13:31, Daniel wrote:
> try this...
>
> $(".delete").hover(function(){
> $(this).parent().css('background-
> color','red');
> }, function() {
> $(this).paren
Daniel's Suggestion is simple & i think it might work for u.
On Wed, Apr 22, 2009 at 4:31 PM, Daniel wrote:
>
> try this...
>
>$(".delete").hover(function(){
>$(this).parent().css('background-
> color','red');
>}, function() {
>
class "container" contains the CSS code right?if u assign ID to all of your
parent div it'll be very helpful for u in this case & also in many
other scenarios or you can create CSS design on the basis of IDs.
On Wed, Apr 22, 2009 at 4:25 PM, gostbuster wrote:
>
> Hi, thank you for you answser.
>
try this...
$(".delete").hover(function(){
$(this).parent().css('background-
color','red');
}, function() {
$(this).parent().css('background-
color','white');
});
On Apr 22, 6:25 am, gostbuster wrote
Hi, thank you for you answser.
Of course I could do that, expect that I'll have an undefined number
of "container" div. That's why I gave them classes and no id !
Thank you
On 22 avr, 13:17, Zeeshan Khan wrote:
> Instead of call the parent you can call Only that DIV of which u want to
> chang
Instead of call the parent you can call Only that DIV of which u want to
change the background color
$(document).ready(function(){
//action when the mouse is over :
$("#delete").mouseover(function(){ // I select the .delete
divs.
//now i want to
thanks, everything is fine within safari, opera and internet explorer.
within firefox, the container's background color is not changing yet.
as background color firefox (osx) chooses preconfigured systemcolor,
not the one specified in the option-fields style-sheet.
bug in firefox?!
On 21 Apr., 04
Is there a reason you're running a $.each for the selected option? It
seems there's only one possible selected option at once.
$("select").change(function() {
$selected = $(this).find("option:selected");
$("#result").css( 'background-color', $selected.css
(
If you need to have this work in Internet Explorer, you're going to be
very frustrated. The onmouseover event doesn't apply to option
elements in IE.
See http://msdn.microsoft.com/en-us/library/ms536949(VS.85).aspx
(scroll down to Applies To section)
Same goes for onmouseenter:
http://msdn.m
aah, skip that - you'd need to give each row an id and broaden the
selector for that to work wouldn't you.
On Apr 9, 3:01 pm, "ryan.j" wrote:
> could you not just do $('tr td:last').click()?
>
> On Apr 9, 2:56 pm, MorningZ wrote:
>
> > I swear I've seen a post asking this before, one that I eve
$("tr td:last-child").click(function () {
alert("!");
});
On Apr 9, 3:01 pm, "ryan.j" wrote:
> could you not just do $('tr td:last').click()?
>
> On Apr 9, 2:56 pm, MorningZ wrote:
>
> > I swear I've seen a post asking this before, one that I even
> > participated in, but damned if i ca
aah, to do it that way you'd need to assign each row an id and include
a selector for each wouldn't you.
On Apr 9, 2:56 pm, MorningZ wrote:
> I swear I've seen a post asking this before, one that I even
> participated in, but damned if i can find it
>
> given this table structure
>
>
>
>
could you not just do $('tr td:last').click()?
On Apr 9, 2:56 pm, MorningZ wrote:
> I swear I've seen a post asking this before, one that I even
> participated in, but damned if i can find it
>
> given this table structure
>
>
>
>
> One
> Two
> Three
>
If anyone is interested, I found a solution to my problem here.
http://ask.metafilter.com/16153/Images-in-HTML-select-form-elements
Now I'm able to visually select images inside a form, that provides my
PHP script the filename of the selected element. It's actually a play
around with checkbox, no
I want to get the last in the _sub_ list. Here is what I've tried
with no success. Ideas?
$('.list li li:last a').addClass('last-li');
$('.list li ul li:last a').addClass('last-li');
$('.list li:has(ul) li:last a').addClass('last-li');
-
$(
On Tue, Mar 31, 2009 at 8:30 PM, iceangel89 wrote:
>
> how can i select all elements with a prefix of "Lab"
>
> i have textboxes with ids like Lab1, Lab2, Lab3 ...
$("textarea[id^='Lab']")
http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue
--
I have failed as much as I have s
http://www.w3.org/TR/CSS21/selector.html#class-html
--Klaus
On 19 Mrz., 00:04, Karl Rudd wrote:
> Yes, it's standard CSS selector behaviour, so it's also standard
> jQuery behaviour.
>
> Karl Rudd
>
> On Thu, Mar 19, 2009 at 6:32 AM, bill123 wrote:
>
> > I need to select an element like this:
Yes, it's standard CSS selector behaviour, so it's also standard
jQuery behaviour.
Karl Rudd
On Thu, Mar 19, 2009 at 6:32 AM, bill123 wrote:
>
> I need to select an element like this:
>
>
>
> and I've found that both of the following work:
>
> $(".class_a").filter(".class_1").css("backgr
I have added for each loop to supplement the return result from the
php and it did the trick.
On Mar 12, 1:23 pm, "brightdad...@googlemail.com"
wrote:
> I have gone through the autocomplete documentation and therefore
> changed the code to look like this;
>
> function selectItem(li)
I have gone through the autocomplete documentation and therefore
changed the code to look like this;
function selectItem(li) {
findValue(li);
}
function findValue(li) {
if( li == null ) return alert("No match!");
Remove the @. It has be deprecated and no longer used.
On Feb 26, 4:05 pm, cfdvlpr wrote:
> This line worked for jquery 1.2.6:
>
> $('l...@class^=classname]')
>
> This doesn't work for version 1.3.2
>
> Is there some other syntax that works?
What exactly is it that you are looking for as far as a replacement?
JQuery works great with the box. If you are looking for
something visually different, more so than CSS can take care of, you
can check out this one: http://www.brainfault.com/demo/selectbox/, if
there is something more you are l
Yes, you can. In doubt, just try it, it doesn't hurt :)
$("table.font_quotazioni tr:odd:not(.highlight,.midlight)").addClass
("even");
$("table.font_quotazioni tr:odd:not(.highlight):not
(.midlight)").addClass("even");
$("table.font_quotazioni tr:odd").not(".highlight, .midlight").addClass
("even
Is it possibile to add a condition in or to the not condition?
jQuery("table.font_quotazioni tr:odd:not
('.highlight','.midlight')").addClass("even");
Kind regards
Massimo Ugues
On Dec 23 2008, 10:04 pm, aquaone wrote:
> Sure.
> $("table.font_quotazioni
> tr:even:not('.midlight')")...http:
1 - 100 of 403 matches
Mail list logo