ete": function() {window.location = "/home/"+
> $(this).attr
> ("id") ;},
> "Cancel": function() {$(this).dialog("close");}
> });
>
> $("#dialog").dialog("open");
>
Sorry i forgot to add it.
The button is placed before the dialog div.
Carlo
On Tue, Jul 21, 2009 at 2:43 PM, Mean Mike wrote:
>
> Carlo buddy where is the button with the id that your looking for ?
>
> On Jul 21, 5:06 am, Carlo Landmeter wrote:
>> I'm not able to se
("#dialog").dialog("open");
});
});
Then somewhere at the end of the page I have:
Hope this helps.
Carlo
On Mon, Jul 20, 2009 at 9:11 PM, Mean Mike wrote:
>
> can I see the html that goes with this code ?
>
> On Jul 18, 4:48 am, Carlo Landmeter
essage = "You are about to do something: ";
> $(".ui-dialog-content").text($message + $(this).attr("id"));
> var somevar = $(this).attr("id");
> $("#dialog").dialog("open");
> });
> });
> [/code]
ui-dialog-title-dialog").text("Attention");
var $message = "You are about to do something: ";
$(".ui-dialog-content").text($message + $(this).attr("id"));
var $somevar = $(this).attr("id");
});
});
On Fri, Jul 17, 2009 at 1:14 AM, Ch
t; $('#dialog').dialog('open');
> });
>
> $("#dialog").dialog({
> autoOpen:false,
> modal:true,
> overlay: {backgroundColor: "#000",opacity: 0.5},
> resizable:false,
> butto
Hi,
I have probably a simple question which i cannot seem to find the
answer to.
I have a series of images which i want to use as buttons to trigger a
dialog. Inside this dialog i need the ID of the image button (or any
other element). But it seems after I load the dialog i cannot alter
the conte
I'm not 100% clear on what you are trying to accomplish
>
> but you can select items by what an attribute "starts with"
>
> http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue
>
> so
>
> $("input[id^='item']")
>
&
Hi,
I'm trying to create a form with multiple input fields. These fields should
have a button to be able to check its content with .ajax.
I am able to create this function for a single field, but i don't know what
the best way would be to do it for multiple input fields:
input#item0
input#item1
i
9 matches
Mail list logo