$('a.filter').click(function(){
$(this).parent().addClass('active');
});
Dave Maharaj :: WidePixels.com wrote:
How would I go about adding class to the li in this set up?
all
some
none
$('a.filter').click(function(){
$(???).addClass('active');
});
Thanks
Dave
Now instead of multiple Id's all the same you have numeric ID's.
ID's can't start with numbers. Adding onclick to your markup is moving
backwards with jQuery.
Currently your hide function is not available in the DOM for onclick's
as it is closed within jQuery and therefore is not a global func
How would I go about adding class to the li in this set up?
all
some
none
$('a.filter').click(function(){
$(???).addClass('active');
});
Thanks
Dave
Hello. Im trying to make a song request page. Something like:
http://radio.disney.go.com/speak/request.html
But that one is done in flash. I did mine with php but I want that option,
that when u click in the song, it will appear in the bottom and u can submit
it to go to a database. How can I do
Thanks thanks so much
I tried to rebind the event handlers and for some reason that did not
work.
However, the plugin worked perfectly!
Thanks once again, I spent days on this
On Nov 28, 2:17 pm, jpcozart wrote:
> You can use the Live Query plugin to resolve this problem:
>
> http://docs.jque
Solved my own mystery. I was using the wrong #id in the serializeArray()
line. Should be:
$('#response').load('response.php', $("#form1").serializeArray()); NOTE the
$("#form1").serializeArray()...
I had this as $('#response').serializeArray().
Sorry for the posts. Too tired, I should have ca
Greetings all,
I'm trying to learn myself about the load() function using serializeArray().
But when I send my form data to a server script for processing, I do not
know how to access the data sent by my form. I've tried $_REQUEST, $_POST,
and $_GET but all seem to be empty.
My code is short an
bump
I don't think you can JavaScript that dude, sorry.
Michel Belleville
2009/11/28 emurray100
> I need to mark a link as "unvisited". Any idea how I can do
> that in jQuery?
>
> Note: I'm not talking about css styling, I need to reset the
> physical
> property to "unvisited".
>
Just append another each, that should do the work.
$(".whatever").each(function() { /* first this for all */ }).each(function()
{ /* then that for all */ })
Michel Belleville
2009/11/28 kotchin
> hi all
>
> i was wondering how to add a function to the end of an each loop so
> that it executes
OK figured out that problem or actually found the solution. Just have to use
"document.getelementById('textfield id').value". It returns the ids
separated by commas enter from the jsonContainer however, I have one more
issue before I have it working exactly to my liking. If an item has already
bee
setting autoHeight to false can fixed the issue..
On Nov 27, 9:38 pm, puglord wrote:
> My url disappears inside when the DIV is expanded. hovering over the
> url the text then appears. using release jquery-ui-1.7.2.custom.css
>
>
> $(document).ready(function(){
> $("#accordion").accordi
I need to mark a link as "unvisited". Any idea how I can do
that in jQuery?
Note: I'm not talking about css styling, I need to reset the
physical
property to "unvisited".
Hello
I would like to know if its possible to create a FadeIn/FadeOut effect on my
buttons hover event. Currently the transition is static as shown on this
site http://cooper.zxq.net
The code I implemented to do this hover is just using CSS
background-position property.
.image {
l
You can check out the livequery plugin here which addresses this
issue:
http://docs.jquery.com/Plugins/livequery
or you can rebind the event after the ajax call:
function refreshcontent(){
$.get("mycontent.php", function(data){
$("#container").animate({ opacity: "hide" }, 200);
$("#containe
I need to mark a link as "unvisited". Any idea how I can do that in
jQuery?
Note: I'm not talking about css styling, I need to reset the physical
property to "unvisited".
Thanks in advance!
Ed Murray
hi all
i was wondering how to add a function to the end of an each loop so
that it executes once all elements in the each array have been
iterated through.
i would have thought place the function after the closing } of the
each group but this doesn't seem to work - it executes at the same
time as
Hello. Im trying to make a song request list like this one:
http://radio.disney.go.com/speak/request.html
But that one is done with flash. Mine I did it with php. I just want
the function that when you select the song, to appear in a box under,
just like in the site, and that when I click submit,
You can use the Live Query plugin to resolve this problem:
http://docs.jquery.com/Plugins/livequery
Or you can rebind the event handlers after the ajax call has updated
the page. The new nodes do not have event handlers bound to them when
they replace the old nodes:
function refreshcontent(){
Sorry for not making myself clearer. The style classes are no persisting, I
need the exact quote of the html, i.e. the clone without class="" because
I'm going on to do further data processing with the page later and I need to
have the original html code perfectly intact. Hope that makes more sens
On Sat, Nov 28, 2009 at 2:11 PM, coldwired wrote:
>
> The reason is because I need the exact clone of the highlighted tags before
> the selected class is supplied to it.
Sorry, that doesn't answer my question. In what way is having an
element with an attribute class="" causing you trouble? Are so
On Thu, Nov 26, 2009 at 2:16 PM, rbishop wrote:
> Hi there, hoping someone can help a strange intermittent problem.
> Occasionally, I am experiencing 400 bad request errors when trying to
> load jquery-1.3.2.min.js. I have taken the request and response
> headers from firebug during a failure and
The reason is because I need the exact clone of the highlighted tags before
the selected class is supplied to it... removeAttr sounds okay but its a
problem if it removes other classes that might have been there before hand.
Difficult situation...
Cheers,
Col.
brian ally-3 wrote:
>
> I suppose
I suppose you could use removeAttr('class'). But I wonder why this is
a problem, in any case. Why is the class="" giving you problems?
On Sat, Nov 28, 2009 at 8:13 AM, coldwired wrote:
>
> Hi,
>
> The tag is removed but a remendant of it remains, class="". is there
> anything I can do to make the
Shame on me. I found my solution.. it was so simple :)
$('a', this).eq(0).css('color','pink');
Hi,
It's nearly what I'm searching for :)
The problem with your function, is that the script change ALL the for the
child. I just wanna change the first one :)
Thanx a lot
- Original Message -
From: waseem sabjee
To: jquery-en@googlegroups.com
Sent: Saturday, November 28, 20
Hi,
It's nearly what I'm searching for :)
The problem with your function, is that the script change ALL the for the
child. I just wanna change the first one :)
Thanx a lot
- Original Message -
From: waseem sabjee
To: jquery-en@googlegroups.com
Sent: Saturday, November 28, 20
I have done so, but it still doesn't work
Thanks a million Scott!
This worked perfectly for what I needed! At 1st I had a problem
because I forgot to remove the initial javascript from prettyphoto,
without the callback line init. But soon enough I figured it out LOL
again, I just want to say thanks! If you have a website er somethign
you
$(function() {
var list_item = $("li");
var current = -1;
list_item.hover(function() {
var index = list_item.index($(this));
if(index != current) {
$("a", list_item.eq(index)).css({backgroundColor:'#ccc'});
index = current;
}
}, function() {
$("a", list_item.eq(current).css({ backgroundColor:"#FFF"
I have an ASP.Net form that posts data back to a button with codebhind
that sets a hidden label based on the status of the data posted. When
the page posts back, I want to display a "notify" message using
jqDialog. Here is the code I am using:
$(document).ready(function() {
var
I realize there are lots of tutorials posted on how to make a JQ login
form. Unfortunately none that i have googled address the two problems
I am having:
My JS Code which is in the head of my login form:
[code]
http://ajax.googleapis.com/ajax/
libs/jquery/1.3.2/jquery.min.js">
$(doc
Hi Toshiro Takahashi,
So actually i am trying of my own .. its actual challenge for me ...
you can reply me when you are free
Your name is different and good.
On Sat, Nov 28, 2009 at 9:47 AM, tato wrote:
> Hi
>
> Oh, there is a method using Web service to perform "csv to json".
>
> For ex
Hi,
The tag is removed but a remendant of it remains, class="". is there
anything I can do to make the removeClass function restore the attribute to
it's original state?
Thanks,
Colin.
brian ally-3 wrote:
>
> Perhaps it's a problem with your CSS rules. Is the style not removed?
>
> On Fri, N
Thnk a lot.. Work...
Thkns
On 26 nov, 14:02, Jörn Zaefferer
wrote:
> That script will get a single GET paremter with the name of the field as the
> key and the value of the field as the value, here you'd get
> verifica_user.php?cusuario=username
>
> Jörn
>
> On Thu, Nov 26, 2009 at 1:30 PM,
Thank you Charlie,
I'm terribly sorry for the confusion,
I'm working on the nav-bar menu not the vertical style,
the link for the vertical example was to maybe give a direction for
the solution,
the nav-bar is still not working, I spent over a week on this already.
Any Ideas?
On 28 נובמבר, 02:18,
Thanks Michel - I appreciate the time you took here to provide such a
useful answer - javascript algebra in essence.
Cheers, Bruce
On Nov 28, 12:18 am, Michel Belleville
wrote:
> Now let's try to simplify this a bit :
>
> $('a.c_update').each(function() {
> var $a = $(this);
> var q = $a.attr('
37 matches
Mail list logo