[jQuery] Re: Does IE support live?

2009-07-31 Thread Carlo
Hi, live does not support the 'change' event yet, read here : http://docs.jquery.com/Events/live it works on some browsers (FF) but not on all, IE does not fire the event. Using the livequery script could solve the problem: $('#jump').livequery(function() { $(this).change(function() {

[jQuery] Re: jquery ui dialog get element from button

2009-07-24 Thread Carlo Landmeter
Hi Mike, Yes its working now. Now that i understand that part and looked at the api again i saw: Get or set the buttons option, after init. Glad I get that fixed. Thanks for your help! I think if i play more with jquery things get easier for me to understand. Carlo On Fri, Jul 24, 2009 at 2

[jQuery] Re: jquery ui dialog get element from button

2009-07-22 Thread Carlo Landmeter
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

[jQuery] Re: jquery ui dialog get element from button

2009-07-21 Thread Carlo Landmeter
ialog").text("Attention"); var message = "You are about to do something: "; $(".ui-dialog-content").text(message + $(this).attr("id")); var somevar = $(this).attr("id"); $

[jQuery] Re: jquery ui dialog get element from button

2009-07-18 Thread Carlo Landmeter
Thanks for tip for my vars. I have tried the code you provided but this does not work. When i click my delete button it will complain that "somevar" is not set. So i guess it means the dialog function is run before the somevar variable is set. Anyway arround this? carlo On Fri, Jul 1

[jQuery] Re: jquery ui dialog get element from button

2009-07-17 Thread Carlo Landmeter
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

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Carlo Landmeter
y its content with your suggested code. Now I still want to find if i can also load a page with ajax (load) instead of a local div. Thx again, Carlo code: $(document).ready(function(){ $("#dialog").dialog({ autoOpen:false, modal:true, overlay: {backgroundColor: &quo

[jQuery] jquery ui dialog get element from button

2009-07-16 Thread Carlo Landmeter
problem is when i do this and close the dialog i cannot enable the dialog anymore. I guess this is why they have the .dialog("open"). Is there a way i can achieve what I'm trying to do here? Maybe there is a better way of doing this? Tia, Carlo code: $(document).ready(function(

[jQuery] Validation callback for a single DIV validation

2009-06-13 Thread Carlo
Hi all I have to perform validation on a single DIV without a submit. Also I need to catch the validation success or failure to handle them. In all validation plugin examples I've found code like: submitHandler: function(form) { alert('valid'); }, invalidHandler: function(form

[jQuery] Problem Containts for select words

2009-04-08 Thread Jean Carlo
I am using the function to search for words in containts TR. I have three words well (Sunday and Monday, Sunday and Monday and Sunday) Only is selected and the second Saturday and Sunday and Monday. I was also selected to Sunday but could not. Thanks to All Im using$('table#horario tbody

[jQuery] Re: Best way to do this for multiple input fields?

2008-12-19 Thread Carlo Landmeter
jQuery.each#examples and tried to create a var like this: var foobar = 'input#item' + i; This didn't seem to do the trick for all vars in my code below. Does somebody have an example of how i could do this? Thx, Carlo On Fri, Dec 19, 2008 at 2:14 AM, MorningZ wrote: > >

[jQuery] Best way to do this for multiple input fields?

2008-12-18 Thread Carlo Landmeter
nput#item1 input#item2 input#item3 . What would be the best way to create this with jquery so i can adjust a single var to create if for x items? Thx, Carlo $(document).ready(function(){ $("span#check0").click(function(event){ $("input#item0").ajaxStart(func