The firefox doesn`t allow you to have a div inside a label. Checkout the
firebug and see how the firefox close de label tag before your div. So your
label will be empty.
On Thu, Dec 24, 2009 at 14:12, turnavies wrote:
> Hi,
>
> I'm working on a login system in CodeIgniter, where you select your
>
Hi,
I'm working on a login system in CodeIgniter, where you select your
avatar and enter your password to login.
I've accomplished this by attaching labels containing the avatar to
hidden radio buttons.
If you click on one of the avatars, the following jQuery script, that
I call on document.ready
Hi. I have a table set up with a .click() function on each row so
that if it is clicked on, a class is added to the row thus changing
the background, etc. I was wondering if there was is a way to take
the id of the row that was clicked and populate a hidden field with
it. What would I need to i
Off course, i forgot that hehe it is working great right now ;)
About that, i really don't know, sometimes i need to use it this way,
but you can try to validate using W3C tools
On 2 Jul, 17:55, John Newman wrote:
> You can't have 2 elements with the same id on the same page. Instead
> do wou
You can't have 2 elements with the same id on the same page. Instead
do
isn't that invalid html and rejected by some browsers? or is that
normal and just fine to do?
On Jul 2, 12:44 pm, Glazz wrote:
> Hi there,
>
> I have a hyperlink ( ) after i click on that hyperlink, the script
> sends
Hi there,
I have a hyperlink ( ) after i click on that hyperlink, the script
sends some data to a .php page;
That works fine, but for just one hyperlink , i want to be able to
have 2 or more hyperlinks in the same page using the same script.
Here goes the script:
$("#button").click(fun
Hi all,
I'm confused as to why when I have:
$('a').click(function(){
alert(this);
return false;
});
the alert displays the URL defined in the href attribute, and not an
object.
Yet, if i call like say an image, it returns the object.
Thanks
ben
I want to change the color on every click of the div, by changing the
class and checking if hasClass. First removeClass, then addClass.
But this won't work?
Live demo:
http://www.edwinistrator.com/stuff/jquery/
http://www.w3.org/1999/xhtml"; lang="en">
Test
div { cursor: poin
I want to change the color on every click on the div, by changing the
class and checking if hasClass. First removeClass, then addClass. But
this won't work?
Live demo:
http://www.edwinistrator.com/stuff/jquery/
http://www.w3.org/1999/xhtml"; lang="en">
Test
div { cursor: pointe
Hi,
I'm brand new to jQuery, and so far I love it! I don't know ajax from
a cumquat and yet, here I am ajaxing around merrily, even if clumsily.
I've run into a situation where I have a grid of images, one which is
to be the default, or the main image. When I click the radio button,
it correctly
Hi all,
I am new to jquery. My close click event function dosen't
work, when ever i append new html data to my div. Intially it is
working fine with static data. Please help me to fix this problem.
$(function()
{
$("#addrow").click(function()
{
a
Hello,
I've got a menu on my page that opens when clicked, and stays open
until it's reclicked or the user clicks anywhere else on the page.
Basically, it behaves the same as an application menu. The problem is
that a large part of the page is occupied by an iframe and I can't
figure out how to g
I've a simple question..
I'm writing a function that call an event on first mouse click and
call another event on second mouse click.
But I've some problem, because work only the first mouse click:
jQuery(document).ready(function() {
$(".menu a").click(function() {
$(this).next("em").animat
hi to all ;)
It seems that click function doesn't work on html element created on
the fly with jquery. Where am i wrong ?
When i click on the checkbox from paragraph "P2", i got the alert.
But when i click on the checkbox from paragraph "P1" created on the
fly (when i submit a button), then i go
$(".status_actions img").click(function(){
console.log("clicked!");
console.log($(this).attr("alt").val());
});
It puzzles me as to why this does not work...
I am having difficulties with IE6 and IE7 not invoking the click
function correctly. I have to click twice to get it to fire.
test case:
http://dev.dreimorgen.com/test.html
with IE6 or IE7 click on "item1" once then on the "Item 1 content"
link. Repeat the process once more and it should toogle
Hi there,
Please see my example here: http://www.hellobenlau.net/jquery/test.htm
So basically, I want to select a list item from Group A, and when the
transfer button is clicked, it gets transfered to Group B.
However, once transferred, the list items in Group B doesn't respond
to any click func
Hi again,
I have a form with products select menu. I would like to show and hide
product specific options as the user selects them. Now, I can show the
product options but I don't know how to hide them if the user selects
a different product.
My HTML is:
snip...
-Se
Hi again,
I have a form with products select menu. I would like to show and hide
product specific options as the user selects them. Now, I can show the
product options but I don't know how to hide them if the user selects
a different product.
My HTML is:
snip...
Hi again,
I have a form with products select menu. I would like to show and hide
product specific options as the user selects them. Now, I can show the
product options but I don't know how to hide them if the user selects
a different product.
My HTML is:
snip...
-Se
Hi again,
I have a form with products select menu. I would like to show and hide
product specific options as the user selects them. Now, I can show the
product options but I don't know how to hide them if the user selects
a different product.
My HTML is:
snip...
-Se
Hi there guys, it seems muy site is not working on any IE version and
on firefox it does.
http://85.17.142.65/~astrazeneca/proceshtml/astra2.html
thanks for your help
Hi all.
This piece of code runs in FF only once as expected, the click gets
called once, but it gets called multiple times in IE6, can someone
tell me what I am doing wrong? Its the second click below. Not the
livequery click
Thanks
// CODE
$('#intended_branch_container .delete').livequery('c
Brandon schrieb:
The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn.
There are two cases where you'd wan to avoid using each: When you need
to reference "this" without creating a closure and when you've got some
real performance issues. Apart from that I use it all the tim
The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn.
Brandon
On Apr 17, 1:27 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Brandon schrieb:> I am finishing up a small script using the jQuery library,
> and I am
> > struggling with a onclick function:
>
> > for (i=0; i >$(
Brandon schrieb:
I am finishing up a small script using the jQuery library, and I am
struggling with a onclick function:
for (i=0; i
Oh, or just use jQuery.each:
jQuery.each(elements, function(i, value) {
$('#'+settings.instancename+'-nav-'+String(i+1)).click(function() {
Brandon schrieb:
I am finishing up a small script using the jQuery library, and I am
struggling with a onclick function:
for (i=0; i
I think the easiest approach is to copy the value:
for (i=0; ihttp://bassistance.de
I am finishing up a small script using the jQuery library, and I am
struggling with a onclick function:
for (i=0; i
28 matches
Mail list logo