I think this will works
$(".delete").bind('click', function(e){
var _id = e.target.id;
$("#confirm_box").css({left: e.pageX-453, top: e.pageY})
$("#confirm_box").fadeIn(300);
$("#del_nao").bind('click', function(){
$("#confirm_box").
Então para vc colocar o evento para funcionar apenas 1x p/ cada
elemneto utilize a funcao once, tipo $(".image).once(function(){
alert('Urrul'); }) mas axo que não é isso que vc quer, axoq eh isso
> > > $(".delete").bind('click', function(e){
> > > var _id = $(this).attr(
Ae brazuca naum sei do resto mas sei que vc esta errando aqui
var id = $(this).attr("id_delete")
The attr method catch or set a the value of the jq object.
Try this
var id = $(this).attr("id")
On 10/25/07, Jimmy Neph <[EMAIL PROTECTED]> wrote:
> This is the code:
> $(".delete").click(f
This is the code:
$(".delete").click(function(e){
var id = $(this).attr("id_delete")
$("#confirm_box").css({left: e.pageX-453, top: e.pageY})
$("#confirm_box").fadeIn(300);
$("#del_nao").click(function(){
$("#confirm_box").fade
Can you post a simple page that demonstrates the problem?
It's easier to debug that way.
Glen
On 10/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi there friends!!!
>
> I'm having problems with a code here using AJAX on Jquery.
> When I do only one click in my object, it works fine,
5 matches
Mail list logo